"Greater than" > rersults

nighttrain20

New Member
Joined
Nov 18, 2006
Messages
15
Hello,

I thought I had this worked out.

I am trying to get the points in cell C4 to show up in z3 IF "H4-20"or "J4-14" which in this case is H4-20, to show up in cell "Z3" =IF(H4>J4,C4,O4) This formula is located in Cell "Z3"

But without a score put in h4 or J4 it will show "O4'S 90" in "Z3"...I need it to remain blank until a score is put in the cell

Example below.

"C4" "H4" "J4" "O4"

30 Tampa Bay 20 14 Carolina 90

I HOPE I EXPLAINED IT CORRECT.

THANKS,

tONY
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Maybe
=IF(OR(H4="", J4=""),"",if(H4>J4,C4,O4))
 
Last edited:
Upvote 0
Thanks for the quick response.

That created the word "true" to appear in the cell. I wanted the number from C4 to appear if its true...... if not true a zero to appear .
 
Upvote 0
With that formula if either H4 or J4 are blank Z4 will be blank, otherwise Z4 will display either C4 or O4 depending on which of H4 & J4 is greater.
I've put the formula in Q4 for convenience.


Book1
CHIJOPQ
43020149030
5301190
6301090
73014209090
Names
Cell Formulas
RangeFormula
Q4=IF(OR(H4="", J4=""),"",IF(H4>J4,C4,O4))
 
Upvote 0
Personally, I would use COUNT, but same principle:

=IF(COUNT(H4,J4)<2,"",IF(H4>J4,C4,O4))
 
Upvote 0

Forum statistics

Threads
1,214,516
Messages
6,119,978
Members
448,934
Latest member
audette89

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top