Top 10 Value in a date range with multiple criteria

conorrey

New Member
Joined
Sep 27, 2010
Messages
43
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have been trying to work out a formula to find a specific value in a large range of data.

I need to find our top 10 RES between a date range between another date range and return the RES number.

I will then use index match to get the whole row of date to create a top 10 list.

Below is the sample data with criteria.

I have tried using Max, Large and Aggregate formulas but I cannot add the date range. It just looks at the whole range

Any help would be great.

ArrivalRes #TOTALStatusCreated
01/09/202322356710000.00Waitlist02/01/2023
30/09/2023223597124.67Departed03/01/2023
03/01/2023223598232.60Departed03/04/2023
13/05/2023223625702.95Departed03/08/2023
05/01/2023223660423.35Departed03/11/2023
05/01/2023223663343.61Departed03/10/2023
29/03/20232237121938.33Cancelled20/11/2023
29/03/20232237135242.29Cancelled20/10/2023
15/09/2023223770435.78Waitlist21/01/2023
18/01/20232237711304.37Waitlist21/01/2023
10/01/202322378968.28Departed20/10/2023
08/03/20232237961794.36Departed07/12/2023
11/01/20232237970.00Departed06/11/2023
06/01/2023223799225.11Departed10/07/2023
18/09/20232238021473.12Cancelled20/01/2023
Created
01/01/2023​
30/04/2023​
Arrival
01/09/2023​
30/09/2023​
StatusWaitlist
TotalMaxTop 10
ResultColumn D
 
To sort on column L change the 3,-1 to 12,-1
 
Upvote 0

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,092
Messages
6,123,063
Members
449,090
Latest member
fragment

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