+ Reply to Thread
Results 1 to 6 of 6

Formula to check if specific name is present in 3 different lists.

  1. #1
    Forum Contributor
    Join Date
    01-21-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    227

    Formula to check if specific name is present in 3 different lists.

    list1 list2 list3 check Yes/No
    abc ;lk nm abc
    xzy poi zxc xzy
    asd .,m nme poi
    qwe nm
    n


    I have the above data in an excel file, in the last column I would like to get yes if the value in "check" column is present in either of the 3 lists and no if it is not present.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    03-12-2013
    Location
    Chicago, USA
    MS-Off Ver
    Excel 2007
    Posts
    230

    Re: Formula to check if specific name is present in 3 different lists.

    Here is a solution. In G2, type the following formula and drag it down the column.

    =IF(ISNUMBER(MATCH(F2,A2:C2,0)),"Yes","No")

  3. #3
    Forum Contributor
    Join Date
    01-21-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    227

    Re: Formula to check if specific name is present in 3 different lists.

    Quote Originally Posted by majosum View Post
    Here is a solution. In G2, type the following formula and drag it down the column.

    =IF(ISNUMBER(MATCH(F2,A2:C2,0)),"Yes","No")
    hi thanks for reply but that is only checking 1st list.

  4. #4
    Forum Contributor
    Join Date
    01-21-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    227

    Re: Formula to check if specific name is present in 3 different lists.

    Hello,

    can someone plz help me with this.

    thanks

  5. #5
    Registered User
    Join Date
    04-03-2014
    Location
    Canada
    MS-Off Ver
    Excel 2010, Excel 2013
    Posts
    75

    Re: Formula to check if specific name is present in 3 different lists.

    In cell G2 enter =COUNTIF(A2:C5,F2) and drag down. this will return a 1 if the entry is present anywhere in any of the three lists (Or however many instances there are in the entire area). If you really need it to say yes or no and there will be multiple instances you can add a column and enter =IF(G2>0,"Yes","No") and then hide the G column. For a simple solution I hope

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Formula to check if specific name is present in 3 different lists.

    hi thanks for reply but that is only checking 1st list.
    Thats all you provided?
    If this is not representative of your data, please ammend your sample to show what you are working with

    Here is another variation on what has already been given
    =IF(COUNTIF(A2:C2,F2)>0,"Yes","No")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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] formula to tell me when someone is present on work, present late and early departure.
    By Shellybelly in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-03-2013, 01:38 AM
  2. Present check
    By jakeembx in forum Excel General
    Replies: 2
    Last Post: 11-13-2013, 06:32 AM
  3. [SOLVED] Create formula to sum column total if specific text is present in second column
    By Banir in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-08-2013, 07:48 AM
  4. How to check if a number is present in a range of cells?
    By neelabh_krishna in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-06-2012, 12:46 AM
  5. check if legend is present in active chart in vba
    By leg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-27-2007, 07:14 AM

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