+ Reply to Thread
Results 1 to 5 of 5

Conditional Format Formula

  1. #1
    Registered User
    Join Date
    05-31-2013
    Location
    Somewhere
    MS-Off Ver
    Microsoft 365
    Posts
    80

    Conditional Format Formula

    Hello all,

    I'm trying to create a conditional format for an excel table.

    Sheet 1 will contain various data. Column B will contain specific data that it will be searched through. For this example, I will use Apple, Orange, Banana.

    Sheet 2 will contain other data. What I want it to do is search through a specific table on that page (let's use F5:I10 as the table example). In this table, in column H, I want it to search to see if anything of those details appear on Column B of Sheet 1. If it does, I want it to highlight that row.

    I've attached a mock up of what I'm looking for with notes.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    11-29-2022
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    430

    Re: Conditional Format Formula

    Apply this formula to the entire column H on your sheet 2. Change Sheet1 as needed. If your sheet 1 has a space in it, you have to enclose your sheet name in single quote ' '

    =COUNTIF(Sheet1!$B:$B,H1)>0

  3. #3
    Registered User
    Join Date
    05-31-2013
    Location
    Somewhere
    MS-Off Ver
    Microsoft 365
    Posts
    80

    Re: Conditional Format Formula

    Thanks. It seems to be mostly working... but only highlighting the cells in column h. I'm hoping it would highlight the whole row of data.

  4. #4
    Valued Forum Contributor
    Join Date
    11-29-2022
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    430

    Re: Conditional Format Formula

    Then apply this to the entire range of columns:

    =COUNTIF(Sheet1!$B:$B,$H1)>0

  5. #5
    Registered User
    Join Date
    05-31-2013
    Location
    Somewhere
    MS-Off Ver
    Microsoft 365
    Posts
    80

    Re: Conditional Format Formula

    Beautiful! Thanks you so much for your quick help.

+ 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 Format with formula (fill-right, drag formula)
    By jaykum in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-10-2021, 05:09 AM
  2. Replies: 12
    Last Post: 02-19-2018, 12:32 PM
  3. [SOLVED] VBA to create a relative formula in a conditional format (rather than an absolute formula)
    By The_Snook in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-07-2016, 08:00 AM
  4. Replies: 7
    Last Post: 03-24-2015, 07:44 AM
  5. formula help - conditional format to colour cell = count = formula
    By rangeruk in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-23-2015, 09:03 PM
  6. [SOLVED] Formula/format base don another conditional format
    By ketteringjack in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-12-2012, 07:35 AM
  7. Conditional Format and Formula
    By tryintogetpaid in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-13-2008, 01:43 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