Top 5 based on selection from drop down - index/match??

thedudelord

New Member
Joined
May 9, 2019
Messages
2
Hi,

I have my workbook set up to show a separate worksheet for each city. The representative from each city will go into their own city worksheet and select their city from a drop down list. When the city is selected, I need to bring in top 5 past due invoices for that city - data set is on a hidden worksheet. Any ideas on how to do this with a formula? I've scoured the internet and cannot find anything. Thank you!

City worksheet:
Drop Down = Atlanta

Need to bring in top 5 instances (highest to lowest Past Due amount) to show:
Cell C53:C57 = Customer #
Cell D53:D57 = Customer Name
F53:F57 = # of past due invoices
G53:G57 = Past Due Amount

Data Worksheet:
Column C = City Name
Column D = Customer #
Column E = Customer Name
Column L = # of Invoices
Column M = Past Due Amount
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Try:
The formula in C53 is an array formula and must be entered with CTRL-SHIFT-ENTER. Then drag down.
The other formulas just use ENTER and drag or copy down.

Excel Workbook
ABCDEFG
48
49City
50Atlanta
51
52Customer #Customer Name# of InvoicesPast Due $
53Cust16Name1621589
54Cust12Name1251483
55Cust5Name541385
56Cust10Name1031348
57Cust4Name441118
City
Excel Workbook
CDEFKLM
1CityCustomer #Customer Name# of InvoicesPast Due $
2AtlantaCust1Name14227
3CharlotteCust2Name221144
4ChicagoCust3Name35906
5AtlantaCust4Name441118
6AtlantaCust5Name541385
7CharlotteCust6Name64229
8ChicagoCust7Name751704
9AtlantaCust8Name82583
10CharlotteCust9Name93630
11AtlantaCust10Name1031348
12ChicagoCust11Name1121087
13AtlantaCust12Name1251483
14CharlotteCust13Name1321553
15AtlantaCust14Name1421056
16CharlotteCust15Name1521658
17AtlantaCust16Name1621589
18CharlotteCust17Name172588
19ChicagoCust18Name18455
Data
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,219
Members
452,619
Latest member
Shiv1198

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