Combine Spilled Array Columns

legalhustler

Well-known Member
Joined
Jun 5, 2014
Messages
1,168
Office Version
  1. 365
Platform
  1. Windows
I have a spilled array formula in cell C1 that returns the results below, but I want to take this result and combine both columns so I can use it in another function as a lookup value to another table. I can do this in a separate column but I would like a single cell formula. How do I amend my spilled array formula so it combines both columns? Note I don't have LAMBDA or LET in my Office 365 yet.

Column CColumn D
0110
0111
0112


I didn't want to confuse anyone but this is my spilled array formula in cell C1:

=UNIQUE(CHOOSE({1,2},RIGHT(FILTER(A1:B4395,XMATCH(RIGHT(A1:A4395,2),UNIQUE(RIGHT(A8:A4395,2)))*XMATCH(LEFT(B1:B4395,2),SORT(UNIQUE(LEFT(B1:B4395,2))))),2),LEFT(FILTER(A1:B4395,XMATCH(RIGHT(A1:A4395,2),UNIQUE(RIGHT(A1:A4395,2)))*XMATCH(LEFT(B1:B4395,2),SORT(UNIQUE(LEFT(B1:B4395,2))))),2)))

Desired spilled array result after combining both columns:

A1
0110
0111
0112
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Assuming your output is not going to Column A like your example indicates you want (formula in C1 is dependent on cell A1:A4395), try this formula in Row 1 of whatever column you actually use, and it should spill correctly...

=C1:C4395&D1:D4395
 
Upvote 0
Maybe
Excel Formula:
=UNIQUE(INDEX(RIGHT(FILTER(A1:B4395,XMATCH(RIGHT(A1:A4395,2),UNIQUE(RIGHT(A1:A4395,2)))*XMATCH(LEFT(B1:B4395,2),SORT(UNIQUE(LEFT(B1:B4395,2))))),2),,1)&INDEX(LEFT(FILTER(A1:B4395,XMATCH(RIGHT(A1:A4395,2),UNIQUE(RIGHT(A1:A4395,2)))*XMATCH(LEFT(B1:B4395,2),SORT(UNIQUE(LEFT(B1:B4395,2))))),2),,2))
 
Upvote 0
Solution
Maybe
Excel Formula:
=UNIQUE(INDEX(RIGHT(FILTER(A1:B4395,XMATCH(RIGHT(A1:A4395,2),UNIQUE(RIGHT(A1:A4395,2)))*XMATCH(LEFT(B1:B4395,2),SORT(UNIQUE(LEFT(B1:B4395,2))))),2),,1)&INDEX(LEFT(FILTER(A1:B4395,XMATCH(RIGHT(A1:A4395,2),UNIQUE(RIGHT(A1:A4395,2)))*XMATCH(LEFT(B1:B4395,2),SORT(UNIQUE(LEFT(B1:B4395,2))))),2),,2))
Perfect! Exactly what I was looking for. My original post shows the desired results with the header column A1, it should have said C1 since that's where the formula is and A1 and B1 is where the data is. Thank you!
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,738
Members
448,988
Latest member
BB_Unlv

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