Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default Re-Format Date

Hi
Can someone please help in how I can re-format the date from ddmmyy back to
dd/mm/yy

or

If someone knows how to check whether a date entered as text is before or
after current date.

ie "110606" < date

when I try it never works as it sees the 110606 as a text field and not a
date field. If I change todays date to a text field then as far is it is
concerned todays date is greater but if it would have been earlier this week
then it would see the 110606 as greater.

Any help would be great.

Thanks
Noemi
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Re-Format Date

Try datatext to columnsnextnextcolumn data formatdateDMY

This will change it to a real date.


Gord Dibben MS Excel MVP


On Mon, 10 Jul 2006 20:09:01 -0700, Noemi
wrote:

Hi
Can someone please help in how I can re-format the date from ddmmyy back to
dd/mm/yy

or

If someone knows how to check whether a date entered as text is before or
after current date.

ie "110606" < date

when I try it never works as it sees the 110606 as a text field and not a
date field. If I change todays date to a text field then as far is it is
concerned todays date is greater but if it would have been earlier this week
then it would see the 110606 as greater.

Any help would be great.

Thanks
Noemi


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default Re-Format Date

Hi Gord

Can you please explain as I am not sure what you mean?

Sorry
Thanks
Noemi

"Gord Dibben" wrote:

Try datatext to columnsnextnextcolumn data formatdateDMY

This will change it to a real date.


Gord Dibben MS Excel MVP


On Mon, 10 Jul 2006 20:09:01 -0700, Noemi
wrote:

Hi
Can someone please help in how I can re-format the date from ddmmyy back to
dd/mm/yy

or

If someone knows how to check whether a date entered as text is before or
after current date.

ie "110606" < date

when I try it never works as it sees the 110606 as a text field and not a
date field. If I change todays date to a text field then as far is it is
concerned todays date is greater but if it would have been earlier this week
then it would see the 110606 as greater.

Any help would be great.

Thanks
Noemi



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
permanent conversion of 1904 date format to 1900 date format Jos Excel Worksheet Functions 4 November 26th 15 02:48 PM
change date format dd/mm/yyyy to Julian date format? itzy bitzy Excel Worksheet Functions 1 December 8th 09 07:42 PM
convert serial date format to normal date format Flagworld Excel Discussion (Misc queries) 3 September 23rd 08 01:32 PM
code to convert date from TEXT format (03-02) to DATE format (200203) Gauthier[_2_] Excel Programming 0 September 22nd 04 03:26 PM
Change a date in text format xx.xx.20xx to a recognised date format concatenator Excel Programming 1 November 24th 03 11:33 PM


All times are GMT +1. The time now is 03:47 AM.

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"