+ Reply to Thread
Results 1 to 6 of 6

If cell is marked as done, color both cells

  1. #1
    Registered User
    Join Date
    04-17-2020
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    24

    If cell is marked as done, color both cells

    Hi,

    Under the 'Follow-up needed' section, I've set it to turn red in the cell if you write 'Yes' because it's obviously not done (simple conditional formatting). But when you've completed the follow-up and thus mark the follow-up as complete (in cell H4), I want both 'Follow-up needed' and 'Follow-up done' to turn green.
    Sk?rmbild 2023-09-11.png

    Is there any way to do this? My first thought was to use the GET.CELL-function to retrieve the cell color in F4 and then use this information with a IF-OR formula. The problem is that the GET.CELL-function doesn't seem to exist in the Swedish language version of Excel. Is there any other way around this?

    Here's the sample file: Example.xlsx

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: If cell is marked as done, color both cells

    New rule for F4:

    =AND($F4="Yes",$H4="Yes")

    Applies to: =$F$4,$H$4
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: If cell is marked as done, color both cells

    change you existing condition to
    =AND($F4="yes",$H4<>"complete")

    then you can have green as a 2nd conditional format

    =$H4="complete"


    for 2007, 2010 , 2013 , 2016 , 2019 or 365 Subscription excel version
    Conditional Formatting

    Highlight applicable range >>
    F4 - Change, reduce or extend the rows to meet your data range of rows

    Home Tab >> Styles >> Conditional Formatting
    New Rule >> Use a formula to determine which cells to format
    Edit the Rule Description: Format values where this formula is true:
    ==AND($F4="yes",$H4<>"complete")

    Format [Number, Font, Border, Fill]
    choose the format you would like to apply when the condition is true
    OK >> OK

    then a new rule

    for 2007, 2010 , 2013 , 2016 , 2019 or 365 Subscription excel version
    Conditional Formatting

    Highlight applicable range >>
    F4 and H4 using the control key for non contiguous - Change, reduce or extend the rows to meet your data range of rows

    Home Tab >> Styles >> Conditional Formatting
    New Rule >> Use a formula to determine which cells to format
    Edit the Rule Description: Format values where this formula is true:
    =$H4="complete"

    Format [Number, Font, Border, Fill]
    choose the format you would like to apply when the condition is true
    OK >> OK
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: If cell is marked as done, color both cells

    Seen, but no response ...

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

  5. #5
    Registered User
    Join Date
    04-17-2020
    Location
    Sweden
    MS-Off Ver
    Office 365
    Posts
    24

    Thumbs up Re: If cell is marked as done, color both cells

    Thanks to both of you!

  6. #6
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: If cell is marked as done, color both cells

    you are welcome

+ 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. [SOLVED] Help making marked cell stay put while i sort list taking info from marked cells.
    By The_Sunken_Swede in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-18-2023, 09:11 AM
  2. Replies: 3
    Last Post: 05-11-2023, 10:15 AM
  3. [SOLVED] How to count expired cells but only if they aren't marked with YES in another cell
    By SamEliz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-09-2019, 11:46 AM
  4. Replies: 8
    Last Post: 07-26-2017, 02:01 PM
  5. Email a range of cells in outlook if a cell is marked with x
    By chrisshetland in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-11-2015, 02:06 PM
  6. Replies: 4
    Last Post: 08-19-2014, 08:38 AM
  7. Mark all cells on the same rows as another marked cell
    By Clothos in forum Excel General
    Replies: 1
    Last Post: 01-28-2012, 12:58 PM

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