+ Reply to Thread
Results 1 to 5 of 5

Search multpile criteria to get a result

  1. #1
    Forum Contributor
    Join Date
    03-19-2014
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2010
    Posts
    101

    Search multpile criteria to get a result

    Hi

    I am looking to search two columns that are not side by side to match up to get the answer from a third column that is also not side byt side with either of the first two columns.

    In the attachment the data is in B4 to G13, I want to search column B and D to get the answer in column G. For example if I am looking for "b" and "rr" the answer would be 22

    Thanks in advance

    Six.xlsx

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Search multpile criteria to get a result

    As long as the combinations are unique you can use a SUMIFS function.

    I4 = B
    J4 = RR

    =SUMIFS(G4:G13,B4:B13,I4,D4:D13,J4)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Valued Forum Contributor Saarang84's Avatar
    Join Date
    02-19-2009
    Location
    Chennai, India
    MS-Off Ver
    XL 2003 to 2010
    Posts
    812

    Re: Search multpile criteria to get a result

    Hi Greg,

    Based on user input values for Input1 and Input2, Result is calculated based on the below array formula (confirmed by pressing (Ctrl+Shift+Enter) :
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Refer enclosed workbook. Is this what you need?
    Attached Files Attached Files
    Last edited by Saarang84; 07-07-2014 at 09:25 PM.
    If my assistance has helped, there is a reputation icon * on the left hand corner below the post - you can show your appreciation to the user who has helped in resolving your requirement.

    If your requirement has been solved please mark your thread as Solved.
    In the menu bar above the very first post, select Thread Tools, then select "Mark this thread as Solved".

    Kindly use [FORMULA] or [CODE] tags when posting your code.

    Regards,
    Sarang

  4. #4
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: Search multpile criteria to get a result

    =INDEX(G4:G13,MATCH(1,IF(B4:B13="f",IF(D4:D13="ee",1)),0))

  5. #5
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: Search multpile criteria to get a result

    =INDEX(G4:G13,MATCH("f"&"ee",B4:B13&D4:D13,0))

+ 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] Search for multiple rows from multiple sheets by criteria & show result in userform
    By ANDREAAS in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-07-2014, 11:29 AM
  2. Multi criteria search result to give unique answer
    By redpis in forum Excel General
    Replies: 2
    Last Post: 08-13-2013, 04:05 PM
  3. [SOLVED] Lookup formula required to search for two criteria and return result
    By dave1983 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-12-2012, 03:29 PM
  4. Replies: 4
    Last Post: 09-18-2012, 10:54 AM
  5. Search for multiple criteria then return result
    By ctrapper in forum Excel General
    Replies: 7
    Last Post: 03-15-2011, 09:03 PM

Tags for this Thread

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