Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I've seen/done this before but I can't remember how to do it. I need to
dormat Today from 11/8/2004 to 110804. I can di it by going to FormatCellsCustom then typing the formula. But I thought there was a way to do it by specifing the format (MM,DD,YY) somwhoe nested in Today. Any ideas. Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Grant,
Grant wrote: I've seen/done this before but I can't remember how to do it. I need to dormat Today from 11/8/2004 to 110804. I can di it by going to FormatCellsCustom then typing the formula. But I thought there was a way to do it by specifing the format (MM,DD,YY) somwhoe nested in Today. You can use the TEXT worksheet function to format the date: =TEXT(TODAY(),"mmddyy") Keep in mind that when you do this, you're changing the actual value of the cell to a string containing "110804". When you apply formatting to the cell itself, you are keeping the date value and changing only its appearance. So which way you do this really depends on whether you're going to be using the value for date calculations or not. -- Regards, Jake Marx MS MVP - Excel www.longhead.com [please keep replies in the newsgroup - email address unmonitored] |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Jake,
The string value is what I was looking for. "Jake Marx" wrote in message ... Hi Grant, Grant wrote: I've seen/done this before but I can't remember how to do it. I need to dormat Today from 11/8/2004 to 110804. I can di it by going to FormatCellsCustom then typing the formula. But I thought there was a way to do it by specifing the format (MM,DD,YY) somwhoe nested in Today. You can use the TEXT worksheet function to format the date: =TEXT(TODAY(),"mmddyy") Keep in mind that when you do this, you're changing the actual value of the cell to a string containing "110804". When you apply formatting to the cell itself, you are keeping the date value and changing only its appearance. So which way you do this really depends on whether you're going to be using the value for date calculations or not. -- Regards, Jake Marx MS MVP - Excel www.longhead.com [please keep replies in the newsgroup - email address unmonitored] |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Conditional Format <=Today() | Excel Worksheet Functions | |||
Conditional Format <=Today() | Excel Worksheet Functions | |||
MM/DD/YYYY format Today | Excel Discussion (Misc queries) | |||
Custom Format for WEEKNUM(Today()) | Excel Discussion (Misc queries) | |||
converting 'TODAY' into dd-mmm-yy format | Excel Programming |