"If-Then-Else" in Excel Cells

C

Chiller

Jim
I always try and read the commas in if statments as,
IF(x ,"then" y ,"else" z), here all else = is "n/a"

so formulea =

=IF(F2="BZ",COS(J2*PI()/180)*10000+E2,IF(F2="BF",' Cos
(J2 * Pi() / 180) * 10000 + E2',IF(F2="PF",COS(J2*PI()/180)
*10000-E2,IF(F2="PZ",' Cos (J2 * Pi() / 180) * 10000 -
E2',"n/a"))))

should work
Chiller
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top