max value with multiple condition

faizee

Board Regular
Joined
Jan 28, 2009
Messages
213
Office Version
  1. 2016
Platform
  1. Windows
S#NameDateMonthYearsale
1john01Feb2012234343
2zeeshan02Feb20122343
3faizan06Mar20129898
4jawed04Mar20122222
5ahsan08Apr20129000
6ahsan05Mar2012222
7faizan03Feb201211111
8faizan03Apr201239434
9faizan03Apr20129832943
Max value with the following conditions
Name: Faizan
Date: 3
Month: Apr
Year: 2012

<colgroup><col style="width:48pt" span="7" width="64"> </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"
S#NameDateMonthYearsale
1john01Feb2012234343
2zeeshan02Feb20122343
3faizan06Mar20129898
4jawed04Mar20122222
5ahsan08Apr20129000
6ahsan05Mar2012222
7faizan03Feb201211111
8faizan03Apr201239434
9faizan03Apr20129832943
Max value with the following conditions
Name: Faizan
Date: 3
Month: Apr
Year: 2012

<tbody>
</tbody>

S#NameDateMonthYearsaleName:Faizan
1john1Feb2012234343Date:3
2zeeshan2Feb20122343Month:Apr
3faizan6Mar20129898Year:2012
4jawed4Mar201222229832943
5ahsan8Apr20129000
6ahsan5Mar2012222
7faizan3Feb201211111
8faizan3Apr201239434
9faizan3Apr20129832943

<tbody>
</tbody>


I5, control+shift+enter, not just enter:
Rich (BB code):
=MAX(
   IF($B$2:$B$10=I1,
   IF($C$2:$C$10=I2,
   IF($D$2:$D$10=I3,
   IF($E$2:$E$10=I4,
    $F$2:$F$10)))))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,782
Messages
6,121,532
Members
449,037
Latest member
tmmotairi

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