Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Vlookup (Source data has a non-visable character) Excel

to the right of the number (XXXXXXX)
I've tried to use the Left or Right command to
just bring over the 7 characters and trim.


Those functions all return TEXT. So, if XXXXXXX is a number:

=LEFT("XXXXXXX ",7) returns XXXXXXX as a TEXT string. TRIM also returns a
TEXT string.

You need to figure out what that 8th chatacter is.

Assume A1 = XXXXXX<some unseen 8th char

=CODE(RIGHT(A1))

A common unseen character is a space which will return a code number of 32,
another is a non breaking html space which will return code number 160.

Once you find out what those characters are you can use EditReplace to get
rid of them.

Select the range of cells in question
Goto the menu EditReplace
Find what: For the char 32 space just hit the spacebar, for the char 160
space hold down the ALT key and use the *numeric keypad* and type 0160. You
will not be able see either one of these characters in the Find what box but
you'll see that the cursor has moved.
Replace with: Nothing. Leave this empty
Replace all

--
Biff
Microsoft Excel MVP


"Credit Law Guy" wrote in message
...


I've got a vlookup challenge that I'm not sure how to overcome. I must
manually click on the source cell which is a seven digit number and move
the
cursor to the right of the number (XXXXXXX)|(Click Delete) then the
vlookup
will work.

I've tried to copy and paste values only. I've tried to use the Left or
Right command to just bring over the 7 characters and trim. There appers
to
be something to the right that needs to be moved or deleted.

Any ideas? Thanks,

--
Credit Law Guy



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why won't vlookup read newly entered data from a source file? mwgrutter Excel Discussion (Misc queries) 3 June 5th 07 10:09 PM
Print Visable Data Only Mitesh Excel Worksheet Functions 1 April 26th 07 03:29 PM
Print Visable Data Only Mitesh New Users to Excel 1 April 26th 07 01:56 PM
Pivot Table data source "data source contains no visible tables" Jane Excel Worksheet Functions 0 September 29th 05 08:28 PM
Excel 2000 VLOOKUP returns #N/A unless press F2 return on source? Colin Excel Worksheet Functions 3 August 31st 05 01:10 PM


All times are GMT +1. The time now is 12:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"