+ Reply to Thread
Results 1 to 6 of 6

Highlight 1 cell based on 3 others

  1. #1
    Registered User
    Join Date
    03-02-2020
    Location
    Haydock
    MS-Off Ver
    Web & 2019
    Posts
    5

    Highlight 1 cell based on 3 others

    I have a spreadsheet that I want to work as follows.

    A1 is highlighted red. A2 has text inputted, change A1 to orange. A3 has text inputted, change A1 to green.

    It sounds so simple and probably is but I can't for the life of me figure it out.

    Thank you.

  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,723

    Re: Highlight 1 cell based on 3 others

    Select A1, click on Conditional Formatting | New Rule | Use a formula... , then enter this formula in the dialogue box which pops up:

    =AND(A1<>"",A2<>"")

    Click on the Format button | Fill tab and choose orange, then OK your way out.

    Repeat, but use this formula:

    =AND(A1<>"",A3<>"")

    then choose green for the fill colour.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    03-02-2020
    Location
    Haydock
    MS-Off Ver
    Web & 2019
    Posts
    5

    Re: Highlight 1 cell based on 3 others

    I'm not sure whether I've explained it correctly. I'll do so again using the cells I am using.


    It's a job schedule spreadsheet.

    When A7 gets a job number, turn the cell to red.
    When F7 gets a date entered, turn A7 to orange.
    When I7 gets a date entered, turn A7 to green.

    I've tried your solution but it's not done the trick.

  4. #4
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: Highlight 1 cell based on 3 others

    =i7<>"" format green in conditional formatting select stop if true

    =f7<>"", format orange in conditional formatting select stop if true

    =a7<>"" format red select stop if true


    chose stop if true for all formats

  5. #5
    Registered User
    Join Date
    03-02-2020
    Location
    Haydock
    MS-Off Ver
    Web & 2019
    Posts
    5

    Re: Highlight 1 cell based on 3 others

    Neither fixes appear to be working.

  6. #6
    Registered User
    Join Date
    03-02-2020
    Location
    Haydock
    MS-Off Ver
    Web & 2019
    Posts
    5

    Re: Highlight 1 cell based on 3 others

    Scrap that, it's worked.

+ 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. Formula to validate cell values and highlight another cell based on results
    By heatherlockhart in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-24-2019, 03:24 PM
  2. [SOLVED] Highlight one cell based on value of another
    By jehster1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-07-2018, 03:21 PM
  3. Replies: 1
    Last Post: 03-27-2018, 11:36 AM
  4. [SOLVED] Highlight cell based on total quantity value based on repeated order numbers
    By PWilson0727 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-29-2014, 02:02 PM
  5. [SOLVED] Highlight cell based on selected cell - Code required
    By SharpL in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-24-2014, 09:48 AM
  6. Replies: 1
    Last Post: 01-20-2014, 03:52 AM
  7. Highlight a Row based on a cell
    By webstar in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 05-16-2007, 01:50 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