IF then formula

K

keith

Im working on a formula that I need to do the following:

Look at cell B98 and if that cell has a "X" in it do the
following.

Add cells AM98+AN98 if the total is 0 or less put a X in
the Cell.

I think that I'm close.

=IF B97=X then(SUM($AM98+$AN98<=0),"X"," "))

Thanks for any Help
Keith.
 
B

Bob Kilmer

Better (supresses error in find):

=IF(NOT(ISERR(FIND("X",UPPER(B98)))),IF(SUM($AM98,$AN98)<=0,"X"," "),"")
 

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