Looking formula which can bring highest value against specific number from multiple lines as shown below

Babar Razzaq

New Member
Joined
Apr 7, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
DateFleet#Hour Meter
Fleet​
Values​
Thu, Mar 23, 2023​
1​
1​
39646​
Thu, Mar 23, 2023​
1​
2​
41526​
Thu, Mar 23, 2023​
1​
and so on​
Fri, Mar 24, 2023​
1​
Fri, Mar 24, 2023​
1​
Fri, Mar 24, 2023​
1​
Sat, Mar 25, 2023​
1​
39583​
Sun, Mar 26, 2023​
1​
39592​
Mon, Mar 27, 2023​
1​
39604​
Mon, Mar 27, 2023​
1​
39615​
Tue, Mar 28, 2023​
1​
Wed, Mar 29, 2023​
1​
39625​
Thu, Mar 30, 2023​
1​
39635​
Fri, Mar 31, 2023​
1​
39646​
Fri, Mar 24, 2023​
2​
41500​
Sat, Mar 25, 2023​
2​
41514​
Sat, Mar 25, 2023​
2​
41506​
Mon, Mar 27, 2023​
2​
41526​
 

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).
Try:
Book2
ABCDEFG
1DateFleet#Hour MeterFleetValues
2Thu, Mar 23, 20231139646
3Thu, Mar 23, 20231241526
4Thu, Mar 23, 20231and so on
5Fri, Mar 24, 20231
6Fri, Mar 24, 20231
7Fri, Mar 24, 20231
8Sat, Mar 25, 2023139583
9Sun, Mar 26, 2023139592
10Mon, Mar 27, 2023139604
11Mon, Mar 27, 2023139615
12Tue, Mar 28, 20231
13Wed, Mar 29, 2023139625
14Thu, Mar 30, 2023139635
15Fri, Mar 31, 2023139646
16Fri, Mar 24, 2023241500
17Sat, Mar 25, 2023241514
18Sat, Mar 25, 2023241506
19Mon, Mar 27, 2023241526
Sheet1
Cell Formulas
RangeFormula
G2:G3G2=MAXIFS(C2:C19,B2:B19,F2)
 
Upvote 0
In the formula above you need to lock the cells.
MAXIFS($C$2:$C$19,$B$2:$B$19,F2)
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,213
Members
452,618
Latest member
Tam84

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