+ Reply to Thread
Results 1 to 5 of 5

Calculation according to Color Coding??

  1. #1
    Registered User
    Join Date
    02-21-2008
    Posts
    31

    Question Calculation according to Color Coding??

    I have a spreadsheet where I track reviews and the names are color coded. (See below)

    Color Coding:
    White: due in 3 months
    Yellow: due in 6 months
    Orange: due in 12 months

    If a review is done on Oct 23-07 (variable) and the color of the name cell is yellow, then the next review will be due on April 23-08. I need a formula to look at the name cell and calculate the next review date based on the color of the cell. Can this be done??? (The result will be an EDATE calculation.)

    I have attached a pic of the spreadsheet.

    Any help would be appreciated.

    Thanks.
    Attached Images Attached Images

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    It would be better to do it in reverse fashion; calculate the next review date, and use conditional formatting based on that result.

  3. #3
    Registered User
    Join Date
    02-21-2008
    Posts
    31

    Won't work...

    I need the color coding to determine the calculation not the reverse...

    Quote Originally Posted by shg
    It would be better to do it in reverse fashion; calculate the next review date, and use conditional formatting based on that result.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    It would require VBA to do this (or an XLM Macro), and changing the color would not cause the date to be recalculated (changing a cell color does not generate an event that can be trapped).

    So if the color means something (i.e., yellow means review every six months, white means 3 mos, and rose means annually, as your example suggests), then you might instead put that info in a column, and used it to both conditionally format the cell to a color and compute the review date.

  5. #5
    Registered User
    Join Date
    02-21-2008
    Posts
    31

    Thanks....

    Thanks, I'll try that instead.

    R


    Quote Originally Posted by shg
    It would require VBA to do this (or an XLM Macro), and changing the color would not cause the date to be recalculated (changing a cell color does not generate an event that can be trapped).

    So if the color means something (i.e., yellow means review every six months, white means 3 mos, and rose means annually, as your example suggests), then you might instead put that info in a column, and used it to both conditionally format the cell to a color and compute the review date.

+ 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