Hi Guil,
Where are u putting this formula?
If ur putting this in P21 then the syntax should be
If(Logical_test,value_if_true,value_if_false). Note value_if_true and
Value_if_false mean that u shud just put the values not the cell addresses.
If ur putting this in a cell other than P21 then AFAIK it will evaluate to
FALSE always (Unless P21 already had 27 as value) To better understand it u
might use Tools, Show formula auditing toolbar and then evaluate formula.
This will give u step by step evaluation. For example suppose in cell D22 I
write the formula =IF(D21="",E20=4,G20=5) where D21, E20 and G20 are all
empty cells then formula will evaluate to false.But suppose E20 and G20
already had the values 4 and 5 respectively then it will evaluate as False.
Regards,
Hari
India