+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : conditional formatting issue

Hybrid View

  1. #1
    Registered User
    Join Date
    03-21-2011
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    19

    Question conditional formatting issue

    i have a simple spreadsheet dealing with dates that im having some issues with...


    columns I N O Q

    10-JUL-09 11-APR-10 10-JUL-10 08-OCT-10


    I - LAST ANNUAL EXAM
    N- 90 DAYS BEFORE NEXT ANNUAL EXAM
    O- NEXT ANNUAL EXAM DATE
    Q- 90 DAYS AFTER NEXT ANNUAL EXAM

    WHAT IM TRYING TO DO IS HAVE THE DATES CHANGE COLORS FROM RED, GREEN, YELLOW AND NO FORMAT COLOR

    FOR COLUMN N:
    GREEN: IF TODAY IS 31-90 DAYS BEFORE (O)
    YELLOW: IF TODAY IS 1-30 DAYS BEFORE (O)
    RED: IF TODAY IS 90 OR MORE DAYS OVERDUE (O)

    COLUMN 0:

    GREEN: 31-90 DAYS BEFORE (I)
    YELLOW: 1-30 DAYS BEFORE (I)
    RED: IF TODAY IS PAST/OVERDUE FROM (I)

    COLUMN Q:

    GREEN: SAME AS ABOVE JUST ADJUSTED OFF OF COLUMN (O)
    YELLOW: IF TODAY IS 1-120 DAYS BEFORE COLUMN (O)
    RED: TODAY IS 90 DAYS OR MORE PAST THE DATE IN COLUMN (Q)

    THESE ARE THE FORMULAS IVE USED:

    GREEN: =AND(($O3-TODAY())>30,($O3-TODAY())<=90)

    YELLOW: =AND(($I3-TODAY())>0,($I3-TODAY())<=30),
    =AND(($Q3-TODAY())>0,($Q3-TODAY())<=120)

    RED: =($I3-TODAY())>=90; =TODAY()>$O3

    IDK WHAT IM DOING WRONG BUT IT SEEMS THAT THE REDS ARENT WORKING THE WAY I WANT THEM TOO. ANY HELP IS APPRECIATED.

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,110

    Re: conditional formatting issue

    Your post does not comply with Rule 8 of our Forum RULES. Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser)to the cross-post. Expect cross-posts without a link to be closed a message will be posted by the moderator explaining why. We are here to help so help us help you!

    Read this to understand why we ask you to do this.

    Also, please don't shout.
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Registered User
    Join Date
    03-21-2011
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: conditional formatting issue

    oh ok im sorry i didnt know that. i will def remember that for future posts. thank you and i promise i wont shout anymore.

+ 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