+ Reply to Thread
Results 1 to 3 of 3

Vlookup check - struggling with formula

  1. #1
    Registered User
    Join Date
    07-16-2007
    Posts
    30

    Vlookup check - struggling with formula

    In the attached spreadsheet I need a formula that will:

    For every item in column A "Ref" in the "Summary" workbook
    Check to see if the value is in either of the named ranges "Lookup1" or "Lookup2"
    Then in Column A on the summary sheet put in conditional formatting that will color any value not in either list red.

    I want to highlight any values on the Summary workbook not in either of the ranges. So in the example highlight 3 and 4 as they are in neither list.

    I've been mucking about with the look-up formulas in columns B and C and have the logic to check of the value exists, but can't crack a conditional format formula to highlight any item not in either list.

    Would appreciate some help on this one if possible please.
    Attached Files Attached Files

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

    Re: Vlookup check - struggling with formula

    In the attached file I've defined the named ranges Lookup1 and Lookup2 on those sheets, then the conditional format formula is:

    =COUNTIF(Lookup1,A2)+COUNTIF(Lookup2,A2)=0

    to turn the background colour to red.

    Hope this helps.

    Pete
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-16-2007
    Posts
    30

    Re: Vlookup check - struggling with formula

    Just the ticket - many thanks for your assistance.

+ 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] Struggling with COUNTIFS formula - help!
    By Joey_997 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-03-2014, 10:54 AM
  2. I'm struggling to get a formula to populate a list
    By Macjay22 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-30-2013, 07:37 PM
  3. struggling with lastrow formula
    By skalaima in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-16-2013, 02:05 PM
  4. Using a VLOOKUP Formula to Check If a Value Exists
    By skip in forum Tips and Tutorials
    Replies: 2
    Last Post: 07-23-2008, 08:41 PM
  5. Struggling Again With A VLOOKUP
    By JohnK in forum Excel Formulas & Functions
    Replies: 63
    Last Post: 09-06-2005, 07:05 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