Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
mlm mlm is offline
external usenet poster
 
Posts: 6
Default cond'tnal format 4 date changes

is there a way to do a conditional format for whenever a
date changes to the next month to change color?

I have a row of columns which is set up for 60 days.
(2months) i would like for one to start out as color
chosen then chnage as the month changes? i would do a
normal format but then again there isnt 30 days every
month.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default cond'tnal format 4 date changes

assume your first cell with a date is C22

select C22 to BJ22 (C22 is the active cell)

format = conditional formatting

Formula is
=month($C$22)<Month(C22)

then set your formatting

click OK

--
Regards,
Tom Ogilvy


"mlm" wrote in message
...
is there a way to do a conditional format for whenever a
date changes to the next month to change color?

I have a row of columns which is set up for 60 days.
(2months) i would like for one to start out as color
chosen then chnage as the month changes? i would do a
normal format but then again there isnt 30 days every
month.



  #3   Report Post  
Posted to microsoft.public.excel.programming
mlm mlm is offline
external usenet poster
 
Posts: 6
Default cond'tnal format 4 date changes

tom ..i put in what you said ..
it seem to do nothing.

i have cells G32 thru AT 32 as date cells. I put int he
formula as exact and without the = sign since it adds it
once ok'd..did i miss somehting somewhere??? or??

thanks.

-----Original Message-----
assume your first cell with a date is C22

select C22 to BJ22 (C22 is the active cell)

format = conditional formatting

Formula is
=month($C$22)<Month(C22)

then set your formatting

click OK

--
Regards,
Tom Ogilvy


"mlm" wrote in message
...
is there a way to do a conditional format for whenever

a
date changes to the next month to change color?

I have a row of columns which is set up for 60 days.
(2months) i would like for one to start out as color
chosen then chnage as the month changes? i would do a
normal format but then again there isnt 30 days every
month.



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default cond'tnal format 4 date changes

If your dates don't span two months, then it won't do anything. If they do,
it will shade the second month. This matches your description. the first
month would be the normal cell color and the second month would be the
conditionally formatted cell color.

If it doesn't work for you, then you have done something wrong. It worked
fine for me.

--

Regards,
Tom Ogilvy



"mlm" wrote in message
...
tom ..i put in what you said ..
it seem to do nothing.

i have cells G32 thru AT 32 as date cells. I put int he
formula as exact and without the = sign since it adds it
once ok'd..did i miss somehting somewhere??? or??

thanks.

-----Original Message-----
assume your first cell with a date is C22

select C22 to BJ22 (C22 is the active cell)

format = conditional formatting

Formula is
=month($C$22)<Month(C22)

then set your formatting

click OK

--
Regards,
Tom Ogilvy


"mlm" wrote in message
...
is there a way to do a conditional format for whenever

a
date changes to the next month to change color?

I have a row of columns which is set up for 60 days.
(2months) i would like for one to start out as color
chosen then chnage as the month changes? i would do a
normal format but then again there isnt 30 days every
month.



.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
permanent conversion of 1904 date format to 1900 date format Jos Excel Worksheet Functions 4 November 26th 15 02:48 PM
How do I convert dd/mm/yy date format to yyddd Julian date format itzy bitzy[_2_] Excel Worksheet Functions 8 December 11th 09 03:20 AM
Convert european foreign date format to US date format EAL Excel Worksheet Functions 1 May 14th 09 10:02 PM
Excel 2000 date format cannot be set to Australian date format Brian Jones Excel Discussion (Misc queries) 1 March 30th 05 06:03 AM
Change a date in text format xx.xx.20xx to a recognised date format concatenator Excel Programming 1 November 24th 03 11:33 PM


All times are GMT +1. The time now is 05:46 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"