98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel Training and help » IF statements
IF statements
Resolved · Low Priority · Version 2010
Andrew has attended:
Excel Advanced course
IF statements
Can you please detail the layout of how a formula should be written, i.e. what cell should be referneced where, what written text should be inserted where, use of comas etc.
RE: IF statements
Hello Andrew,
Hope you enjoyed your Microsoft Excel Advanced course with Best STL.
Thank you for your question regarding IF statements.
Unfortunately, the IF function can be used in thousands of different ways depending on what the logical test is.
The Syntax of the IF statement begins with IF( then the 'Logical Test' is entered followed by a comma. After the first comma you would insert a value which is applied to the cell where the formula is written only if the logical test is TRUE.
After this value add a second comma. After the second comma you would insert a value which is applied to the cell where the formula is written only if the logical test is FALSE.
Add a closing bracket and the formula is complete.
Here is an example: -
=IF(A1>10,"Over 10","10 or less") returns "Over 10" if A1 is greater than 10, and "10 or less" if A1 is less than or equal to 10
The Syntax is as follows: -
IF(logical_test, [value_if_true], [value_if_false])
I hope this resolves your question. If it has, please mark this question as resolved.
If you require further assistance, please reply to this post. Or perhaps you have another Microsoft Office question?
Have a great day.
Regards,
Rodney
Microsoft Office Specialist Trainer
Training information:
See also:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Hide columns in an Excel 2010 WorksheetIf you don’t want part of the Excel worksheet to be visible or when you don’t want certain data to appear in print outs, then a simple solution is to temporarily hide a column or multiple columns. |