Order

Leonidas75

Board Regular
Joined
May 12, 2015
Messages
52
Hello

I am trying to get Top 5 sales between 2 dates such as : 1st October - 31st October

Excel tabs are as follows:

Salesperson - Sales - Date
John - 15 - 2nd October
Mary - 17 - 5th October
Steve - 10 - 17th October
Michelle - 11 - 23rd October
Gary - 22 - 15th October
James - 18 - 12th October

I don't want to use the rank function as the underlying data is extensive (above is just an example) and the months will be dynamic as well.

I was trying to use the LARGE function with multiple criteria without success (getting #num result) even when I change to array.

Ideally want to see the results in order = 22, 18, 17, 15, 11 and from there I will place index matches on salesperson and other required fields.

Assistance would be appreciated
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
I am trying to get Top 5 sales between 2 dates such as : 1st October - 31st October

Hi, can you make use of something like this?


Excel 2013/2016
ABCDE
1SalespersonSalesDateFormula
2John1502-Oct22
3Mary1705-Oct18
4Steve1017-Oct17
5Michelle1123-Oct15
6Gary2215-Oct11
7James1812-Oct
Sheet1
Cell Formulas
RangeFormula
E2=AGGREGATE(14,6,$B$2:$B$7/(TEXT($C$2:$C$7,"MMMYYYY")="OCT2017"),ROWS(E$1:E1))



from there I will place index matches on salesperson and other required fields.

Beware of duplicates if it's possible they might exist.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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