microsoft office training excess - if statements and nested
RH

Forum home » Delegate support and help forum » Microsoft Excel Training and help » microsoft office training excess - IF statements and nested formulas

microsoft office training excess - IF statements and nested formulas

resolvedResolved · Low Priority · Version Standard

Carole has attended:
Excel Advanced course

IF statements and nested formulas

Can you explain how if statements and nested formulas are used?

RE: if statements and nested formulas

The IF function is based on a true or false situation, for example

=IF(A1>100, "Above target", "Under target")

dependent on whether the first condition (A1>100) is true the function will reveal the word Above target, and if is not true it will reveal the word Under target.

You have to put speech marks in if you want to reveal text, however if you want to put numbers you can leave the speech marks out.

For example

=IF(A1<1000, 20, 10)

So this would be interpreted as if the contents of A1 were less than 1000 it will give the number 20(i.e if the condition A1<1000 were true), if not it will give the answer 10.

How you deal with nested IF statements is similar.

for example =IF(A1<50, "Fail", IF(A1<60, "Pass", IF(A1<70, "Merit", IF(A1<80, "Distinction"))))

the key is to keep the bracket open till the end, also make sure your conditions are in order, so that if the first condition is not met it is logical to go on the next.

Hope that helps, if there is anything specific you need to know get back to me

Thanks

Tracy


Server loaded in 0.06 secs.