+ Reply to Thread
Results 1 to 4 of 4

Matching Table Arrarys

  1. #1
    Registered User
    Join Date
    02-27-2017
    Location
    Greensboro, NC
    MS-Off Ver
    2016
    Posts
    1

    Matching Table Arrarys

    Hello everyone,

    I am attempting to have Excel search through a column array and return values that match my lookup value. I don't care if the values are in a particular order within the array, I just want to know that the values are in there. Here's an example of what I'm referring to.

    Sheet1 A1:A10 matching it with Sheet2 F1:F10, where Sheet1 A1 contains my lookup value and Sheet2 contains my table array. I've tried the formula and it did not work:

    IF(ISNA(VLOOKUP(Sheet 1 A1,F1:F10,1,FALSE)),"No","Yes")

    I appreciate your help with this.

    Thank you,
    Jessica

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

    Re: Matching Table Arrarys

    Try it like this in B1 of Sheet1:

    =IF(ISNA(MATCH(A1,Sheet2!$F$1:$F$10,FALSE)),"No","Yes")

    then copy down.

    Hope this helps.

    Pete

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Matching Table Arrarys

    Hellow Jessica and welcome to the forum.

    One way to do this is with MATCH.

    Try array entering this formula and filling down until you get blanks. If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If this doesn't do what you expect upload a sample Excel workbook with some 'dummy data' that represents the data (desensitized) that you are working with.
    Dave

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Matching Table Arrarys

    Didn't refresh screen before posting.

    Pete's is better IMPO.

+ 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. Create table out of existing table matching a condition
    By ironzionlion in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-03-2016, 09:34 AM
  2. Multiple arrarys using for loops
    By nebulapie in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 04-03-2016, 08:14 AM
  3. [SOLVED] Remove row from table when matching another table
    By msmetal in forum Excel General
    Replies: 1
    Last Post: 05-04-2014, 02:05 AM
  4. Replies: 8
    Last Post: 04-04-2013, 05:13 PM
  5. [SOLVED] Restrive a price in one table matching dates and product from another table
    By brunoaragao in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-28-2013, 07:24 AM
  6. Replies: 4
    Last Post: 03-06-2012, 10:49 PM
  7. To get matching value from a table
    By Bhawna in forum Excel General
    Replies: 2
    Last Post: 01-16-2012, 06:08 AM

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