Anly Henry
New Member
- Joined
- Apr 15, 2023
- Messages
- 5
- Office Version
- 2013
- Platform
- Windows
I am really new to Excel formulas; I am trying to compare dynamic cells in a row for Maximum Value however if any of the cells which I am comparing has a text they return that text else return the maximum value.
Here is what I applied initially when I started =IF(AND(ISNUMBER(G4), ISNUMBER(I4)), MAX(G4, I4), IF(ISNUMBER(G4), I4, G4))… as you can see instead of considering an entire continuous range from G4:I4 I need to compare G4, I4, L4, N4, Q4, S4 and so on and get the result and if any of the above-mentioned cells has a text value let's say "UR" then return UR as final result else the maximum value of the above-mentioned cells.
Here is what I applied initially when I started =IF(AND(ISNUMBER(G4), ISNUMBER(I4)), MAX(G4, I4), IF(ISNUMBER(G4), I4, G4))… as you can see instead of considering an entire continuous range from G4:I4 I need to compare G4, I4, L4, N4, Q4, S4 and so on and get the result and if any of the above-mentioned cells has a text value let's say "UR" then return UR as final result else the maximum value of the above-mentioned cells.