EXACT function - can't find difference between cells

courtney27

New Member
Joined
Dec 17, 2014
Messages
12
Hi there, I have a very basic query. I have a large data table and am trying to match names for use with the sum product formula. When I run the EXACT function on the 2 columns of names I receive a FALSE value. The columns of names appear to match. I have used TRIM to remove spaces and LEN to ascertain the number of characters (these match). What else can I try to find out why these names do not match? An example of 2 cells from my data that do not match is below
Ablett, Gary
Ablett, Gary

<tbody>
</tbody>

Thank your for your help.
Courtney
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
is the data downloaded from an external source ??
If so, try this for the data
Use the Find and Replace box. Click in the Find box, hold Alt key and type 0160 on the NUMBER keypad then release Alt; leave the Replace box blank, and hit Replace All.
 
Upvote 0
Thank you Micheal. My data is from an external source however, I don't have a number keypad on my lap top only the numbers across the top of the letters. When I hold down ALT in the find section of the find and replace box the numbers won't type. Is there a way to get around this?
 
Upvote 0
Ok, maybe a code snippet then...
Highlight the range of original data then run this VBA snippet
Code:
Sub Clean160()
Selection.Replace what:=Chr(160), Replacement:="", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
End Sub
 
Upvote 0
For 2 cells that appear to match but EXACT says they don't, what are the 2 results from this formula when pointed at each cell instead of A2 as in my formula?

=CODE(MID(A2,FIND(",",A2)+1,1))
 
Upvote 0
Thank you for all of your replies. The issue was resolved with Michael's VBA snippet. There appeared to be some weird little character spacing that wasn't an actual space in one of the columns of names. Thanks again for your help.
 
Upvote 0

Forum statistics

Threads
1,215,097
Messages
6,123,077
Members
449,094
Latest member
mystic19

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