Using UNIQUE & FILTER with SPILL ranges

drluke

Active Member
Joined
Apr 17, 2014
Messages
314
Office Version
  1. 365
Platform
  1. Windows
My data is arranged in columns as in A & B below. I am attempting to extract a list based on the name as shown in D & E below. I am using UNIQUE and FILTER functions to extract the data, but what I cannot figure out is how to take the spill range of e.g. Name 1 into consideration in my formula before Name 2 is returned with it's list. Essentially how to skip over rows 2-5 in coumn D and place Name 2 in row 6.

Book1
ABCDEF
1NameReferenceName 1Ref 1
2Name 1Ref 1Ref 10
3Name 2Ref 8Ref 12
4Name 3Ref 2Ref 9
5Name 1Ref 10Ref 4
6Name 2Ref 6Name 2Ref 8
7Name 1Ref 12Ref 6
8Name 3Ref 3Ref 13
9Name 2Ref 13Ref 11
10Name 1Ref 9
11Name 3Ref 7
12Name 2Ref 11
13Name 1Ref 4
14Name 3Ref 5
15
Sheet1
Cell Formulas
RangeFormula
E1:E5E1=FILTER(B2:B14,A2:A14=D1)
E6:E9E6=FILTER(B2:B14,A2:A14=D6)
Dynamic array formulas.


Any advice appreciated.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Unable to see your data. Use a range in your excel sheet that you want to share and click Mini Sheet to copy
 
Upvote 0
I did that already. Here it is again.

Book1
ABCDEF
1NameReferenceName 1Ref 1
2Name 1Ref 1Ref 10
3Name 2Ref 8Ref 12
4Name 3Ref 2Ref 9
5Name 1Ref 10Ref 4
6Name 2Ref 6Name 2Ref 8
7Name 1Ref 12Ref 6
8Name 3Ref 3Ref 13
9Name 2Ref 13Ref 11
10Name 1Ref 9
11Name 3Ref 7
12Name 2Ref 11
13Name 1Ref 4
14Name 3Ref 5
15
Sheet1
Cell Formulas
RangeFormula
E1:E5E1=FILTER(B2:B14,A2:A14=D1)
E6:E9E6=FILTER(B2:B14,A2:A14=D6)
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,215,219
Messages
6,123,690
Members
449,117
Latest member
Aaagu

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