IF statement with multiple scenarios.

A

AMS

I am struggling with an IF statement...here's my situation:

I need the default value of a cell (C64) to be 8 as long as cells F24 and
F25 contain text "n". If F24 text is "y" (F25 will remain "n"), then I need
the value of C64 to be (8-I24). If the F25 text is "y" (F24 will remain
"n"), then the value of C64 must be (8+I25). Is this possible to do within
one cell?
 
B

bj

=if(f24="n",if(f25="n",8,8+I25),if(f5="n",8-I24,"neither f24 nor f25 = n"))
You did not say what to do if bothe are not "n"
 

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