+ Reply to Thread
Results 1 to 5 of 5

conditionally formating one cell based of the condition of another?

  1. #1
    Registered User
    Join Date
    04-30-2012
    Location
    Vermont, USA
    MS-Off Ver
    Excel 2013
    Posts
    20

    conditionally formating one cell based of the condition of another?

    I have two cells B8 and B9.

    B8 Simply states the phraseLast Flight
    B9 is a formula that gives a date referencing other cells as long as data was input on that specific date

    B9 is conditionally formated so that it turns yellow if the last flight was between 53 and 59 days ago (as a warning)
    B9 is also formated so that it turns red when the last flight is 60 or more days ago.

    I would like the text in B8 to mirror B9's formating. For some reason I have been screwing up formating and it should be as easy as referencing the same columns... currently I have the following in B8 and B9 (but only B9 changes color)

    Yellow if cell value is between =$C$9-53 and =$C$9-59
    Red if cell value is less than =$C$9-60

    FYI C9=TODAY()

    Thanks for any help, one day I will get this down...

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,797

    Re: conditionally formating one cell based of the condition of another?

    That will work for B9 as its cell value can be compared to TODAY. However, the value in B8 cannot. You need to change the conditional formatting so that it uses a formula (at the bottom of the list), and the formula in both cells should be:

    =$B$9 < $C$9-60

    for red, and:

    =AND($B$9<=$C$9-53,$B$9>=$C$9-59)

    for yellow.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    04-30-2012
    Location
    Vermont, USA
    MS-Off Ver
    Excel 2013
    Posts
    20

    Re: conditionally formating one cell based of the condition of another?

    sure does! quick last question, any way to format the tab color to follow the same formating?

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,797

    Re: conditionally formating one cell based of the condition of another?

    Conditional formatting only works on cells. You have to colour the tabs manually.

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    04-30-2012
    Location
    Vermont, USA
    MS-Off Ver
    Excel 2013
    Posts
    20

    Re: conditionally formating one cell based of the condition of another?

    bummer, thanks again for helping!

+ 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. Help with Condition based formating
    By Kartoffelmos in forum Excel General
    Replies: 2
    Last Post: 10-21-2014, 07:17 AM
  2. [SOLVED] Diagram Color (Condition based formating)
    By Kartoffelmos in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-21-2014, 05:21 AM
  3. Copy or link formating from conditionally formated cell to another cell
    By dabigshue in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-12-2014, 07:59 PM
  4. Condition formating a cell in a worksheet based off formating of another cell
    By bdberger1985 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-07-2013, 05:52 PM
  5. Replies: 3
    Last Post: 01-21-2013, 12:30 PM

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