![]() |
#4
|
|||
|
|||
![]() Quote:
The expression INT((MONTH(TODAY())-1)/3) returns 0 for months 1 - 3, 1 for months 4 - 6, 2 for months 7 - 8 and 3 for months 9 - 12; Multiplying the result of precious expression returns 0, 3, 6 and 9 respectively (end month of previous quarter in case you count december of previous year as 0); Adding the number of month in quarter you want the result returned for (n) to result of previous expression returns the number of this month in year; All what remains, is to use IF() to compare month numbers, and return the wanted value when there is a match. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Conditional Highlighting When Approaching End of Quarter if Date in Cell is From Previous Quarter | PrincessApril | Excel | 6 | 12-06-2019 02:38 PM |
![]() |
Marcia | Excel | 10 | 02-28-2019 05:55 AM |
![]() |
mshu31 | Word | 1 | 02-09-2017 02:04 PM |
![]() |
ddhawks | Excel | 2 | 07-12-2016 11:48 PM |
![]() |
shilabrow | Excel | 5 | 06-26-2014 12:17 AM |