#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 208
Default cell format

I have a spreadsheet that contains reference number in a format
H123456 (H followed by 6 numbers) for example H005678 I would need to
convert this to 5678. The original cell has been typed in full and is not a
format.

where the number ie 5678 is less than 6 numbers leading zero's have been
included.

I need to do a look up from my original spreadsheet into this new one.
Where my spreadsheet will say 5678 ( and I Can't change) I need to look
this up in the new spreadsheet where it will say H005678 it will possibly
easier to do convert the H005678 in the new SS and then do a look up
Can anyone help
Sean...
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default cell format

Not sure which way you want it, but you can either do

="H"&TEXT(A1,"000000")

or

=--MID(A1,2,6)

--
HTH

Bob Phillips

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

"Sean" wrote in message
...
I have a spreadsheet that contains reference number in a format
H123456 (H followed by 6 numbers) for example H005678 I would need to
convert this to 5678. The original cell has been typed in full and is not

a
format.

where the number ie 5678 is less than 6 numbers leading zero's have been
included.

I need to do a look up from my original spreadsheet into this new one.
Where my spreadsheet will say 5678 ( and I Can't change) I need to look
this up in the new spreadsheet where it will say H005678 it will possibly
easier to do convert the H005678 in the new SS and then do a look up
Can anyone help
Sean...



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 208
Default cell format

brilliant thanks

"Bob Phillips" wrote:

Not sure which way you want it, but you can either do

="H"&TEXT(A1,"000000")

or

=--MID(A1,2,6)

--
HTH

Bob Phillips

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

"Sean" wrote in message
...
I have a spreadsheet that contains reference number in a format
H123456 (H followed by 6 numbers) for example H005678 I would need to
convert this to 5678. The original cell has been typed in full and is not

a
format.

where the number ie 5678 is less than 6 numbers leading zero's have been
included.

I need to do a look up from my original spreadsheet into this new one.
Where my spreadsheet will say 5678 ( and I Can't change) I need to look
this up in the new spreadsheet where it will say H005678 it will possibly
easier to do convert the H005678 in the new SS and then do a look up
Can anyone help
Sean...




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
conditional cell format based on cell in same row, previous column tamiluchi Excel Worksheet Functions 7 May 3rd 06 04:11 PM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Cell data format falloutx Excel Discussion (Misc queries) 1 February 10th 06 01:46 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
can't format cell - have tried unlocking and unprotecting griffin Excel Discussion (Misc queries) 1 April 5th 05 02:11 AM


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