1st of current quater today()

W

willy

How would I use the today() function to always return the last day of the
current quarter (3 months). Also I presume the solution would be similar to
return the Monday of the current week.

I would use this when building a Gannt chart of tasks, which would
automatically have the first period as the current or next quarter, this
result goes in the first cell in the headings and each heading then is
EOMONTH(cell to the left,3).

Your thoughts would be appreciated

Aussie Bill
 
P

Peo Sjoblom

Assuming you mean calendar quarters as opposed to some finacial quarters

=DATE(YEAR(TODAY()),INDEX({3;6;9;12},INT((MONTH(TODAY())+2)/3))+1,0)

will return the last date


--


Regards,


Peo Sjoblom
 
W

willy

Spot on, works a treat

thanks very much

Peo Sjoblom said:
Assuming you mean calendar quarters as opposed to some finacial quarters

=DATE(YEAR(TODAY()),INDEX({3;6;9;12},INT((MONTH(TODAY())+2)/3))+1,0)

will return the last date


--


Regards,


Peo Sjoblom
 
W

willy

I realised the solution to return the Monday of the current week is to use

=2+(7*(INT(TODAY()/7)))
 
L

Loadmaster

Thanks Peo for the entry.

Peo Sjoblom said:
Assuming you mean calendar quarters as opposed to some finacial quarters

=DATE(YEAR(TODAY()),INDEX({3;6;9;12},INT((MONTH(TODAY())+2)/3))+1,0)

will return the last date


--


Regards,


Peo Sjoblom
 
D

Dana DeLouis

Hi. I'm missing some of the threads here, but perhaps another idea...
(assuming end of quarter)

=EOMONTH(TODAY(),MOD(MONTH(TODAY())*2,3))

- - -
HTH
Dana DeLouis
 

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

Top