Excel: Comparing two columns and output data
Solved/Closed
Siah
Posts
5
Registration date
Wednesday July 25, 2012
Status
Member
Last seen
July 28, 2012
-
Jul 25, 2012 at 09:48 PM
Siah Posts 5 Registration date Wednesday July 25, 2012 Status Member Last seen July 28, 2012 - Jul 28, 2012 at 09:51 PM
Siah Posts 5 Registration date Wednesday July 25, 2012 Status Member Last seen July 28, 2012 - Jul 28, 2012 at 09:51 PM
Related:
- Excel: Comparing two columns and output data
- Excel marksheet - Guide
- Number to words in excel - Guide
- Excel apk for pc - Download - Spreadsheets
- Kernel for excel - Download - Backup and recovery
- Gif in excel - Guide
7 responses
venkat1926
Posts
1863
Registration date
Sunday June 14, 2009
Status
Contributor
Last seen
August 7, 2021
811
Jul 27, 2012 at 09:40 PM
Jul 27, 2012 at 09:40 PM
"li8ike" function does not work in excel probably.
if the last word is the only problem you can compare some sort of "parts" find but that will become complicated and some "left" function also may help
those things will compllicate
if the last word is the only problem you can compare some sort of "parts" find but that will become complicated and some "left" function also may help
those things will compllicate
venkat1926
Posts
1863
Registration date
Sunday June 14, 2009
Status
Contributor
Last seen
August 7, 2021
811
Jul 26, 2012 at 06:49 AM
Jul 26, 2012 at 06:49 AM
the data from A1 to K4 is like this
Name Address City State Zip Phone Number Name Address City State Zip
x asd x x x x x asd x x x
x fgh x x x x x ghk x x x
x wer x x x x x yui x x x
in M2 type this formula
=IF($B2<>$H2,A2,"")
copy M2 across to R2
and highight M2 to R2
take the cursor to bottom of R2 cursor turns to + sign
click that plus sign
alternatively copy M2 to R2 and down next two rows.
the result m1 to R4 will be(M1 row and M2 row wil be blanks
and these will be in M3 and M4 row
x fgh x x x x
x wer x x x x
Name Address City State Zip Phone Number Name Address City State Zip
x asd x x x x x asd x x x
x fgh x x x x x ghk x x x
x wer x x x x x yui x x x
in M2 type this formula
=IF($B2<>$H2,A2,"")
copy M2 across to R2
and highight M2 to R2
take the cursor to bottom of R2 cursor turns to + sign
click that plus sign
alternatively copy M2 to R2 and down next two rows.
the result m1 to R4 will be(M1 row and M2 row wil be blanks
and these will be in M3 and M4 row
x fgh x x x x
x wer x x x x
venkat1926
Posts
1863
Registration date
Sunday June 14, 2009
Status
Contributor
Last seen
August 7, 2021
811
Jul 26, 2012 at 11:28 PM
Jul 26, 2012 at 11:28 PM
INSTEAD of the old formula try this formula
=IF(B2<>$H$2:$H$4,A2,"")
NOW YOU MUST INVOKE THIS FORMULA IN M2 WITH
CONTROL SHIFT ENTER
copy M2 to to other cells(in the paste range do not include M2)
=IF(B2<>$H$2:$H$4,A2,"")
NOW YOU MUST INVOKE THIS FORMULA IN M2 WITH
CONTROL SHIFT ENTER
copy M2 to to other cells(in the paste range do not include M2)
Siah
Posts
5
Registration date
Wednesday July 25, 2012
Status
Member
Last seen
July 28, 2012
Jul 26, 2012 at 09:22 AM
Jul 26, 2012 at 09:22 AM
Thanks a ton, this is exactly what I've been trying to figure out! I've found one catch though and am curious if you have any ideas. My two address lists comes from two different sources, so an address in column B might be "1234 Main St" while an address in column H might be "1234 Main Street" in which the data is copied to rows M to R since it views this as a different cell, even though it's actually the same. Is there any way to only use the first 6 characters in a cell for the comparison, such that only "1234 M" would be used from column B in comparison with "1234 M" of column H, so this would be viewed as the same data and not be repeated in cells M to R, or any other possibility that might work? Thanks a lot already though!
Didn't find the answer you are looking for?
Ask a question
Siah
Posts
5
Registration date
Wednesday July 25, 2012
Status
Member
Last seen
July 28, 2012
Jul 26, 2012 at 09:52 AM
Jul 26, 2012 at 09:52 AM
I've actually noticed an issue with what I'm needing to do. This seems to be a very good push in the right direction, but I think unless I set things up wrong that this formula is only comparing things in this manner: B2 with H2, B3 with H3, etc.
I have two completely different lists from different sources, so things are in different orders too. I'm basically needing to compare, for example, B2 with EVERY cell in column H in looking for a match. Would I need to set up some sort of macro to do this? Also, the search can't be case sensitive, so that "1234 Main St" and "1234 MAIN ST" are recognized as the same. Thanks again!
I have two completely different lists from different sources, so things are in different orders too. I'm basically needing to compare, for example, B2 with EVERY cell in column H in looking for a match. Would I need to set up some sort of macro to do this? Also, the search can't be case sensitive, so that "1234 Main St" and "1234 MAIN ST" are recognized as the same. Thanks again!
Siah
Posts
5
Registration date
Wednesday July 25, 2012
Status
Member
Last seen
July 28, 2012
Jul 27, 2012 at 04:18 AM
Jul 27, 2012 at 04:18 AM
This seems to do the trick, thanks! The only issue now is that of one cell being slightly different than the other, such as "1234 Main St" in column B versus "1234 Main Street" in column H seeming to Excel to be different, but that doesn't happen all that often. Even with this, the spreadsheet is very effective for what I need. Thanks again!
Siah
Posts
5
Registration date
Wednesday July 25, 2012
Status
Member
Last seen
July 28, 2012
Jul 28, 2012 at 09:51 PM
Jul 28, 2012 at 09:51 PM
Thanks again! We can mark this one as solved =)