+ Reply to Thread
Results 1 to 9 of 9

Formula/format base don another conditional format

  1. #1
    Registered User
    Join Date
    06-11-2012
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    6

    Formula/format base don another conditional format

    I hope my description is okay.

    Here goes ........ I have an excel table (see below) which as a column calculated on the column before. I need to have a nother column return words based on this calculation.

    A = reference
    B = a future date
    C = days from today based on the (calculation =DAYS360(A1,B2) etc
    -- this has a conditional format attached:
    -- green if C is >180
    -- orange if C is between 0 & 179
    -- red is less than 0
    D = i need this column to state
    -- "in" if C is >180
    -- "due" if C is between 0 & 179
    -- "overdue" if C is less than 0


    A B C D
    1 =today()
    2 Hit1 30/04/14 679
    3 Hit2 05/03/14 624
    4 Hit3 01/04/12 -70
    5 Hit4 06/06/13 355
    6 Hit5 31/07/12 50

    Many thanks for reading the above and for you help - Adam

  2. #2
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Formula/format base don another conditional format

    Hi, any chance you could post a dummy workbook (without any sensitive data) so we can better understand your query?

    S.
    If I've been of help, please hit the star

  3. #3
    Registered User
    Join Date
    06-11-2012
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Formula/format base don another conditional format

    Hope this works

    Column D has been ;left blank as this is the column i need to complete with "in", "due" or "overdue"
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Formula/format base don another conditional format

    Put the below formula in cell D3 and copy down.

    =IF(C3<0,"Overdue",IF(AND(C3>=0,C3<=179),"Due",IF(C3>=180,"In","")))

    Hope that helps.

    S.

  5. #5
    Registered User
    Join Date
    06-11-2012
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Formula/format base don another conditional format

    This is brilliant and works fab

    Is there a way to include other parts for example if a cell C6 has the word new in it can this be included in the formula?

  6. #6
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Formula/format base don another conditional format

    Not sure I understand what you mean...

  7. #7
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Formula/format base don another conditional format

    ...But perhaps this is what you're after..?

    =IF(C3="New","New",IF(C3<0,"Overdue",IF(AND(C3>=0,C3<=179),"Due",IF(C3>=180,"In",""))))

  8. #8
    Registered User
    Join Date
    06-11-2012
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Formula/format base don another conditional format

    Brilliant - many thanks

  9. #9
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: Formula/format base don another conditional format

    Pleasure was all mine

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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