Help with building a formula

zinah

Active Member
Joined
Nov 28, 2018
Messages
353
Office Version
  1. 365
Platform
  1. Windows
Hi,

I'm wondering if someone can help me with building the right formula that can accomplish below scenario:

I have drop-down list that has Regions, each location has multiple Division. What I want is when I choose one of the regions, the multiple divisions will pop out. Here's the tricky part, each region doesn't necessarily to have the same number of divisions. How can I accomplish that?

Below screenshot can help with what I need to accomplish.
 

Attachments

  • 2020-06-23 12_09_32-FILTER_Function_Example.xlsx - Excel.png
    2020-06-23 12_09_32-FILTER_Function_Example.xlsx - Excel.png
    36 KB · Views: 8

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
What version of Excel are you using?
Please update your account details to show this, as it affects what functions are available to you.
 
Upvote 0
What version of Excel are you using?
Please update your account details to show this, as it affects what functions are available to you.
Sorry, I missed it, it's Office 365 and I wish I have newer as I saw new function which is Filter that can help me accomplishing my task.
 
Upvote 0
Are you saying that you don't have the Filter function yet?

Also please remember to update your account details. ;)
 
Upvote 0
Are you saying that you don't have the Filter function yet?

Also please remember to update your account details. ;)
No I don't have this magical function :confused: and I just updated my account details :cool:
Is there any way you can help?
 
Upvote 0
Oh, well you should get the new functions in a few weeks.
In the mean time how about
+Fluff New.xlsm
ABCDEFGHI
1
2DivisionRegionRevenueRegionSouth America
3UtilityNorth America34,604
4UtilitySouth America18,197UtilitySouth America18,197
5UtilityAsia44,475ProductivitySouth America46,790
6UtilityEurope26,675GameSouth America46,273
7UtilityAustralia31,542   
8ProductivityNorth America18,959   
9ProductivitySouth America46,790
10ProductivityAsia42,672
11ProductivityEurope19,351
12ProductivityAustralia44,021
13GameNorth America11,150
14GameSouth America46,273
15GameAsia44,414
16GameEurope34,955
17
18
19
Input
Cell Formulas
RangeFormula
F4:H8F4=IFERROR(INDEX(A$3:A$50,AGGREGATE(15,6,(ROW($B$3:$B$50)-ROW($B$3)+1)/($B$3:$B$50=$G$2),ROWS(F$4:F4))),"")
Cells with Data Validation
CellAllowCriteria
G2List=$B$3:$B$7
 
Upvote 0
Oh, well you should get the new functions in a few weeks.
In the mean time how about
+Fluff New.xlsm
ABCDEFGHI
1
2DivisionRegionRevenueRegionSouth America
3UtilityNorth America34,604
4UtilitySouth America18,197UtilitySouth America18,197
5UtilityAsia44,475ProductivitySouth America46,790
6UtilityEurope26,675GameSouth America46,273
7UtilityAustralia31,542   
8ProductivityNorth America18,959   
9ProductivitySouth America46,790
10ProductivityAsia42,672
11ProductivityEurope19,351
12ProductivityAustralia44,021
13GameNorth America11,150
14GameSouth America46,273
15GameAsia44,414
16GameEurope34,955
17
18
19
Input
Cell Formulas
RangeFormula
F4:H8F4=IFERROR(INDEX(A$3:A$50,AGGREGATE(15,6,(ROW($B$3:$B$50)-ROW($B$3)+1)/($B$3:$B$50=$G$2),ROWS(F$4:F4))),"")
Cells with Data Validation
CellAllowCriteria
G2List=$B$3:$B$7
I really look forward to get the new functions as they are really helpful! Thank you for your help, a favor though, I'm trying to understand the syntax of the Aggregate function and couldn't understand the (15,6) is 15 stand for number of rows?
 
Upvote 0
15 means small & 6 means ignore errors.
Have a look here
 
Upvote 0
15 means small & 6 means ignore errors.
Have a look here
Thank you SO MUCH! You're the best!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,986
Messages
6,122,611
Members
449,090
Latest member
vivek chauhan

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