TOCOL and Unique on non adjacent ranges of data

Mark McInerney

Active Member
Joined
Apr 4, 2012
Messages
266
Office Version
  1. 365
Platform
  1. Windows
Hi All - Thanks in advance for looking at this - appreciated.

I have two ranges of data on separate sheets - a1:a2500 on one sheet and a1:a7500 on another sheet - is it possible to combine a TOCOL and Unique formula that will return the unique values from both columns?

Thanks - Mark.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
How about
Excel Formula:
=UNIQUE(TOCOL(VSTACK(Sheet1!A1:A2500,Sheet2!A1:A7500),1))
 
Upvote 0
Hi Fluff (Thanks - you've always been supportive on this forum ),

Is it possible to link the range reference to the last cell in that range rather than specifically referencing a set range?
 
Upvote 0
Is it possible to link the range reference to the last cell in that range rather than specifically referencing a set range?
As long as the the other cells are empty there is no need as the tocol will remove any empty cells.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,477
Messages
6,125,038
Members
449,205
Latest member
Eggy66

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