IF then formula

  • Thread starter Thread starter keith
  • Start date Start date
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.
 
Better (supresses error in find):

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