J
joeu2004
I would appreciate any ideas or comments to assit me in locating the correct
formula.
In general, use the Evaluate Formula to step through the evaluation.
Tools -> Formula Auditing -> Evaluate Formula.
Status can be: FT or PT or CN;
IF FT =>1 they receive 5 days family leave.
IF FT <1 they rec 3 days.
IF PT >2 they rec 3 days.
all else 0.
my formula is:
=IF(OR(B6="FT",B6="PT"),IF(AND(C6>=5,C6<1,5,3),IF(C6>2,3,0)),"")
You have some misplaced right-parentheses. Unfortunately, the syntax
is legal; but the resulting logic does not make sense. Even if you
correct the syntax error (which might simply be typos in your
posting), I believe your attempt to simplify the logical terms is
faulty. Try the following:
=if(b6="FT", if(C6<1, 3, 5), if(and(b6="PT",C6>2), 3, 0))