+ Reply to Thread
Results 1 to 6 of 6

Urgent help needed on multiple criteria matching

  1. #1
    Registered User
    Join Date
    09-07-2012
    Location
    Hyderabad
    MS-Off Ver
    Excel 2010
    Posts
    5

    Urgent help needed on multiple criteria matching

    Urgent help needed On multiple criteria matching:
    From the following tables:
    Table:1
    A B C D
    Fruit No Rejected Result
    1 Apple 500 Yes Alpha
    2 Orange 1000 No Beta
    3 Banana 200 Yes Gamma
    4 Pomogranate 600 No nutron

    Table:2
    E F G
    Fruit No Rejected
    1 Litchi 20000 Yes
    2 Kiwi 12 Yes
    3 PApaya 32 No
    4 Apple 500 Yes

    The formula should check as below:
    Look up value of A1 of Table1 from that of table 2 (E1:E4), Once it is found i.e.,table 2- E4. Then it should check corresponding other columns from the same row from both tables for further correctness of data like;
    - whether table-1 B1is also equal to table-2 F4 & also
    - Table-1 C1is also equal to table -2 G4
    then give result pertaining to corresponding cell from column D i.e.,

    Kindly help me, I have tried IF, lookup but could not get proper results.

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Urgent help needed on multiple criteria matching

    your question is not really clear to me but maybe
    =if(COUNTIFS(E1:E4,A1,F1:F4,B1,G1:G4,C1)>0,D1,"")
    or did you mean that you wanted to add data from column d to table2?
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  3. #3
    Registered User
    Join Date
    09-07-2012
    Location
    Hyderabad
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Urgent help needed on multiple criteria matching

    Quote Originally Posted by JosephP View Post
    your question is not really clear to me but maybe
    =if(COUNTIFS(E1:E4,A1,F1:F4,B1,G1:G4,C1)>0,D1,"")
    or did you mean that you wanted to add data from column d to table2?
    I meant the same. i.e., i want to add data from colum d to table 2 (where ever all three criteria matches).

  4. #4
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Urgent help needed on multiple criteria matching

    which is the opposite of what you asked ;-)

    =iferror(LOOKUP(2,1/(($A$1:$A$4=E1)*($B$1:$B$4=F1)*($C$1:$C$4=G1)),$D$1:$D$4),"")

  5. #5
    Registered User
    Join Date
    09-07-2012
    Location
    Hyderabad
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Urgent help needed on multiple criteria matching

    Thanks for the help. it worked.

  6. #6
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Urgent help needed on multiple criteria matching

    @ kalyanaasuri

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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