how to extract unique list from two columns

I have column A in sheet1 and Column A in Sheet2

in sheet3 Column A i want to list unique list of all values that exists in Sheet1 ColA and Sheet2 ColA

please see attached.
EE.xlsx
LVL 3
excelismagicAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ShumsDistinguished Expert - 2017Commented:
Create two named range list with below formula:
List1
=OFFSET(Sheet1!$A$1,0,0,COUNTA(Sheet1!$A:$A))

Open in new window

List2
=OFFSET(Sheet2!$A$1,0,0,COUNTA(Sheet2!$A:$A))

Open in new window

In Sheet3 B2 enter below Array Formula, confirmed with Ctrl+Shift+Enter:
=IFERROR(IFERROR(INDEX(List1,MATCH(0,COUNTIF($B$1:B1,List1),0)),INDEX(List2,MATCH(0,COUNTIF($B$1:B1,List2),0))),"")

Open in new window

EE_3.xlsx
0
excelismagicAuthor Commented:
thanks Shams
but there is one problem with the solution. why should i have an empty row above sheet3? cannot i have it the way i portrayed it?
0
excelismagicAuthor Commented:
COLUMNA is not a value it is a header
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

ShumsDistinguished Expert - 2017Commented:
Corrected....
EE_4.xlsx
0
excelismagicAuthor Commented:
sorry both of the answers are incorrect. when i drag down the formula it also lists the values that are not in common.
0
excelismagicAuthor Commented:
if you drag your formula down, why does it list the values that are not common between both columns?
0
ShumsDistinguished Expert - 2017Commented:
Have checked in corrected sheet?
EE_4.xlsx
0
ProfessorJimJamMicrosoft Excel ExpertCommented:
try this one when you want to list only those values that are common between two columns

=IFERROR(INDEX(List1, SMALL(IF(COUNTIF(List2, List1), MATCH(ROW(List1),ROW(List1)), ""), ROWS($A$1:A1))),"")

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ShumsDistinguished Expert - 2017Commented:
The corrected method:
List1 NamedRange Formula:
=OFFSET(Sheet1!$A$2, 0, 0, COUNTA(Sheet1!$A$2:$A$1001))

Open in new window

List2 NamedRange Formula:
=OFFSET(Sheet2!$A$2, 0, 0, COUNTA(Sheet2!$A$2:$A$1001))

Open in new window

Array Formula for Unique List for both the list:
=IFERROR(IFERROR(INDEX(List1,MATCH(0,COUNTIF($B$1:B1,List1),0)),INDEX(List2,MATCH(0,COUNTIF($B$1:B1,List2),0))),"")

Open in new window

Please find attached....where I have checker formula to check unique list. which is 42 in your case...
EE_Unique-list-multiple-Sheets.xlsx
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Office

From novice to tech pro — start learning today.