## How To Get Unique Values From Two Columns In Excel || Excel Tips & Tricks || dptutorials

In this tutorial let us see How To Get Unique Values From Two Columns In Excel
One of our subscribers sunil kumar has asked a question on how to extract unique distinct list from two columns.
So we will see this in detail now.
Consider this example where I have two lists in columns B and C and let us extract the unique list in column E
Here, we would be using an array formula
So, I go to cell E3 and enter formula as =COUNTIF(\$E\$2:E2,\$B\$3:\$B\$10)=0
and press Ctrl+Shift+Enter to see the result as True.
Now divide 1 with the array, you will see the result as 1 for true condition
=1/(COUNTIF(\$E\$2:E2,\$B\$3:\$B\$10)=0)
Now, based on this, you need to get the return value from the array
So modify the formula like this
=LOOKUP(2, 1/(COUNTIF(\$E\$2:E2,\$B\$3:\$B\$10)=0), \$B\$3:\$B\$10)

Press Ctrl+Shift+Enter to get the distinct values from list1. But to get the list from column C, we need to further modify the formula as:
=IFERROR(LOOKUP(2, 1/(COUNTIF(\$E\$2:E2,\$B\$3:\$B\$10)=0), \$B\$3:\$B\$10), LOOKUP(2, 1/(COUNTIF(\$E\$2:E2, \$C\$3:\$C\$10)=0), \$C\$3:\$C\$10))

So this is our final formula. Press Ctrl+Shift+Enter and drag the formula till we get the error message like this.

Finally this is our desired list of unique values from two columns.
So, friends this is How To Get Unique Values From Two Columns In Excel
I hope you have enjoyed this tutorial, If yes, please do give me a like, share and comment.
For more interesting videos, please do subscribe dptutorials.

For Personalized detail learning, write to dptutorials15@gmail.com

If you found this video valuable, give it a like. If you know someone who needs to see it, share it. Leave a comment below with your thoughts. Add it to a playlist if you want to watch it later.

***********************************************
★ My Online Tutorials ► https://www.dptutorials.com

LEARNING RESOURCES I Recommend: https://www.dptutorials.com/resources

Subscribe for more Awesome Tutorials: http://goo.gl/NyAtg2

Support the Channel via shopping: http://ift.tt/2jH38PR

Tools that I use for Vlogging:
• Laptop: https://amzn.to/2E5U3MO
• Canon 200D Camera: https://amzn.to/2HglDYA
• Benro Tripod: https://amzn.to/2ExRvYj
• Blue yeti microphone: https://amzn.to/2VwZyPn
• Collar Microphone: https://amzn.to/2VyOdcM
• Screen recorder: https://techsmith.pxf.io/2BMjA
• Boom Arm Stand: https://amzn.to/2VCQNi7
• Zoom H1 Audio Recorder: https://amzn.to/2VDumsT
• Harison Softbox Studio Lights: https://amzn.to/2LY7x3u
• Chroma Key Green Screen: https://amzn.to/2ExTr31
• Background Support Stand: https://amzn.to/2McqnEv
• Acoustic Foam Background: https://amzn.to/2EoQ1zj
• USB RGB LED Strip: https://amzn.to/2VItKm4
• Wireless Mouse: https://amzn.to/2E23cpN

Note: This description contains affiliate links, which means at no additional cost to you, we will receive a small commission if you make a purchase using the links. This helps support the channel and allows us to continue to make videos like this. Thank you for your support!

***********************************************

You Can Connect with Me at: