+ Reply to Thread
Results 1 to 4 of 4

How to use 2 criteria in a table or grid to find the required result

  1. #1
    Forum Contributor
    Join Date
    09-17-2009
    Location
    Torquay, England
    MS-Off Ver
    Excel 2013
    Posts
    253

    How to use 2 criteria in a table or grid to find the required result

    Hi,

    I am used to using Index and Match functions to find a value and return a value from a column, however in this case I need to match the row value and the column value to return the value in the cell where row and column meet. I have attached a simplified example of what I am hoping to achieve. Any help would be most appreciated.

    Many thanks
    Attached Files Attached Files

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: How to use 2 criteria in a table or grid to find the required result

    Simply:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: How to use 2 criteria in a table or grid to find the required result

    To make it flexible you can setup dropdown validationlist for both rows and columns and then have the Index and match find the result

    that gives a formula like:

    in cell K4:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    K2 and K3 are the cell data validation lists to pick column and color the other ranges refer to data area, left column and header row to find the matching record.

    see attachment
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    09-17-2009
    Location
    Torquay, England
    MS-Off Ver
    Excel 2013
    Posts
    253

    Re: How to use 2 criteria in a table or grid to find the required result

    Thank you really helpful both

+ 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] Using two cell values to find a result in a table
    By curdley in forum Excel General
    Replies: 15
    Last Post: 04-07-2016, 08:44 AM
  2. Replies: 3
    Last Post: 02-09-2016, 05:08 AM
  3. [SOLVED] Index formula looking at two criteria to find result
    By ciresuark in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-18-2015, 03:18 PM
  4. excel formula to find the result from the 3 column with criteria
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-26-2013, 05:09 AM
  5. Get result from grid
    By vitoreis in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-29-2013, 09:30 AM
  6. [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
  7. DSUM criteria - not getting the required result
    By GazP in forum Excel General
    Replies: 0
    Last Post: 09-06-2012, 05:53 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