+ Reply to Thread
Results 1 to 4 of 4

[Google sheet] Check if values in list exists in another list and show them in range

  1. #1
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,940

    [Google sheet] Check if values in list exists in another list and show them in range

    hi,

    i have 2 ranges:

    First ("A1:A3"):
    Cat,
    Dog,
    Elephant

    Second ("B1:B3"):
    Cat,
    Dog

    and in "C1" i want to get Elephant (it exists only in first list and not exists in second).
    How can i do this in google sheet?

    Thank you for help,
    Best,
    Jacek

  2. #2
    Valued Forum Contributor Haluk's Avatar
    Join Date
    02-14-2019
    Location
    Turkiye
    MS-Off Ver
    2010 - 64 Bit on Windows-11 (22 H2) 64 Bit
    Posts
    1,150

    Re: [Google sheet] Check if values in list exists in another list and show them in range

    In C1, try this formula; (Assuming the sheet name is "Sheet1")

    Note: You may need to change semicolons (;) to commas (,) depending on your locale settings in Google Sheets.

    Please Login or Register  to view this content.
    Attached Images Attached Images
    Last edited by Haluk; 09-21-2021 at 04:07 AM.

  3. #3
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: [Google sheet] Check if values in list exists in another list and show them in range

    As an alternative:

    =FILTER(A1:A,COUNTIF(B1:B,A1:A)=0)
    Rory

  4. #4
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,940

    Re: [Google sheet] Check if values in list exists in another list and show them in range

    Working like a charm!

    Thank you,
    Jacek

+ 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. Check list A for missing values in list B
    By JoshNZ in forum Excel General
    Replies: 10
    Last Post: 04-24-2017, 09:33 AM
  2. Populating check box values from a list on another sheet
    By tom.mat.walker in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-15-2016, 10:29 AM
  3. Replies: 0
    Last Post: 02-23-2013, 02:15 PM
  4. [SOLVED] check if worksheet already exists when auto creating worksheets form a list
    By y0rk1e72 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-06-2012, 04:53 PM
  5. Replies: 3
    Last Post: 05-31-2012, 01:44 PM
  6. Check if sheet from list exists in workbook
    By arlu1201 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-25-2011, 02:13 PM
  7. Check if a list of Files exists Macro
    By cjconnor24 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-01-2008, 07:44 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