+ Reply to Thread
Results 1 to 6 of 6

Complex multiple cells comparison formula

  1. #1
    Registered User
    Join Date
    01-16-2014
    Location
    France
    MS-Off Ver
    Excel 2010
    Posts
    14

    Unhappy Complex multiple cells comparison formula

    I've tried some of the basic formulas, but this is beyond me.

    I have table A of 500 rows and need to compare it to table B of 2000 rows.

    A B C D E
    1 D6 - 1.01 Table with PC 3 Yes
    2 D6 - 1.01 Bookshelf 4 No
    3 D6 - 1.02 Table 5 Yes
    4 D6 - 1.01 Desktop 3 Yes
    5 D6 - 1.03 Sink 2 No
    A B C D E
    1 D6 - 1.01 Table with PC 3 Yes
    2 D6 - 1.01 Bookshelf 4 No
    3 D6 - 1.02a Table 5 Yes
    4 D6 - 1.01 Desktop 3 Yes
    5 D6 - 1.03a Table with PC 2 No
    6 D6 - 1.03b Sink 2 No
    7 D6 - 1.03c Sink 2 No

    For example with these two, from the second table to the first. IF collumn B equal to collumn and the coresponding collumn C equal to the coresponding collumn C, return for example "yes". Then I need to check the same thing for the coresponding other collumns, but basically everything would be tied to B and C. The problem is the second table, larger one, is basically all over the place, I could manage to do this if we would be talking equal lenght tables, but I do not know what formulas I could use to check further down a row once we find an equal value.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Complex multiple cells comparison formula

    welcome to the forum, ALecsx. it would be nice if you can upload a sample excel file next time. you also manually keyed in the results for a clearer picture for column E. but it seems a little weird. like why is 2 "No" & 3 "Yes"? basically, my formula would be:
    =IF(COUNTIFS(Sheet2!B:B,B2,Sheet2!C:C,C2),"Yes","No")

    this counts how many times B2 appears in the Table 2 (Sheet2) Column B at the same row where C2 appears in Table 2 (Sheet2) Column C. if it's more than 0, show "yes". otherwise, "No"

    To upload, Click on GO ADVANCED and use the paperclip icon to open the upload window.
    View Pic
    and to illustrate your example better, click on How To Get Quick & Good Answers
    Attached Files Attached Files

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    01-16-2014
    Location
    France
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Complex multiple cells comparison formula

    Thanks for the response, sorry about the sloopy job of explaining things, I've tried again in this attached excel table.

    I made the results simulation in both colors and text since I do not know which is easier / doable.

    ALecsx.xlsx

  4. #4
    Registered User
    Join Date
    01-16-2014
    Location
    France
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Complex multiple cells comparison formula

    Does anyone have any ideas?

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,481

    Re: Complex multiple cells comparison formula

    Try in K2:
    Please Login or Register  to view this content.
    L2:
    Please Login or Register  to view this content.
    M2:
    Please Login or Register  to view this content.
    Drag down
    Quang PT

  6. #6
    Registered User
    Join Date
    01-16-2014
    Location
    France
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Complex multiple cells comparison formula

    Thanks, just had to replace , with ; otherwise it worked perfectly . Rep added

+ 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] Complex Sheets Comparison
    By CatherineAmerica568 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-04-2013, 09:05 PM
  2. [SOLVED] Complex Comparison forumula - Help
    By Rjwilliams93 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-08-2013, 06:58 PM
  3. Comparison for best results to complex for my small brain
    By gordon.worswick in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-04-2013, 05:59 AM
  4. Multiple Set of List Comparison Driven by Cells Value
    By nucky in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-19-2013, 12:50 PM
  5. Complex Lookup or IF Formula referencing multiple cells and sheets
    By CKD777 in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 10-24-2011, 04:43 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