Started By
Message

re: Excel question: How do you compare values in two columns?

Posted on 1/26/17 at 7:31 pm to
Posted by dbeck
Member since Nov 2014
29451 posts
Posted on 1/26/17 at 7:31 pm to
Sort both A and B by value.
Create column C that is A - B.
Sort all 3 columns by column C value.
Duplicates will have a value of 0 in column C so delete all rows that have a value of anything other than 0.
Posted by TrebleHook
Member since Jun 2016
1356 posts
Posted on 1/26/17 at 7:34 pm to
If you just want to see the rows that have values in columns A & B use filters. Filter out blanks in both columns
Posted by liz18lsu
Naples, FL
Member since Feb 2009
17302 posts
Posted on 1/26/17 at 8:22 pm to
Vlookup and reverse Vlookup. What in column A that is in column B and vise versa. Hold your values absolute with dollar signs.

=vlookup(cell to lookup,table array,expected column output,false)

1 2
2 1
3 5

This would return a result for 1, because you based the formula on column A, and it found 1 in column B.
Posted by goldennugget
Hating Masks
Member since Jul 2013
24514 posts
Posted on 1/26/17 at 8:25 pm to
If I have your question correct...

Column C: =IF((A2 <> "") && (B2 <> ""),A2 & " " & B2,"")

then drag down
Posted by OweO
Plaquemine, La
Member since Sep 2009
113945 posts
Posted on 1/26/17 at 8:26 pm to
Anytime I come across something in Excel I don't know, I use the help feature in Excel.. More times than not it helps me out.
Posted by euphemus
Member since Mar 2014
536 posts
Posted on 1/26/17 at 8:57 pm to
quote:

Chinese Bandit

Thank you. That worked our perfectly.
first pageprev pagePage 2 of 2Next pagelast page
refresh

Back to top
logoFollow TigerDroppings for LSU Football News
Follow us on Twitter, Facebook and Instagram to get the latest updates on LSU Football and Recruiting.

FacebookTwitterInstagram