Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Converting numbers to text

Is there a more efficient way to convert a number to a text value other than
using the =trim(number) formula? I use vlookup often...and it doesn't
recognize a text entry of say "6001" with the number 6001 unless I convet the
number to a text value with the formula =trim(6001) and then converting the
formula to a value. Please advise as to whether there is a better way.
Thanks, Bob
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Converting numbers to text

Try using a double unary (--) in the formula

=VLOOKUP(--A1,M1:N20,2,False)



--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"bobs" wrote in message
...
Is there a more efficient way to convert a number to a text value other

than
using the =trim(number) formula? I use vlookup often...and it doesn't
recognize a text entry of say "6001" with the number 6001 unless I convet

the
number to a text value with the formula =trim(6001) and then converting

the
formula to a value. Please advise as to whether there is a better way.
Thanks, Bob



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
Numbers stored as text causes problem with VLOOKUP bpeltzer Excel Worksheet Functions 0 February 4th 06 08:07 PM
Convert text numbers to numbers Barb Excel Worksheet Functions 4 October 22nd 05 07:18 PM
converting numbers to text gls858 New Users to Excel 2 October 18th 05 10:56 PM
about converting numbers to text. Ahmad Al-Nahar Excel Discussion (Misc queries) 5 July 14th 05 01:24 AM
converting numbers to text and prefill text field with 0's Jan Buckley Excel Discussion (Misc queries) 2 January 20th 05 09:03 PM


All times are GMT +1. The time now is 08:34 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"