Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
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
![]() |
|||
|
|||
![]()
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
![]() |
|||
|
|||
![]()
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
![]() |
|||
|
|||
![]()
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
![]() |
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can you use count with an array formula similar to using sum | Excel Worksheet Functions | |||
Count If formula | Excel Discussion (Misc queries) | |||
Formula to count number of dates in an array | Excel Worksheet Functions | |||
Count numbers formed from another formula | Excel Discussion (Misc queries) | |||
Formula to count the cells in a range that have a fill color. | Excel Discussion (Misc queries) |