Count down formula

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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())>20),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
(e-mail address removed)
Replace@mailinator with @tiscali.co.uk
 
One way

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

--
Regards,

Peo Sjoblom

(No private emails please)
 
Hi there Peo,

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

Cheers,
Foss
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top