Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
HeatherO
 
Posts: n/a
Default

Thanks HighTide and GG,
I'll give it a try, your help is much appreciated.

"HighTide" wrote:

There are several ways to do this
=value(A1) will drop the zeroes
=""&value(A1) or =text(value(A1),0)
Converts it back to text.

Does this help?
You will still have match text in your functions.
For examaple =match(1,range,0) will return #N/A
but =match("1",range,0) will find your text version of 1 after you
strip the zeroes.


On Sat, 26 Feb 2005 12:49:02 -0800, "HeatherO"
wrote:

I am trying to do a vlookup between 2 spreadsheets and in the one the data is
stored as text and the other as a number with leading zeros (ie. 001) when I
change the format to text it keeps the 001 so I was just wondering if there
is some code to strip the leading zeros out before I reformat the numbers to
text. Your help is appreciated.
TIA
Heather



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
leading zeros in text format BigBrook Excel Discussion (Misc queries) 5 December 11th 08 08:00 PM
Format a cell to keep leading zeros. Shadyhosta New Users to Excel 5 July 27th 05 04:37 PM
retain leading zeros in number format Jeff Excel Discussion (Misc queries) 5 February 22nd 05 09:24 PM
Displaying leading zeros in an Excel spreadsheet marianthelibrarian Excel Discussion (Misc queries) 1 January 25th 05 02:08 PM
Leading Zeros in Numeric Values DBavirsha Excel Worksheet Functions 6 January 4th 05 05:21 PM


All times are GMT +1. The time now is 12:53 AM.

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"