Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Juco
 
Posts: n/a
Default help with date formula please

In cell A1 I have date of the month ( eg 14 ) for the 14th day
In cell A2 I have month of the tear (eg 9 or 09) for September
In cell As I have the year 2005
the 3 cells would therefore represent the 14th of September 2005

In cell A4 I want....... the 14th september less 72 days to show as dd mm
yy (this is where I need help with a formula)

The client fills in cells A1 and A2 so they may put 9 or 09, does this
present a further problem?


thanks



  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

A4: =DATE(A3,A2,A1)-72

formatted as a date.

In article ,
"Juco" wrote:

In cell A1 I have date of the month ( eg 14 ) for the 14th day
In cell A2 I have month of the tear (eg 9 or 09) for September
In cell As I have the year 2005
the 3 cells would therefore represent the 14th of September 2005

In cell A4 I want....... the 14th september less 72 days to show as dd mm
yy (this is where I need help with a formula)

The client fills in cells A1 and A2 so they may put 9 or 09, does this
present a further problem?


thanks

  #3   Report Post  
Juco
 
Posts: n/a
Default

I have put the formula in the cell but get #NUM! What does this mean?


thanks


"JE McGimpsey" wrote in message
...
One way:

A4: =DATE(A3,A2,A1)-72

formatted as a date.

In article ,
"Juco" wrote:

In cell A1 I have date of the month ( eg 14 ) for the 14th day
In cell A2 I have month of the tear (eg 9 or 09) for September
In cell As I have the year 2005
the 3 cells would therefore represent the 14th of September 2005

In cell A4 I want....... the 14th september less 72 days to show as dd

mm
yy (this is where I need help with a formula)

The client fills in cells A1 and A2 so they may put 9 or 09, does this
present a further problem?


thanks



  #4   Report Post  
Juco
 
Posts: n/a
Default

Sorry ignore my last post...
It helps if I put a date in the cells!

Silly Juco

"Juco" wrote in message
. ..
I have put the formula in the cell but get #NUM! What does this mean?


thanks


"JE McGimpsey" wrote in message
...
One way:

A4: =DATE(A3,A2,A1)-72

formatted as a date.

In article ,
"Juco" wrote:

In cell A1 I have date of the month ( eg 14 ) for the 14th day
In cell A2 I have month of the tear (eg 9 or 09) for September
In cell As I have the year 2005
the 3 cells would therefore represent the 14th of September 2005

In cell A4 I want....... the 14th september less 72 days to show as

dd
mm
yy (this is where I need help with a formula)

The client fills in cells A1 and A2 so they may put 9 or 09, does this
present a further problem?


thanks





  #5   Report Post  
Juco
 
Posts: n/a
Default

I have entered 30 06 2005
and used formula =DATE(A3,A2,A1)-42
The return is 15/10/35?

Is there something else I need to format?

thanks

"JE McGimpsey" wrote in message
...
One way:

A4: =DATE(A3,A2,A1)-72

formatted as a date.

In article ,
"Juco" wrote:

In cell A1 I have date of the month ( eg 14 ) for the 14th day
In cell A2 I have month of the tear (eg 9 or 09) for September
In cell As I have the year 2005
the 3 cells would therefore represent the 14th of September 2005

In cell A4 I want....... the 14th september less 72 days to show as dd

mm
yy (this is where I need help with a formula)

The client fills in cells A1 and A2 so they may put 9 or 09, does this
present a further problem?


thanks





  #6   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Hmm... when I try that, I get

05/19/2005


In article ,
"Juco" wrote:

I have entered 30 06 2005
and used formula =DATE(A3,A2,A1)-42
The return is 15/10/35?

Is there something else I need to format?

  #7   Report Post  
Art
 
Posts: n/a
Default

Try this in A4

=Date(A3,A2,A1)-72

If you want it to look exaclty like DD MM YY, use a custom format just like
that. That is, for your custom format use dd mm yy.

Art

"Juco" wrote:

In cell A1 I have date of the month ( eg 14 ) for the 14th day
In cell A2 I have month of the tear (eg 9 or 09) for September
In cell As I have the year 2005
the 3 cells would therefore represent the 14th of September 2005

In cell A4 I want....... the 14th september less 72 days to show as dd mm
yy (this is where I need help with a formula)

The client fills in cells A1 and A2 so they may put 9 or 09, does this
present a further problem?


thanks




  #8   Report Post  
Bernd Plumhoff
 
Posts: n/a
Default

Write in cell A4:
=DATE(A3,A2,A1-72)

Then goto Format / Cells / Custom and enter dd mm yy

HTH,
Bernd
  #9   Report Post  
Art
 
Posts: n/a
Default

Bernd,

I didn't know you could do that -- put the subtraction inside DATE.
Interesting.

Art

"Bernd Plumhoff" wrote:

Write in cell A4:
=DATE(A3,A2,A1-72)

Then goto Format / Cells / Custom and enter dd mm yy

HTH,
Bernd

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 Formula Robyn Bellanger Excel Discussion (Misc queries) 2 December 17th 04 07:25 PM
Date formula Robyn Bellanger Excel Discussion (Misc queries) 2 December 16th 04 12:41 AM
Formula to determine a future date based on criteria David Excel Worksheet Functions 2 December 15th 04 07:51 PM
Need help troubleshooting an array formula XLXP on Win2K KR Excel Worksheet Functions 1 December 13th 04 07:41 PM
How do I add a date formula to a cell but hide the contents with . Emzy Wemzy Excel Discussion (Misc queries) 2 December 12th 04 01:48 PM


All times are GMT +1. The time now is 10:12 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"