+ Reply to Thread
Results 1 to 4 of 4

SOLVED: XLookup w/ 2 criteria for row and 1 criteria for column

  1. #1
    Registered User
    Join Date
    01-14-2015
    Location
    Portland, Oregon
    MS-Off Ver
    Excel for MS 365
    Posts
    43

    SOLVED: XLookup w/ 2 criteria for row and 1 criteria for column

    Hi,

    I have a challenge that I have somewhat figured out, but it is not elegant. I suspect that there is a simpler formula to pull this off. (You will see that I have used rows 7 and 8 to do some calculations to pull this off.) I would appreciate your review and ideas.

    Note that the user would enter criteria in cells D2, D3, and D4. And, based on these variables (D2 in column A, D3 in column B, and D4 in row 10) there is a factor in the table that should appear in cells D5.

    Thanks for the help!
    IGoCougsI
    Attached Files Attached Files
    Last edited by IGoCougsI; 04-11-2025 at 10:48 AM.

  2. #2
    Forum Contributor
    Join Date
    10-05-2024
    Location
    Ukraine
    MS-Off Ver
    2021
    Posts
    102

    Re: XLookup w/ 2 criteria for row and 1 criteria for column

    Hello! Try this formula in D5
    Please Login or Register  to view this content.
    Attached Files Attached Files
    If you feel that I helped, can add a reputation.

  3. #3
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,999

    Re: XLookup w/ 2 criteria for row and 1 criteria for column

    D5=sumifs(index(c11:h40,,match(d4,c10:h10,0)),a11:a40,d2,b11:b40,d3)

  4. #4
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2503 and WPS V2024(12.1.0.18543)
    Posts
    4,004

    Re: XLookup w/ 2 criteria for row and 1 criteria for column

    Cell D5 formula

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


    OR

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by wk9128; 04-11-2025 at 12:37 AM.

+ 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] Xlookup With Multiple Criteria
    By Ian McPherson in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-09-2025, 03:11 AM
  2. [SOLVED] XLOOKUP - 3X Criteria
    By Youezy in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-12-2024, 08:27 AM
  3. [SOLVED] XLOOKUP OR INDEX/MATCH based on two column criteria.
    By CPAC in forum Excel General
    Replies: 11
    Last Post: 02-22-2024, 07:56 AM
  4. [SOLVED] Xlookup horizontally 3 criteria and vertically 1 criteria, can it be done?
    By oneblondebrow in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-20-2023, 10:53 AM
  5. [SOLVED] Xlookup for 2 criteria to search
    By Eric Tsang in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-20-2022, 12:42 PM
  6. Xlookup with multiple criteria
    By Mackay2m in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 01-12-2022, 04:09 PM
  7. [SOLVED] XLOOKUP to return cell based on multiple criteria in single column
    By mikehay08 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-24-2021, 02:59 PM

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