Find Max value

mdileep

Board Regular
Joined
Dec 8, 2019
Messages
54
Office Version
  1. 2007
Platform
  1. Windows
  2. Mobile
Kindly help me with the following scenarios,
Some values in cell range a1 to a 10 and same as b1 to b10.
I want the max value of cell a1 to a10 but exclude corresponding value in cell b1 to b10 is blank.
A B
12. 15
19 --
18 12
Desire answer 18
Sorry to say but with excel 2007
Thanks.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
How about
Excel Formula:
=AGGREGATE(14,6,A1:A10/(B1:B10<>""),1)
 
Upvote 0
I cannot test this because I do not have your version of Excel, but I think this formula should work but you may have to commit it using CTRL+SHIFT+ENTER and not just Enter by itself (of course, change the ranges to match your actual data locations)...

=MAX(IF(B1:B3="",0,A1:A3))
 
Upvote 0
Solution
I cannot test this because I do not have your version of Excel, but I think this formula should work but you may have to commit it using CTRL+SHIFT+ENTER and not just Enter by itself (of course, change the ranges to match your actual data locations)...

=MAX(IF(B1:B3="",0,A1:A3))
 
Upvote 0
I cannot test this because I do not have your version of Excel, but I think this formula should work but you may have to commit it using CTRL+SHIFT+ENTER and not just Enter by itself (of course, change the ranges to match your actual data locations)...

=MAX(IF(B1:B3="",0,A1:A3))
Tested and found OK, Thanks bro...
 
Upvote 0

Forum statistics

Threads
1,215,222
Messages
6,123,709
Members
449,118
Latest member
MichealRed

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