Assignment 4
IF FUNCTION👇👇
The IF function is one of the most popular functions in Excel, and it allows you to make logical comparisons between a value and what you expect.
So an IF statement can have two results. The first result is if your comparison is True, the second if your comparison is False.
1. Insert an IF function
You can open a new Excel spreadsheet, decide where you want to see the result and click on that cell. Next, click the 'fx' button to bring up the function wizard and select the IF function. You can click the ‘OK' button.
2. Create a logical test
The next step is to decide on the condition you want to evaluate in Excel and enter it in the 'logical_test' field.
3. Customise 'value_if_true'
The next field is 'value_if_true' and it is optional. You can leave it blank by writing "" into the field space. If you leave it blank and the condition is true, Excel generates a blank result.
4. Customise 'value_if_false'
In Excel, the 'value_if_false' field designates a value if the condition is false. Otherwise, it is the same as the 'value_if_true' field.
5. Click ‘OK'
After entering data into the fields of 'logical_test,' 'value_if_true' and 'value_if_false,' click the 'OK' button. Check if the function has produced an accurate result.
RESULT :


Comments
Post a Comment