+ Reply to Thread
Results 1 to 10 of 10

How do I change the colors in a column of cells automatically when I open a worksheet

  1. #1
    Registered User
    Join Date
    07-05-2012
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    5

    How do I change the colors in a column of cells automatically when I open a worksheet

    Hello,

    I am in the process of creating a spreadsheet based on a project gantt chart without using an actual chart. So far I have gotten the cells to change color based on start & end dates and changed the color based on weekends and holidays but I can't seem to get the colors in the cells to highlight from one day to the next based on today's date.
    I want to create a function that will highlight the cells in the column if they relate to today's date (this will change when the sheet us opened each day). I have seen this used in other charts but I do not know if this can be done with an IF, AND, or ? statement or if I have to get into more difficult formulas? Any help would be greatly appreciated

    Thanks

    Barb

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: How do I change the colors in a column of cells automatically when I open a worksheet

    If date is in row 1, then conditional format would be something like:

    A$1=TODAY()

    where you selected range from A1 and across and down... and row 1 contains dates to check against.

    If this doesn't work, post a sample workbook indicating your requirements.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    07-05-2012
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: How do I change the colors in a column of cells automatically when I open a worksheet

    Here is the spreadsheet that I am working on
    Attached Files Attached Files

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: How do I change the colors in a column of cells automatically when I open a worksheet

    Select from D3:O15 and use conditional format formula:

    =D$3=$A$1

  5. #5
    Registered User
    Join Date
    07-05-2012
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: How do I change the colors in a column of cells automatically when I open a worksheet

    Thanks - that worked

    Can you help me with the other part of my problem listed in the spreadsheet pertaining to the scroll bar?

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: How do I change the colors in a column of cells automatically when I open a worksheet

    I don't understand it.

    Also, the scroll bar appears to be a picture?

  7. #7
    Registered User
    Join Date
    07-05-2012
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: How do I change the colors in a column of cells automatically when I open a worksheet

    It is added using the developer tab - insert scroll bar

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: How do I change the colors in a column of cells automatically when I open a worksheet

    Ok, so probably because you used 2010... in 2007, that appears as a picture object.. anyway I can replicate it with 2007... but what is it you want the bar to do?

  9. #9
    Registered User
    Join Date
    07-05-2012
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: How do I change the colors in a column of cells automatically when I open a worksheet

    I actually figured it out - I had to format the value based on a 1 year scroll (365 days) that revolved around a project start date.

  10. #10
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: How do I change the colors in a column of cells automatically when I open a worksheet

    Ok, fine. Thanks for reporting back.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1