Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
:) :) is offline
external usenet poster
 
Posts: 1
Default Conditional format for date

I have a list of dates (column A) say from 01/01/2005 to present and
attaching values at column B. Is it possible to have a conditional format
where the cells will be filled with colours upon data entry? Secondly, the
colours need to be arrange such that for an even year (2006,2008), the cells
is filled with a particular colour, together with the column B values. And
for odd years (2005,2007,2009), both cells are in another colour?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Conditional format for date

What version of Excel are you using?

--
Biff
Microsoft Excel MVP


":)" wrote in message
...
I have a list of dates (column A) say from 01/01/2005 to present and
attaching values at column B. Is it possible to have a conditional format
where the cells will be filled with colours upon data entry? Secondly, the
colours need to be arrange such that for an even year (2006,2008), the
cells
is filled with a particular colour, together with the column B values. And
for odd years (2005,2007,2009), both cells are in another colour?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 61
Default Conditional format for date

Hi,

Step 1: Select the entire columns A and B (by left-clicking on "A" in the
column-label bar above Row 1, and dragging, while holding the mouse-button,
to "B").
Right click anywhere in the selcted area -- Fomat Cells -- Fill tab --
pick the color you desire to have for even numbered years.

Step 2: Select the entire columns A and B as in Step 1. "Conditional
Formatting" --"New Rule"-- "Use a formula..." -- in the formula box enter
the formula
=ISODD(YEAR($A1)) -- "Format" button-- "Fill" tab -- select the color you
desire to have for odd numbered year rows -- "OK"-- "OK".

Step 3: Repeat Step 2, but with the formula, =ISBLANK($A1). This time for
the fill color select "No color"

Hope this works. If this helps, please give a feedback by clicking the
"Yes" button.

Regards,
B. R. Ramachandran




":)" wrote:

I have a list of dates (column A) say from 01/01/2005 to present and
attaching values at column B. Is it possible to have a conditional format
where the cells will be filled with colours upon data entry? Secondly, the
colours need to be arrange such that for an even year (2006,2008), the cells
is filled with a particular colour, together with the column B values. And
for odd years (2005,2007,2009), both cells are in another colour?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Conditional format for date

Hi Biff,

I am using Office 2007. Thanks for responding. Ramachandran has solved my
enquiries. Happy new year to both of you.

"T. Valko" wrote:

What version of Excel are you using?

--
Biff
Microsoft Excel MVP


":)" wrote in message
...
I have a list of dates (column A) say from 01/01/2005 to present and
attaching values at column B. Is it possible to have a conditional format
where the cells will be filled with colours upon data entry? Secondly, the
colours need to be arrange such that for an even year (2006,2008), the
cells
is filled with a particular colour, together with the column B values. And
for odd years (2005,2007,2009), both cells are in another colour?



.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Conditional format for date

Good deal. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


":)" wrote in message
...
Hi Biff,

I am using Office 2007. Thanks for responding. Ramachandran has solved my
enquiries. Happy new year to both of you.

"T. Valko" wrote:

What version of Excel are you using?

--
Biff
Microsoft Excel MVP


":)" wrote in message
...
I have a list of dates (column A) say from 01/01/2005 to present and
attaching values at column B. Is it possible to have a conditional
format
where the cells will be filled with colours upon data entry? Secondly,
the
colours need to be arrange such that for an even year (2006,2008), the
cells
is filled with a particular colour, together with the column B values.
And
for odd years (2005,2007,2009), both cells are in another colour?



.



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
Conditional Format - Date + 7 JDB Excel Discussion (Misc queries) 2 April 28th 08 02:21 PM
Conditional Format is date is Sat or Sun Sunnyskies Excel Discussion (Misc queries) 1 February 1st 07 12:40 PM
Conditional format when date is near tommcbrny Excel Worksheet Functions 2 December 15th 06 04:16 PM
Date Conditional Format jk Setting up and Configuration of Excel 3 September 25th 06 03:17 PM
Conditional Format - Date R.C. New Users to Excel 1 July 13th 06 06:50 PM


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