+ Reply to Thread
Results 1 to 5 of 5

Conditional Formatting based on Multiple Values of other Cells

  1. #1
    Registered User
    Join Date
    09-02-2016
    Location
    Ontario
    MS-Off Ver
    2013
    Posts
    2

    Conditional Formatting based on Multiple Values of other Cells

    Hello,

    I have been looking around for an answer to this, and have no come across anything that may assist with my current situation.
    I have 2 Sheets in Excel, one is already filled out with Data such as

    Name Number
    Ben 1
    Steve 1
    Ben 2
    Chad 3

    I am looking for Conditional formatting so that if in the second sheet someone enters something that matches both criteria, it becomes highlighted.
    So if someone were to enter

    Ben 1

    This would cause it to highlight as that exact match of name and number exists on the other sheet, whereas something like

    Ben 3

    This would not cause it to highlight.

    More or less looking to highlight anything that is a duplicate of the previous sheet.

    Conditional Formatting is definitely not my strong suit, so any help would be appreciated.

  2. #2
    Forum Contributor
    Join Date
    06-28-2016
    Location
    Pennsylvania, USA
    MS-Off Ver
    2013
    Posts
    308

    Re: Conditional Formatting based on Multiple Values of other Cells

    Hi, this can be done with helper columns.

    If those were both entered in column A and B respectively, in column C you could enter this (on both sheets, change the sheet ref):

    Please Login or Register  to view this content.
    That would give you a column that has both values, you could then hide this column after everything.

    From there, you click a cell in row 1 and use a formula to highlight cells (under more options):

    Please Login or Register  to view this content.
    Then change the range to the entire sheet (backspace out the range, and click the diagonal square thing in the upper left corner of workbook).

    That should work, but I didn't test because there wasn't a sample workbook and didn't feel like making sample data. So if there are issues, let me know and please attach a sample workbook.

  3. #3
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Conditional Formatting based on Multiple Values of other Cells

    Welcome to Excel Forum.
    Another consideration would be to use the conditional formatting rule:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    The attached file has this rule applied to Sheet2 A2:A5.
    Let me know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  4. #4
    Registered User
    Join Date
    09-02-2016
    Location
    Ontario
    MS-Off Ver
    2013
    Posts
    2

    Re: Conditional Formatting based on Multiple Values of other Cells

    Hello,

    Thank you both for the help, while working with both, I was able to get it to work from what JeteMc had posted. This was a massive help as I had been bashing my head on a wall on this one.

    Thank you both again!

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Conditional Formatting based on Multiple Values of other Cells

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread 'Solved' using the thread tools link above your first post. I hope that you have a blessed day.

+ 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, based ot multiple values in 2 cells.
    By kaosbg in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-04-2014, 02:47 PM
  2. Replies: 4
    Last Post: 07-25-2014, 05:17 AM
  3. Replies: 2
    Last Post: 06-20-2014, 10:48 AM
  4. Replies: 6
    Last Post: 06-03-2014, 08:40 PM
  5. Conditional Formatting Based on Multiple Text Values
    By Butman in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 03-19-2014, 11:57 PM
  6. [SOLVED] Conditional Formatting based on multiple values in table
    By jcox1953 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-09-2014, 07:30 PM
  7. Replies: 2
    Last Post: 08-27-2011, 03:05 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