Formula required to get highest value from a range

hsandeep

Well-known Member
Joined
Dec 6, 2008
Messages
1,215
Office Version
  1. 2010
Platform
  1. Windows
  2. Mobile
Input Range:C2:M2
By default C2:M2 is either 0 or “” (null)
Else positive integer

Formula required in A2: HIGHEST value from C2:M2
If ALL values in C2:M2=0, negative (less than 0) or null, A2 should be “” (null)
How to accomplish?
Thanks very much for your time given & help in advance.


ABCDEFGHIJKLM
2100 12125112151817181007

<colgroup><col style="FONT-WEIGHT: bold; WIDTH: 30px"><col style="WIDTH: 64px"><col style="WIDTH: 64px"><col style="WIDTH: 26px"><col style="WIDTH: 26px"><col style="WIDTH: 26px"><col style="WIDTH: 26px"><col style="WIDTH: 26px"><col style="WIDTH: 26px"><col style="WIDTH: 26px"><col style="WIDTH: 26px"><col style="WIDTH: 26px"><col style="WIDTH: 26px"><col style="WIDTH: 26px"></colgroup><tbody>
</tbody>
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Code:
=if(max(c2:m2)<=0,"",max(c2:m2))
 
Upvote 0

Forum statistics

Threads
1,215,575
Messages
6,125,620
Members
449,240
Latest member
lynnfromHGT

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