Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default I need a custom format of this number 70226 to show it 02/26/07.

From my database I receive dates in this format #0\/00\/00 so the formula
bar looks like this 70226 and the cell looks like this 7/02/26. I need a
custom format of this number 70226 to show it 02/26/07. Can I do this?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default I need a custom format of this number 70226 to show it 02/26/07.

there's no custom formatting that will change 70226 into 02/26/07. You
could use a cell in an adjacent column. For instance, if the value is in
A1, then one way:

B1: =DATE(2000+LEFT(A1,LEN(A1)-4), --MID(A1,LEN(A1)-3,2),
--RIGHT(A1,2))

You can then format B1 to mm/dd/yy



In article ,
Forklift guy <Forklift wrote:

From my database I receive dates in this format #0\/00\/00 so the formula
bar looks like this 70226 and the cell looks like this 7/02/26. I need a
custom format of this number 70226 to show it 02/26/07. Can 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
Custom Format - show as decimal Heidi Excel Discussion (Misc queries) 4 June 30th 06 06:57 PM
how do I custom format .0040 to show as 40 ? rwtuning Excel Discussion (Misc queries) 3 June 18th 06 11:41 PM
how do I add phone number format as a permanent custom format? frustratedagain Excel Discussion (Misc queries) 3 February 4th 06 03:52 AM
Format a cell with a custom number format Armor Excel Worksheet Functions 4 January 29th 06 11:25 PM
Custom number format always defaults last number to 0. scubadave Excel Discussion (Misc queries) 2 June 15th 05 10:20 PM


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