Forum Discussion
Join two spill ranges to one range with two columns
Hi community
I would like to join two spill ranges into one range with two columns but cannot figure out how to do it. What I would like is the new range below. I believe it is what HSTACK() does but I do not have access to O365 yet through my corporate Excel.
Any solution to this?
Thanks!
For this task you can also use the CHOOSE() function in older Excel versions.
=CHOOSE({1,2},E4:E6,G4:G6)
In cases where your Range 1 = E4:E6 and Range 2 = G4:G6.
In older versions of Excel you have to finish this with CTRL + SHIFT + ENTER as an array formula.
12 Replies
- mlylylyCopper ContributorThanks, I used dscheikey's version, worked like a charm!
- Patrick2788Silver Contributor
If you're looking to join two spills, then you most likely have 365 but without HSTACK (Possibly on Semi-Annual channel). This might work in your version.
=IF({1,0},A1#,C1#)
- mlylylyCopper Contributor
Both of your solutions work but I have to expand it to joining to arrays with multiple columns, do you have a solution for that?
I tried a simple expansion of both of your formulas but either seem to work.
Thanks in advance!
P.s., yes I have 365 but without HSTACK due to semi-annual channel, you're right
- dscheikeyBronze Contributor
For this task you can also use the CHOOSE() function in older Excel versions.
=CHOOSE({1,2},E4:E6,G4:G6)
In cases where your Range 1 = E4:E6 and Range 2 = G4:G6.
In older versions of Excel you have to finish this with CTRL + SHIFT + ENTER as an array formula.