Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
CF for next month/this year
I recently got this formula from Dave, thanks :
=text(A1,"yyyymm")=text(today(),"yyyymm") to use it in conditional formatting and color RED all dates for this month. Now I need the "contraparte" for another worsheet : CF to color GREEN all dates for next month, today is October, next month will be November, Etc. Autoupdating like the above formula does. THANKS in advance. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
CF for next month/this year
computexcel wrote:
I recently got this formula from Dave, thanks : =text(A1,"yyyymm")=text(today(),"yyyymm") to use it in conditional formatting and color RED all dates for this month. Now I need the "contraparte" for another worsheet : CF to color GREEN all dates for next month, today is October, next month will be November, Etc. Autoupdating like the above formula does. THANKS in advance. =DATE(YEAR(A3),MONTH(A3),1)=DATE(YEAR(TODAY()),MON TH(TODAY())+1,1) ^^ Works across year-ends as well. Adjust the bit above ^^ to make this relative to any number of months. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
CF for next month/this year
Change today() to DATE(YEAR(Today()),MONTH(Today())+1,1)
-- David Biddulph "computexcel" wrote in message ... I recently got this formula from Dave, thanks : =text(A1,"yyyymm")=text(today(),"yyyymm") to use it in conditional formatting and color RED all dates for this month. Now I need the "contraparte" for another worsheet : CF to color GREEN all dates for next month, today is October, next month will be November, Etc. Autoupdating like the above formula does. THANKS in advance. |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
CF for next month/this year
.. CF to color GREEN all dates for next month ..
Think you could try: =TEXT(A1,"yyyymm")=TEXT(DATE(YEAR(TODAY()),MONTH(T ODAY())+1,1),"yyyymm") -- Max Singapore http://savefile.com/projects/236895 Downloads:17,800 Files:359 Subscribers:56 xdemechanik --- |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
CF for next month/this year
Like my cat says "Purrrfect".All three formulas.
Thanks smartin, David and Max you are very kind. "Max" wrote: .. CF to color GREEN all dates for next month .. Think you could try: =TEXT(A1,"yyyymm")=TEXT(DATE(YEAR(TODAY()),MONTH(T ODAY())+1,1),"yyyymm") -- Max Singapore http://savefile.com/projects/236895 Downloads:17,800 Files:359 Subscribers:56 xdemechanik --- |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
CF for next month/this year
computexcel wrote:
Like my cat says "Purrrfect".All three formulas. Thanks smartin, David and Max you are very kind. Glad you found an answer. My cat says "mwraowwwwr?", but he's a little touched. |
#7
Posted to microsoft.public.excel.misc
|
|||
|
|||
CF for next month/this year
Welcome, thanks for feeding back.
-- Max Singapore http://savefile.com/projects/236895 Downloads:17,800, Files:359, Subscribers:56 xdemechanik --- "computexcel" wrote in message ... Like my cat says "Purrrfect".All three formulas. Thanks smartin, David and Max you are very kind. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Tell me which "season" (Month/Day through Month/Day) a date(Month/Day/Year) falls in (any year)??? | Excel Discussion (Misc queries) | |||
Sort month/date/year data using month and date only | Excel Discussion (Misc queries) | |||
trying to get day/month/year froamt while user enters year only | New Users to Excel | |||
How to use month() and day() without considering year()? | Excel Discussion (Misc queries) | |||
Sum by month and year | Excel Discussion (Misc queries) |