+ Reply to Thread
Results 1 to 9 of 9

A tricky Conditional Formatting question...

  1. #1
    Registered User
    Join Date
    04-13-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    6

    Unhappy A tricky Conditional Formatting question...

    Hi people

    I have a slightly complicated question.

    Data:
    excel question.PNG



    I would like to have a conditional formatting that determines in below order:
    1. If Settled? column = N...
    2. Check if Due Date is older than today
    3. Highlight the cell in Due Date in Red if it is older than today
    4. Do nothing if its not today but settled = N (donno if this step is done automatically?)

    ---If Settled? column = Y
    1. Just highlight both cell Green


    And I would like to format the whole column at the same time, wondering if the conditional formatting can do them all at the same time, because I am unsure if there's a function to determine 'if the cell on the right'

    Thank you!
    Last edited by mindfire; 05-26-2015 at 07:55 AM.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: A tricky Conditional Formatting question...

    That should be straightforward, if we knew the columns involved.
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    04-13-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: A tricky Conditional Formatting question...

    I've added in the attachment!

    Thanks

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: A tricky Conditional Formatting question...

    Select B2

    Conditional Formatting
    New Rule
    Use a formula to determine...

    =(AND(A1="N",B1<TODAY())

    Format as required
    Use Format painter (paintbrush icon) to copy to other cells
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  5. #5
    Registered User
    Join Date
    04-13-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: A tricky Conditional Formatting question...

    Hi Special-K

    It worked! So do I have to do this for every cell I add or can I do it by selecting the column (without the first row hopefully!)

    Thanks!

    Jon

  6. #6
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: A tricky Conditional Formatting question...

    Select A2:B7, goto Format>Conditional formatting..., New Rule, select Use formula to determine which cells to format, enter this formula,
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and format as required.

    Select B2:B7, goto Format>Conditional formatting..., New Rule, select Use formula to determine which cells to format, enter this formula,
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and format as required.

  7. #7
    Registered User
    Join Date
    04-13-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: A tricky Conditional Formatting question...

    Thank you Norie!

    Another question...

    There's a third column next to column B (obviously), it contains a value in £.

    I would like to now make a sum() formula in one cell in another sheet, with conditional formatting like above

    If Column A = Y, than account into the sum() formula, if Column = B, then disregard the value.

    I tried to tweak if but cannot seem to make it right with the =sum(AND(...))

    Am I thinking in the wrong direction?

    Thank you!

  8. #8
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: A tricky Conditional Formatting question...

    Not sure about your conditions but it sounds like what you want is a SUMIFS (or SUMIF if there's only one condition) formula.

    For example, if you wanted to sum column C if column A is Y you could use this.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    04-13-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: A tricky Conditional Formatting question...

    Works like magic!

    Excel is so powerful!

    Wonder how long would take to master it though...

    Thank you Norie!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Tricky conditional formatting
    By ZoharFurman in forum Excel General
    Replies: 1
    Last Post: 10-27-2013, 12:49 PM
  2. [SOLVED] Tricky one-Conditional Formatting from todays date
    By leanne2011 in forum Excel General
    Replies: 3
    Last Post: 09-15-2012, 01:28 PM
  3. [SOLVED] tricky conditional formatting!
    By wannabe_guru in forum Excel General
    Replies: 14
    Last Post: 05-07-2012, 09:34 AM
  4. tricky Advanced Conditional Formatting
    By rajbloggs in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-24-2009, 08:08 AM
  5. [SOLVED] New guy with a tricky question
    By Arian Goodwin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-10-2005, 11:50 AM

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