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

I currently have a birthday field displayed as 19891011. I would like this to
be displayed as 10/11/1989. How do I do this?
  #2   Report Post  
Trevor Shuttleworth
 
Posts: n/a
Default

The content of the cell is not a number representing a date. It cannot
therefore be formatted as a date. You could use LEFT, MID and RIGHT in
another cell to present the birthday as you want to see it

For example:

=MID(A1,5,2)&"/"&RIGHT(A1,2)&"/"&LEFT(A1,4)

or perhaps better:

=DATE(LEFT(A1,4),RIGHT(A1,2),MID(A1,5,2))

and format as a date however you want to see it.

Change the cell reference to suit

Regards

Trevor


"Metalteck" wrote in message
...
I currently have a birthday field displayed as 19891011. I would like this
to
be displayed as 10/11/1989. How do I do this?



  #3   Report Post  
CLR
 
Posts: n/a
Default

Assuming your date is in A1, put this in B1 or wherever........

=MID(A1,5,2)&"/"&RIGHT(A1,2)&"/"&LEFT(A1,4) will produce the display you
seek, but it will only be TEXT, not a actual date...........

=(MID(A1,5,2)&"/"&RIGHT(A1,2)&"/"&LEFT(A1,4))*1 will make it an actual Excel
Date/number which you can then format to look like what you want by doing
Right-click Format Cells Number tab Date and then select the format
of your choice.

Vaya con Dios,
Chuck, CABGx3


"Metalteck" wrote in message
...
I currently have a birthday field displayed as 19891011. I would like this

to
be displayed as 10/11/1989. How do I do this?



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
Need Formula to display pivot table source data Don S Excel Worksheet Functions 3 February 23rd 05 10:13 PM
format cell data to display stacked data dkay10 Excel Discussion (Misc queries) 1 January 17th 05 02:20 AM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM
How do I display a data table in an Excel 2002 chart? Dr. Mark F. Charts and Charting in Excel 3 December 29th 04 03:04 PM
Data Filter - Not all rows in spreadsheet will display in Autofilt Excel Help Excel Worksheet Functions 1 November 17th 04 05:40 PM


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