2 if statements

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a cell (cell C) that has an if statement in it. The statement is, if
cell A is greater than or equal to 15000 than this cell equals cell B. I also
want to put another if statement in that reads if cell B is greater than
15000 then this cell equals 15000.

=if(a1>=15000,b1,0)
=if(b1>=15000,15000,b1)

how can I put these 2 statements into 1 cell?
 
Depents on priorities of the decisions which is better for you:
=IF(A1>=15000;B1;IF(B1>15000;15000))
or
=IF(B1>15000;15000;IF(A1>=15000;B1))

You did not specify what if both A and B are less than 15000. Put that
after last argument.
 
Matthew,

Try this....

=IF(A3>=15000,IF(B3>=15000,15000,B3),0)

Is that what you are after ?
Donna
 

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

Back
Top