+ Reply to Thread
Results 1 to 5 of 5

Xlookup and Sumif

  1. #1
    Registered User
    Join Date
    07-04-2022
    Location
    UK
    MS-Off Ver
    365
    Posts
    1

    Xlookup and Sumif

    Hi,
    I want to lookup a unique reference which are in columns and sumif multiple rows so that it returns one value. I have attached a simple spreadsheet which shows what I am trying to do using xlookup and sumif(s) in one formula.

    Many tks
    M Jack
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Xlookup and Sumif

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

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Xlookup and Sumif

    Try (old way)

    C19

    =SUMIFS(INDEX($C$4:$N$12,,MATCH($C$17,$C$3:$N$3,0)),$A$4:$A$12,$A$19,$B$4:$B$12,$B$19)

    You should be able to workout C25!
    Last edited by JohnTopley; 07-04-2022 at 11:38 AM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Xlookup and Sumif

    One way

    =SUMIFS(INDEX(C4:N12,,MATCH(C17,C3:N3)),A4:A12,A19,B4:B12,B19)
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Taiwan
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,382

    Re: Xlookup and Sumif

    Cell C19 formula

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

+ 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. Replies: 2
    Last Post: 03-04-2022, 01:18 AM
  2. [SOLVED] xlookup, sumif and trend functions for particle size distribution calculation
    By Ramish in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-16-2022, 06:28 AM
  3. Replies: 7
    Last Post: 12-10-2021, 02:17 PM
  4. [SOLVED] Combing SUMIF SEARCH and XLookup
    By Dustychops in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-23-2021, 02:24 PM
  5. Two-way Xlookup
    By Ballet4ever in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-28-2021, 10:11 PM
  6. [SOLVED] Sum cell dependant on Ratio with XLOOKUP and SUMIF
    By dharvey1978 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-06-2021, 10:11 AM
  7. Xlookup & sum
    By lynusann in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-19-2020, 11:04 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