+ Reply to Thread
Results 1 to 4 of 4

Conditional formatting based upon two cell's data

  1. #1
    Registered User
    Join Date
    04-24-2020
    Location
    Winnipeg, Manitoba
    MS-Off Ver
    2016
    Posts
    2

    Conditional formatting based upon two cell's data

    Hello, I'm just diving into the world of conditional formatting.

    I am comparing the speeds of different brands of SD cards. I want to highlight those that have a speed above the acceptable range green, and those below the acceptable range red.
    However, the different brands and different tests will have different range limits.

    For example, I want it to look at column D, if it has the text "Samsung" then it looks at column M and if the value is greater than 7300 it highlights the cell green, it it's below 7300 then it highlights it red. If the cell in column D has the text "SanDisk", then I want the range for column M to be greater than 6000 = green highlight, less than 6000 = red highlight, etc.

    I'm hoping to do this highlighting for all the parameters I am testing (columns I, J, K, L, M, N).

    I think I just need a fairly simple equation that I tweak for each column/manufacturer/highlight colour, but I'm not sure?

    Any help would be greatly appreciated.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,732

    Re: Conditional formatting based upon two cell's data

    best way maybe to have a sheet with the manufacturer and the speed & other values and and then lookup the value and compare

    =$M2>INDEX(Sheet2!$B:$B,MATCH($D2,Sheet2!$A:$A,0))
    for green
    You could then just have a normal fill of red
    For the column , then the conditional formatting will overwrite with Green
    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.

  3. #3
    Registered User
    Join Date
    04-24-2020
    Location
    Winnipeg, Manitoba
    MS-Off Ver
    2016
    Posts
    2

    Re: Conditional formatting based upon two cell's data

    Yes, that works! Thank you very much!

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,732

    Re: Conditional formatting based upon two cell's data

    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. Conditional Formatting of Data Bars based on value from another cell
    By Sanjibghosh in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 07-27-2017, 07:31 AM
  2. Conditional Formatting or Data Validation for 1 cell based on another but limited data?
    By ExcelBeginner326 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-10-2015, 01:25 PM
  3. Conditional formatting based on data in another cell
    By pp22 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-15-2015, 07:26 AM
  4. Replies: 3
    Last Post: 04-15-2014, 10:24 AM
  5. [SOLVED] Conditional formatting based on cell data
    By cle12000 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-03-2014, 11:48 AM
  6. Conditional formatting on a Cell with DATA BARS, based on value of another cell
    By nikeshghimire in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-15-2012, 08:13 AM
  7. Replies: 2
    Last Post: 12-21-2011, 06:01 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