+ Reply to Thread
Results 1 to 6 of 6

Check if a value exists in a table

  1. #1
    Registered User
    Join Date
    07-07-2015
    Location
    Egypt
    MS-Off Ver
    2010
    Posts
    23

    Check if a value exists in a table

    Hello all,
    My problem is, I have 2 tables with different format, and I need to check - and just check - if a Name in a Column A in sheet1 exists in any Column/Row in sheet2 in a given date, like the pics below:

    2.JPG

    3.JPG

    in other word, I need to write a formula in first sheet E4, to check if the name in the first sheet A4, exists anywhere in the second sheet in the columns F to J, when the date in the first sheet E3 = any date in the second sheet in column A, and if the name exists, put word like "YES" in E4, if not, make it blank.

    so any help here please..?
    I know it's difficult and I've been searching the net for about 3 days now,,,

    thanks a lot in advance..!

  2. #2
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Check if a value exists in a table

    Hi,

    This can be done by VLOOKUP or INDEX/MATCH functions. Can you post the sample template in excel format please?

  3. #3
    Registered User
    Join Date
    07-07-2015
    Location
    Egypt
    MS-Off Ver
    2010
    Posts
    23

    Re: Check if a value exists in a table

    sure, HYG
    master plan.xlsx

  4. #4
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Check if a value exists in a table

    Hi,

    See the attached file, I have updated the formula in "Resource Plan" tab E4:

  5. #5
    Registered User
    Join Date
    07-07-2015
    Location
    Egypt
    MS-Off Ver
    2010
    Posts
    23

    Re: Check if a value exists in a table

    WooooW,
    Thanks A lot cbatrody, it works perfectly,
    Many many Thanks,,,,

  6. #6
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Check if a value exists in a table

    You are welcome

    You can directly thank those who have helped you by clicking on the small * (star) icon located in the lower left corner of a post that you have found to be helpful.

+ 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. VBA Code to check If value exists in a table
    By ysrikhanta in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-05-2012, 05:09 AM
  2. IF assistance to check if value exists in a table first
    By penfold in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-14-2010, 11:46 AM
  3. Check if a filter exists on a pivot table
    By spinkung in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-07-2010, 12:03 PM
  4. Replies: 3
    Last Post: 08-24-2005, 04:05 PM
  5. How can I use VBA ADO to check if a table exists in an Access DB?
    By Ai_Jun_Zhang in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-24-2005, 02:52 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