Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Aussie CPA
 
Posts: n/a
Default Convert SERIAL date back into dd/mm/yy format?

I'm wanting to use the edate function.
Does anyone know how I can convert the edate answer back into dd/mm/yyyy in
the cell contents rather than with formatting.


  #2   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Wed, 28 Sep 2005 19:29:01 -0700, "Aussie CPA"
wrote:

I'm wanting to use the edate function.
Does anyone know how I can convert the edate answer back into dd/mm/yyyy in
the cell contents rather than with formatting.


I'm not sure exactly what you mean, but perhaps:

=TEXT(EDATE(A1,1),"dd/mm/yyyy")


--ron
  #3   Report Post  
Biff
 
Posts: n/a
Default

Hi!

This will keep the date numeric: (if you need to do further calcs)

=DATE(YEAR(EDATE(A1,1)),MONTH(EDATE(A1,1)),DAY(EDA TE(A1,1)))

This will return a TEXT string:

=TEXT(EDATE(A1,1),"dd/mm/yyyy")

Biff

"Aussie CPA" wrote in message
...
I'm wanting to use the edate function.
Does anyone know how I can convert the edate answer back into dd/mm/yyyy
in
the cell contents rather than with formatting.




  #4   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Wed, 28 Sep 2005 22:46:31 -0400, "Biff" wrote:

Hi!

This will keep the date numeric: (if you need to do further calcs)

=DATE(YEAR(EDATE(A1,1)),MONTH(EDATE(A1,1)),DAY(ED ATE(A1,1)))



How does that formula differ from:

=EDATE(A1,1)

?????


--ron
  #5   Report Post  
Myrna Larson
 
Posts: n/a
Default

I am curious. Why do you want text in the cell rather than a formatted date?
If you do this, you can not do further date arithmetic with the value unless
you use the DATEVALUE function.

On Wed, 28 Sep 2005 19:29:01 -0700, "Aussie CPA"
wrote:

I'm wanting to use the edate function.
Does anyone know how I can convert the edate answer back into dd/mm/yyyy in
the cell contents rather than with formatting.



  #6   Report Post  
Biff
 
Posts: n/a
Default

=DATE(YEAR(EDATE(A1,1)),MONTH(EDATE(A1,1)),DAY(ED ATE(A1,1)))
How does that formula differ from:
=EDATE(A1,1)


It doesn't as far as the value returned.

The longer redundant formula will return the auto formatted value versus
Edate returning the serial date. I wasn't sure about what the OP was really
asking for. I read that maybe for some reason they couldn't format the
result of Edate. That's why I also included the Text function.

Biff

"Ron Rosenfeld" wrote in message
...
On Wed, 28 Sep 2005 22:46:31 -0400, "Biff" wrote:

Hi!

This will keep the date numeric: (if you need to do further calcs)

=DATE(YEAR(EDATE(A1,1)),MONTH(EDATE(A1,1)),DAY(E DATE(A1,1)))



How does that formula differ from:

=EDATE(A1,1)

?????


--ron



  #7   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Thu, 29 Sep 2005 18:16:01 -0400, "Biff" wrote:

It doesn't as far as the value returned.

The longer redundant formula will return the auto formatted value versus
Edate returning the serial date. I wasn't sure about what the OP was really
asking for. I read that maybe for some reason they couldn't format the
result of Edate. That's why I also included the Text function.


That autoformatting could be handy. I wonder why EDATE doesn't autoformat
whereas the DATE function does. Possibly an affect of native code vs an
add-in.
--ron
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
date format in excel not in line with control panel regional setti GrahamR Excel Discussion (Misc queries) 3 August 2nd 05 06:48 PM
Date Format - Conversion tinkertoy Excel Discussion (Misc queries) 1 July 14th 05 06:24 PM
convert interval to various separate date , time, hr, minutes Todd F. Excel Worksheet Functions 4 July 12th 05 07:25 PM
How do I convert Date serial number to date rdunne Excel Worksheet Functions 1 April 12th 05 03:04 PM
HOW DO I CONVERT SCANNED DOCUMENT IN PDF FORMAT BACK TO AN EXCEL. eyetye Excel Discussion (Misc queries) 2 December 3rd 04 06:33 AM


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