Mulitple if function

J

jamalhakem

Hi
I have this problem
I have many conditions for if function
In C9 I have either “ok” or “not ok, if it is “ok” the cell h11 that
should be equal or greater than either 12, and if “not ok” the cell
h11 should be equal or greater than 9
I used (if) function and (and) function to check that if c9 is ok and
h11 is equal or greater than 12, then the result should be either =h11
or “bad”, but I can use if function to check if it is “not ok” and h11
equal or greater than 9, in the same formulae, is that possible to use
2 if functions in one formulae? Any help
if(and(C9="not
ok";and('H11>=9;H11;if(and(C9="ok";and(H11>=12;H11;"bad")))))
The message is too many arguments
Thanks in advance
Jam
 
B

Bob Phillips

=IF(C9="ok",IF(H11>=12,H11,"bad"),IF(H11>=9,H11,"bad"))

--
__________________________________
HTH

Bob

Hi
I have this problem
I have many conditions for if function
In C9 I have either “ok” or “not ok, if it is “ok” the cell h11 that
should be equal or greater than either 12, and if “not ok” the cell
h11 should be equal or greater than 9
I used (if) function and (and) function to check that if c9 is ok and
h11 is equal or greater than 12, then the result should be either =h11
or “bad”, but I can use if function to check if it is “not ok” and h11
equal or greater than 9, in the same formulae, is that possible to use
2 if functions in one formulae? Any help
if(and(C9="not
ok";and('H11>=9;H11;if(and(C9="ok";and(H11>=12;H11;"bad")))))
The message is too many arguments
Thanks in advance
Jam
 

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

Similar Threads


Top