Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Converting a number to a text (character)

This may be an easy question for you, but I'm having a tough time answering
it for a credit analyst from Chicago. She is looking to take an 8-digit
number (20090105) and convert it to a date with the format "m/d/yyyy". It
seems that I need to convert the number to a text (character), then apply the
date formatting. However, while I know how to convert a text to a number
(VALUE function), I don't know how to do the opposite function (converting a
number to text). Can someone help me here? Thanks much!

Alan Sexter
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Converting a number to a text (character)

Convert the number to a true date and then format that date...

=DATE(VALUE(LEFT(A1, 4)), VALUE(MID(A1,5,2)), VALUE(MID(A1,7,2)))
--
HTH...

Jim Thomlinson


"Alan Sexter" wrote:

This may be an easy question for you, but I'm having a tough time answering
it for a credit analyst from Chicago. She is looking to take an 8-digit
number (20090105) and convert it to a date with the format "m/d/yyyy". It
seems that I need to convert the number to a text (character), then apply the
date formatting. However, while I know how to convert a text to a number
(VALUE function), I don't know how to do the opposite function (converting a
number to text). Can someone help me here? Thanks much!

Alan Sexter

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Converting a number to a text (character)

Data/ Text to Columns, click through to the final stage and select the
format of the input data (YMD or YDM).
Then format the resulting date as you want it.
--
David Biddulph

"Alan Sexter" wrote in message
...
This may be an easy question for you, but I'm having a tough time
answering
it for a credit analyst from Chicago. She is looking to take an 8-digit
number (20090105) and convert it to a date with the format "m/d/yyyy". It
seems that I need to convert the number to a text (character), then apply
the
date formatting. However, while I know how to convert a text to a number
(VALUE function), I don't know how to do the opposite function (converting
a
number to text). Can someone help me here? Thanks much!

Alan Sexter



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
Converting a text word or text string to a number Tom Excel Discussion (Misc queries) 6 January 2nd 09 08:23 PM
Change a 1,2,3 or 4 digit number to a 6 character text string Steve D Excel Worksheet Functions 3 March 28th 08 08:14 PM
Converting number to text rslater44 Excel Discussion (Misc queries) 1 March 2nd 06 09:56 PM
Converting text to a number Helen Black Excel Worksheet Functions 0 January 19th 05 01:33 PM
Converting text to a number Helen Black Excel Worksheet Functions 1 January 18th 05 04:08 PM


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