Conditional formula

J

john

I'm sure this is simple, but I cannot seem to wrap my mind around it. This
is what I have:

COLUMNS:
F H I J

ROW 1: .5 .5 1 1
ROW 2: 1 1 2 1
ROW 3: .5 .5 1 MO
ROW 4: 2 X 2 1

I need some kind of formula that will calclulate (for example) if F1+H1 is
equal to I1*J1, then highlight I1 and/or J1 if it is not.
 
B

Bernard Liengme

Select the I cells to be tested and in conditional format use this formula:
=F1+H1=I1*J1
set actual format as needed
Select the J cells to be tested and in conditional format use this formula:
=IF(ISERROR(F1+H1<>I1*J1),TRUE,IF(F1+H1<>I1*J1,TRUE,FALSE))
set actual format as needed
best wishes
 
J

john

THANK YOU THANK YOU THANK YOU!!! That worked!!

Bernard Liengme said:
Select the I cells to be tested and in conditional format use this formula:
=F1+H1=I1*J1
set actual format as needed
Select the J cells to be tested and in conditional format use this formula:
=IF(ISERROR(F1+H1<>I1*J1),TRUE,IF(F1+H1<>I1*J1,TRUE,FALSE))
set actual format as needed
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email
 

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