Can't find difference between two cells

Gfletch

New Member
Joined
Apr 10, 2015
Messages
16
I am having trouble finding out why there is a difference between two cells that appear to contain the same thing. Each cell contains "Mickey Mantle". I checked by using LEN but it says both cells contain 13 characters. I tried using EXACT, and EXACT returns a FALSE result. Then I used the following formula:

=MID(B5,ROW(INDIRECT("1:"&LEN(B5))),1) and
=MID(D5,ROW(INDIRECT("1:"&LEN(D5))),1)

<tbody>
</tbody>

where B5 and D5 each contain "Mickey Mantle"...and this says that the M is different...but I do not know why.

The problem is that I have a data base and need to be able to sort every players career by his Name and then the year of each of his seasons...but these 'differences' cause problems.

Thanks for any help.

<tbody>
</tbody>
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
I eliminated all but one character, the same character, from both cells. comparing each to the other I got TRUE on everything except for the space.

I did put the =MID etc - got a return of TRUE

Did you do this? Did you get TRUE on each of 13 rows?

Question: Did you put =MID($B$5,ROW()-4,1)=MID($D$5,ROW()-4,1) into row 5 of an empty column and copy down?
What result did you get in row 5? What result did you get in row 6? what in each of the rows up to row 19?
 
Upvote 0
Did you do this? Did you get TRUE on each of 13 rows?

Question: Did you put =MID($B$5,ROW()-4,1)=MID($D$5,ROW()-4,1) into row 5 of an empty column and copy down?
What result did you get in row 5? What result did you get in row 6? what in each of the rows up to row 19?

I got True on each row, except on the 7th row. You must be on to something, but I don't understand what it is.
 
Upvote 0
The 7th character is the space between words. If that is a character that causes problem in several text strings it could be that the space in one of the data cells is a special type of space, Example: in word you can enter a space with Ctrl+Shift+Space so that two words separated by a space never split to different lines (Here I use it for place names that have a space, "Te Puke" etc)
Excel sees these "spaces" as different. You need find which is the genuine space. Then copy the Looks-like-a-space character and use find and replace to convert to regular spaces
 
Upvote 0
The 7th character is the space between words. If that is a character that causes problem in several text strings it could be that the space in one of the data cells is a special type of space, Example: in word you can enter a space with Ctrl+Shift+Space so that two words separated by a space never split to different lines (Here I use it for place names that have a space, "Te Puke" etc)
Excel sees these "spaces" as different. You need find which is the genuine space. Then copy the Looks-like-a-space character and use find and replace to convert to regular spaces

Thanks, that's a real good idea. I really appreciate the time you put into this.
 
Upvote 0

Forum statistics

Threads
1,216,084
Messages
6,128,722
Members
449,465
Latest member
TAKLAM

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