Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Formatting to text - apostrophe does not show

I got a bunch of numbers that look like this 0345N9 and I want to have the
apostrophe Not the quote in front: '0345N9. I have done the regular stuff
of going to data, text to columns, apostrophy as text qualifier and then
click the botton "text."

The cell will show the green triangle as usual on the upper left corner but
the apostrophe is not there to be seen. Then when I want to do a vlookup it
will not find it because it misses the apostrophe.

I tried also to concatenate the cell to an apostrophe, it will not work.

Is there another way?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Formatting to text - apostrophe does not show

Marina,

Ignore the apostrophe and do your lookup as if it wasn't there and it will
work

=VLOOKUP("0345N9",A1:a25,2,FALSE)

Mike

"Marina Tuttle" wrote:

I got a bunch of numbers that look like this 0345N9 and I want to have the
apostrophe Not the quote in front: '0345N9. I have done the regular stuff
of going to data, text to columns, apostrophy as text qualifier and then
click the botton "text."

The cell will show the green triangle as usual on the upper left corner but
the apostrophe is not there to be seen. Then when I want to do a vlookup it
will not find it because it misses the apostrophe.

I tried also to concatenate the cell to an apostrophe, it will not work.

Is there another way?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Formatting to text - apostrophe does not show

Do you see that apostrophe in the cell or only in the formula bar?

If it's only in the formula bar, you can hide it via:
Tools|options|transition tab|Uncheck Transition Navigation keys

But having that apostrophe (prefixcharacter) isn't enough to break the
=vlookup() formula--well, unless you can see it in the cell.

If you can see it in the cell, you could remove it (just reenter the value to
test). Or you could remove it in your formula:

=vlookup(mid(a1,2,len(a1)),sheet2!a:b,2,false)

But this is only if that apostrophe is part of the data--not a prefix character.

I'm guessing that it's something else causing the trouble.

Debra Dalgleish has lots of notes on troubleshooting =vlookup():
http://contextures.com/xlFunctions02.html#Trouble

Marina Tuttle wrote:

I got a bunch of numbers that look like this 0345N9 and I want to have the
apostrophe Not the quote in front: '0345N9. I have done the regular stuff
of going to data, text to columns, apostrophy as text qualifier and then
click the botton "text."

The cell will show the green triangle as usual on the upper left corner but
the apostrophe is not there to be seen. Then when I want to do a vlookup it
will not find it because it misses the apostrophe.

I tried also to concatenate the cell to an apostrophe, it will not work.

Is there another way?


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Formatting to text - apostrophe does not show

Typo alert...

Make sure that the look up range includes enough columns:

=VLOOKUP("0345N9",A1:B25,2,FALSE)
(A1:a25 changed to A1:B25)

Mike H wrote:

Marina,

Ignore the apostrophe and do your lookup as if it wasn't there and it will
work

=VLOOKUP("0345N9",A1:a25,2,FALSE)

Mike

"Marina Tuttle" wrote:

I got a bunch of numbers that look like this 0345N9 and I want to have the
apostrophe Not the quote in front: '0345N9. I have done the regular stuff
of going to data, text to columns, apostrophy as text qualifier and then
click the botton "text."

The cell will show the green triangle as usual on the upper left corner but
the apostrophe is not there to be seen. Then when I want to do a vlookup it
will not find it because it misses the apostrophe.

I tried also to concatenate the cell to an apostrophe, it will not work.

Is there another way?


--

Dave Peterson
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
show apostrophe / single quote in cell Beans Excel Discussion (Misc queries) 3 April 4th 23 10:23 AM
Formatting alignment - can I show text upside down? PhilinLondon Excel Discussion (Misc queries) 5 November 13th 06 03:24 PM
Apostrophe vs Text format DTTODGG New Users to Excel 5 April 12th 06 05:26 PM
why is an apostrophe in front of text mlu Excel Discussion (Misc queries) 6 March 20th 06 07:59 PM
Cell has an apostrophe and is text Carole O Excel Discussion (Misc queries) 2 March 3rd 05 08:09 PM


All times are GMT +1. The time now is 02:49 PM.

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

About Us

"It's about Microsoft Excel"