compare columns

ChristiLingard

New Member
Joined
Jan 25, 2023
Messages
13
Office Version
  1. 365
Platform
  1. Windows
Hi all, I need to compare two columns to see which numbers are in both columns and which aren't. Is there an easy way to do this? My first column is E and the column I want to compare it to is N.
 
Last edited:

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
How about
Fluff.xlsm
EFGHIJKLMN
1In bothIn E only In N onlyIn one
2121277847784
377231634802
4169080498234
5809082536449
6237264628853
7904188302662
890226348530
98285407434
107274428172
116481987940
128816371923
134179228442
142619984998
15855341
16746237
17813022
18164090
19794298
20193712
212222
Main
Cell Formulas
RangeFormula
H2:H8H2=FILTER(E2:E21,COUNTIFS(N2:N21,E2:E21))
I2:I14I2=FILTER(E2:E21,COUNTIFS(N2:N21,E2:E21)=0)
J2:J14J2=FILTER(N2:N21,COUNTIFS(E2:E21,N2:N21)=0)
K2:K21K2=UNIQUE(VSTACK(E2:E21,N2:N21),,1)
Dynamic array formulas.
 
Upvote 0
Solution
How about
Fluff.xlsm
EFGHIJKLMN
1In bothIn E only In N onlyIn one
2121277847784
377231634802
4169080498234
5809082536449
6237264628853
7904188302662
890226348530
98285407434
107274428172
116481987940
128816371923
134179228442
142619984998
15855341
16746237
17813022
18164090
19794298
20193712
212222
Main
Cell Formulas
RangeFormula
H2:H8H2=FILTER(E2:E21,COUNTIFS(N2:N21,E2:E21))
I2:I14I2=FILTER(E2:E21,COUNTIFS(N2:N21,E2:E21)=0)
J2:J14J2=FILTER(N2:N21,COUNTIFS(E2:E21,N2:N21)=0)
K2:K21K2=UNIQUE(VSTACK(E2:E21,N2:N21),,1)
Dynamic array formulas.
Oh wow! That is awesome! Thank you so much!!!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,113
Messages
6,123,165
Members
449,099
Latest member
bes000

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