Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Foss
 
Posts: n/a
Default Count down formula

Hi there,

I need to write a formula that tells me the amount of weeks and days before
the 20th of next month.

Has anyone got such a formula they could pass me? I had a quick look but
it's too hot for my poor little mind to function today!

Any pointers much appreciated..

Cheers,
Foss
  #2   Report Post  
Sandy Mann
 
Posts: n/a
Default

Foss,

If there is a reference date in a cell, (say A1), try:

=DATE(YEAR(A1),MONTH(A1)+(DAY(A1)20),20)-A1

If you want it to be independent of any reference cell then try:

=DATE(YEAR(TODAY()),MONTH(TODAY())+(DAY(TODAY())2 0),20)-TODAY()

in each case format the cell as General. If today's date is the 20th then
the formula will show zero

--
HTH

Sandy

Replace@mailinator with @tiscali.co.uk


"Foss" wrote in message
...
Hi there,

I need to write a formula that tells me the amount of weeks and days
before
the 20th of next month.

Has anyone got such a formula they could pass me? I had a quick look but
it's too hot for my poor little mind to function today!

Any pointers much appreciated..

Cheers,
Foss



  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

One way

=DATE(YEAR(TODAY()),MONTH(TODAY())+(DAY(TODAY())2 0),20)-TODAY()

--
Regards,

Peo Sjoblom

(No private emails please)


"Foss" wrote in message
...
Hi there,

I need to write a formula that tells me the amount of weeks and days
before
the 20th of next month.

Has anyone got such a formula they could pass me? I had a quick look but
it's too hot for my poor little mind to function today!

Any pointers much appreciated..

Cheers,
Foss


  #4   Report Post  
Foss
 
Posts: n/a
Default

Hi there Peo,

Thanks very much, that's just what I was after!

Cheers,
Foss


"Peo Sjoblom" wrote:

One way

=DATE(YEAR(TODAY()),MONTH(TODAY())+(DAY(TODAY())2 0),20)-TODAY()

--
Regards,

Peo Sjoblom

(No private emails please)


"Foss" wrote in message
...
Hi there,

I need to write a formula that tells me the amount of weeks and days
before
the 20th of next month.

Has anyone got such a formula they could pass me? I had a quick look but
it's too hot for my poor little mind to function today!

Any pointers much appreciated..

Cheers,
Foss



  #5   Report Post  
Foss
 
Posts: n/a
Default

Sandy,

Thanks very much, the second one was just what I was after and I've kept
hold of the first as it'll be useful later on!

Cheers,
Foss


"Sandy Mann" wrote:

Foss,

If there is a reference date in a cell, (say A1), try:

=DATE(YEAR(A1),MONTH(A1)+(DAY(A1)20),20)-A1

If you want it to be independent of any reference cell then try:

=DATE(YEAR(TODAY()),MONTH(TODAY())+(DAY(TODAY())2 0),20)-TODAY()

in each case format the cell as General. If today's date is the 20th then
the formula will show zero

--
HTH

Sandy

Replace@mailinator with @tiscali.co.uk


"Foss" wrote in message
...
Hi there,

I need to write a formula that tells me the amount of weeks and days
before
the 20th of next month.

Has anyone got such a formula they could pass me? I had a quick look but
it's too hot for my poor little mind to function today!

Any pointers much appreciated..

Cheers,
Foss




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
How can you use count with an array formula similar to using sum PhilH Excel Worksheet Functions 3 June 27th 05 08:00 AM
Count If formula Jo Davis Excel Discussion (Misc queries) 6 May 19th 05 01:59 PM
Formula to count number of dates in an array Lilasviolet Excel Worksheet Functions 2 April 7th 05 07:44 PM
Count numbers formed from another formula Stephen Excel Discussion (Misc queries) 4 April 5th 05 02:30 AM
Formula to count the cells in a range that have a fill color. Molly F Excel Discussion (Misc queries) 2 January 19th 05 06:15 PM


All times are GMT +1. The time now is 01:29 PM.

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"