+ Reply to Thread
Results 1 to 2 of 2

Comparing items in lists

  1. #1
    Registered User
    Join Date
    11-18-2010
    Location
    Boston, MA
    MS-Off Ver
    Excel 2003
    Posts
    1

    Comparing items in lists

    Hey guys, I've used Excel a lot in the past but over the past year haven't used it much. I'm trying to accomplish something, and am either just drawing a blank on how to do it or it is just not possible. What I'm trying to do actually seems pretty simple, it's basically this:

    I want to be able to enter in a short list of some items, like say:
    Oranges | Apples | Pears | Mangoes

    and then I want to be able to see which of the following lists have one or more of the same items in the list above:
    Oranges | Apples | Pears | Bananas
    Grapes | Apples | Pears | Bananas
    Grapes | Nectarines | Bananas | Kiwi
    and so on....

    So, in other words, I'm looking for a method to return an answer that would tell me that the first list has 3 of the same items, the second list has 2, the third has none, so I can compare at-a-glance

    The only way I can think to do this is with prohibitively large number of of IF and OR functions

    Thanks in advance to anyone that could help. I think it's really cool that this forum exists to ask neat Excel questions
    Last edited by Mikeishere; 11-18-2010 at 07:11 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Comparing items in lists

    The formulas would be considerably affected by your layout. Can you mock up these lists as you plan to use them and then mockup the desired results from the sample data so we can see what your goal is visually.

    Click GO ADVANCED and use the paperclip icon to post up your workbook.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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