- Joined
- Feb 25, 2013
- Messages
- 4
- Reaction score
- 0
I've search the forums and can't find an answer to my particular problem or can't get what I've found to work.
I'm trying the compare the data in two columns and display in a third the results if there is a match and "0" if not so I can get a count.
Vcenter is the defined name for Column B.
The first formula I used (Column C) worked for the first set of data:
=IF(ISNA(VLOOKUP(A6,VCenter,1,FALSE)),"0",VLOOKUP(A6,VCenter,1,FALSE))
However, I'm getting a lot of "0's" where they don't match. Basic review indicates there are slight differences in the naming convention (namely characters 6&7) and therefore I need to further identify the results in yet another column to find out how many are like those in bold below.
I've tried two separate formula's in Column D and as you can see, I get #N/A as a result. The formula I'm using in Column D is:
=RIGHT(VLOOKUP(A190,VCenter,1,FALSE),6) which resulted in what you see
=VLOOKUP(RIGHT(A6,6),RIGHT(VCenter,6),1,FALSE) which results in #N/A.
Since the naming conventions are different in some cases between Columns A & B, I'm trying to find out how many match the last six characters by using the right function as part of the the VLookup.
Can you tell me what I'm doing wrong?
Thanks
This is an actual set of the data I'm evaluating:
A B C D
VCHC002VL003219vchc002vl003220vchc002vl003219003219VCHC002VL003220VCMS300VD005720vchc002vl003220003220VHHI012VL002682vecc002vl0032260#N/AVHHI012VL002683VGDIDB0VD0055330#N/AVISR022VL006393vipfjb2vl0047360#N/AVISR032VL006394vipfor2vl0047370#N/AVISR042VL006395visr012vl0037460#N/AVISR062VL006397visr012vl0061960#N/AVISR072VL006398visr012vl0061970#N/AVISR082VL006399visr012vl0061980#N/AVISR092VL006400visr012vl0061990#N/AVISR112VL006402visr012vl0062010#N/AVISR132VL006404visr012vl0062030#N/AVISR142VL006405VISR012VL0063920#N/AVISR162VL006407VISR012VL0063940#N/AVISR22VL006393VISR052VL0063970#N/Avl2sdetwebair00VISR152VL0064060#N/A
I'm trying the compare the data in two columns and display in a third the results if there is a match and "0" if not so I can get a count.
Vcenter is the defined name for Column B.
The first formula I used (Column C) worked for the first set of data:
=IF(ISNA(VLOOKUP(A6,VCenter,1,FALSE)),"0",VLOOKUP(A6,VCenter,1,FALSE))
However, I'm getting a lot of "0's" where they don't match. Basic review indicates there are slight differences in the naming convention (namely characters 6&7) and therefore I need to further identify the results in yet another column to find out how many are like those in bold below.
I've tried two separate formula's in Column D and as you can see, I get #N/A as a result. The formula I'm using in Column D is:
=RIGHT(VLOOKUP(A190,VCenter,1,FALSE),6) which resulted in what you see
=VLOOKUP(RIGHT(A6,6),RIGHT(VCenter,6),1,FALSE) which results in #N/A.
Since the naming conventions are different in some cases between Columns A & B, I'm trying to find out how many match the last six characters by using the right function as part of the the VLookup.
Can you tell me what I'm doing wrong?
Thanks
This is an actual set of the data I'm evaluating:
A B C D
VCHC002VL003219vchc002vl003220vchc002vl003219003219VCHC002VL003220VCMS300VD005720vchc002vl003220003220VHHI012VL002682vecc002vl0032260#N/AVHHI012VL002683VGDIDB0VD0055330#N/AVISR022VL006393vipfjb2vl0047360#N/AVISR032VL006394vipfor2vl0047370#N/AVISR042VL006395visr012vl0037460#N/AVISR062VL006397visr012vl0061960#N/AVISR072VL006398visr012vl0061970#N/AVISR082VL006399visr012vl0061980#N/AVISR092VL006400visr012vl0061990#N/AVISR112VL006402visr012vl0062010#N/AVISR132VL006404visr012vl0062030#N/AVISR142VL006405VISR012VL0063920#N/AVISR162VL006407VISR012VL0063940#N/AVISR22VL006393VISR052VL0063970#N/Avl2sdetwebair00VISR152VL0064060#N/A