Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 86
Default Conditional Format - If day = 24 or 25

Hi All,

Is there a way to format a cell based on the day of the month?

I'd like the cell colour to change if it's the 24th or 25th of the
month.

Thanks if you know.

Michele
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Conditional Format - If day = 24 or 25

Michele,

Suppose your dates are in column D, starting with D2. Highlight the
cells from D2 down, then bring up the CF dialogue box. Select Formula
Is rather than Cell Value Is in the first box, and enter this formula:

=OR(DAY(D2)=24,DAY(D2)=25)

then click on the Format button and choose your background colour from
the Patterns tab. OK your way out.

Hope this helps.

Pete

On Jan 26, 1:17*am, mjones wrote:
Hi All,

Is there a way to format a cell based on the day of the month?

I'd like the cell colour to change if it's the 24th or 25th of the
month.

Thanks if you know.

Michele


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 86
Default Conditional Format - If day = 24 or 25

On Jan 25, 8:22*pm, Pete_UK wrote:
Michele,

Suppose your dates are in column D, starting with D2. Highlight the
cells from D2 down, then bring up the CF dialogue box. Select Formula
Is rather than Cell Value Is in the first box, and enter this formula:

=OR(DAY(D2)=24,DAY(D2)=25)

then click on the Format button and choose your background colour from
the Patterns tab. OK your way out.

Hope this helps.

Pete

On Jan 26, 1:17*am, mjones wrote:

Hi All,


Is there a way to format a cell based on the day of the month?


I'd like the cell colour to change if it's the 24th or 25th of the
month.


Thanks if you know.


Michele


Thanks for replying. I need to clarify though.

I meant the actual day, like today() knows the actual date. The date
is not in a cell.

Is this still possible?
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Conditional Format - If day = 24 or 25

In that case you would use this formula:

=OR(DAY(TODAY())=24,DAY(TODAY())=25)

Hope this helps.

Pete

On Jan 26, 1:27*am, mjones wrote:

Thanks for replying. *I need to clarify though.

I meant the actual day, like today() knows the actual date. *The date
is not in a cell.

Is this still possible?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 86
Default Conditional Format - If day = 24 or 25

On Jan 25, 8:41*pm, Pete_UK wrote:
In that case you would use this formula:

=OR(DAY(TODAY())=24,DAY(TODAY())=25)

Hope this helps.

Pete

On Jan 26, 1:27*am, mjones wrote:



Thanks for replying. *I need to clarify though.


I meant the actual day, like today() knows the actual date. *The date
is not in a cell.


Is this still possible?


Great. Thanks!!!!


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Conditional Format - If day = 24 or 25

You're welcome, Michele - thanks for feeding back.

Pete

On Jan 26, 1:49*am, mjones wrote:

Great. *Thanks!!!!!

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
New Conditional Format Overriding Previous Conditional Format Rene Excel Discussion (Misc queries) 3 February 27th 08 06:08 PM
How to create a conditional format that changes the number format tmbo Excel Discussion (Misc queries) 1 August 23rd 06 06:20 AM
Conditional Format - Format Transfer To Chart ju1eshart Excel Discussion (Misc queries) 0 June 1st 06 02:46 PM
copy conditional format to regular format GDC Setting up and Configuration of Excel 3 May 4th 05 09:35 PM
copy conditional format as ACTUAL format Dana Zulager Excel Discussion (Misc queries) 7 December 7th 04 11:02 PM


All times are GMT +1. The time now is 10:29 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"