Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 30
Default conditional formatting

I am trying to automate the colour of a cell depending on a date. In
cells A4:Z4 I have the weekending date starting at 08/01/2010 in A4,
then A4+7 in B4 then autofilling to Z4.

In cells C3:C100 I have the date I reviewed a Risk Assessment and
would like the cell that is closest to that date in A4:Z4 to
automatically colour "Red" to say that the next review is due that
week.

Can anyone help with this?

Thanks

Peter
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default conditional formatting

It's not real clear what you want to do.

Do you want to highlight a cell in A4:Z4 or C3:C100?

A4:Z4 would contain 26 dates and C3:C100 would contain 98 dates. How can you
do a 1 to 1 comparison like that?

--
Biff
Microsoft Excel MVP


"Pete" wrote in message
...
I am trying to automate the colour of a cell depending on a date. In
cells A4:Z4 I have the weekending date starting at 08/01/2010 in A4,
then A4+7 in B4 then autofilling to Z4.

In cells C3:C100 I have the date I reviewed a Risk Assessment and
would like the cell that is closest to that date in A4:Z4 to
automatically colour "Red" to say that the next review is due that
week.

Can anyone help with this?

Thanks

Peter



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 30
Default conditional formatting

On Jan 22, 2:14*am, "T. Valko" wrote:
It's not real clear what you want to do.

Do you want to highlight a cell in A4:Z4 or C3:C100?

A4:Z4 would contain 26 dates and C3:C100 would contain 98 dates. How can you
do a 1 to 1 comparison like that?

--
Biff
Microsoft Excel MVP

"Pete" wrote in message

...



Bill,

If C3=04/04/2010 and J1 contains 04/04/2010 then I would want Cell J3
to highlight. If there is not an exact match, I would want to
highlight the cell at the Intersection that matches the closes date to
that in Column C. e.g


01/01/10,08/01/10,15/01/10,22/01/10.............24/02/10,02/03/10,09/03/10,16/03/10
etc, etc
08/01/10 Highlight
22/02/10
Highlight
03/03/10
Highlight

Hope this makes more sense

Peter

  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 30
Default conditional formatting

On Jan 22, 5:55*pm, Pete wrote:
On Jan 22, 2:14*am, "T. Valko" wrote:



It's not real clear what you want to do.


Do you want to highlight a cell in A4:Z4 or C3:C100?


A4:Z4 would contain 26 dates and C3:C100 would contain 98 dates. How can you
do a 1 to 1 comparison like that?


--
Biff
Microsoft Excel MVP


"Pete" wrote in message


....


Bill,

If C3=04/04/2010 and J1 contains 04/04/2010 then I would want Cell J3
to highlight. If there is not an exact match, I would want to
highlight the cell at the Intersection that matches the closes date to
that in Column C. e.g

01/01/10,08/01/10,15/01/10,22/01/10.............24/02/10,02/03/10,09/03/10,*16/03/10
etc, etc
08/01/10 * * * * * * *Highlight
22/02/10
Highlight
03/03/10
Highlight

Hope this makes more sense

Peter- Hide quoted text -

- Show quoted text -


Sorry Bill, that hasn't formatted correctly I doubt you be able to see
what I mean from my reply.
  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default conditional formatting

Sorry, I don't understand.

--
Biff
Microsoft Excel MVP


"Pete" wrote in message
...
On Jan 22, 2:14 am, "T. Valko" wrote:
It's not real clear what you want to do.

Do you want to highlight a cell in A4:Z4 or C3:C100?

A4:Z4 would contain 26 dates and C3:C100 would contain 98 dates. How can
you
do a 1 to 1 comparison like that?

--
Biff
Microsoft Excel MVP

"Pete" wrote in message

...



Bill,

If C3=04/04/2010 and J1 contains 04/04/2010 then I would want Cell J3
to highlight. If there is not an exact match, I would want to
highlight the cell at the Intersection that matches the closes date to
that in Column C. e.g


01/01/10,08/01/10,15/01/10,22/01/10.............24/02/10,02/03/10,09/03/10,16/03/10
etc, etc
08/01/10 Highlight
22/02/10
Highlight
03/03/10
Highlight

Hope this makes more sense

Peter


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
How can I convert conditional formatting into explicit formatting? Patrick Harris Excel Discussion (Misc queries) 0 April 9th 09 12:00 AM
Conditional formatting--different formatting depending on cell con Tammy S. Excel Discussion (Misc queries) 3 March 30th 09 08:11 PM
Formatting cells in a column with conditional formatting? shamor Excel Discussion (Misc queries) 8 May 19th 08 10:11 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


All times are GMT +1. The time now is 04:28 PM.

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"