combining two ranges created using "Unique" into one range

Peter Davison

Active Member
Joined
Jun 4, 2020
Messages
444
Office Version
  1. 365
Platform
  1. Windows
I have a range in Sheet 1 column A that has been achieved using the =Unique function drawing from a list in Column A Sheet 3 (variable length) in the workbook
I also have a range in Column A Sheet 2. (Variable length)
I want the range in Column A Sheet 1 to be a list of both Column A Sheet 3 and Column A Sheet 2 to form one range in Column A Sheet 1
Is this possible still using =Unique?
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
How about
Excel Formula:
=LET(a,Sheet2!A2:A1000,b,Sheet3!A2:A1000,ra,ROWS(a),s,SEQUENCE(ra+ROWS(b)),I,IF(s<=ra,INDEX(a,s),INDEX(b,s-ra)),UNIQUE(FILTER(I,I<>0)))
 
Upvote 0
Solution
Wow that is perfect.
I've never used the let function before
You are a star
Thanks so much
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,465
Messages
6,124,975
Members
449,200
Latest member
Jamil ahmed

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