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?
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.

ShumsExcel & VBA ExpertCommented:
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
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?
excelismagicAuthor Commented:
COLUMNA is not a value it is a header
Ensure Business Longevity with As-A-Service

Using the as-a-service approach for your business model allows you to grow your revenue stream with new practice areas, without forcing you to part ways with existing clients just because they don’t fit the mold of your new service offerings.

ShumsExcel & VBA ExpertCommented:
Corrected....
EE_4.xlsx
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.
excelismagicAuthor Commented:
if you drag your formula down, why does it list the values that are not common between both columns?
ShumsExcel & VBA ExpertCommented:
Have checked in corrected sheet?
EE_4.xlsx
Professor JMicrosoft 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

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
ShumsExcel & VBA ExpertCommented:
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
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.