sum combined with Xlookup using multiple criteria not working

shellwig

New Member
Joined
Dec 22, 2015
Messages
38
Office Version
  1. 365
Platform
  1. Windows
I'm trying to sum multiple criteria across columns. My formula is not working properly and might now be the best way to get my desired result.
I'm using 365 as excel version.

1698850569964.png


Formula I'm using : SUM(XLOOKUP(J4&K4&L4,A$4:A$6&B$4:B$6&D$4:D$6,XLOOKUP(M4,F$3:H$3,$F$4:$H$6)))
SUM(XLOOKUP(J4&K4&L4, A$4:A$6&B$4:B$6&D$4:D$6, XLOOKUP(M4,F$3:H$3,$F$4:$H$6)))

Thank you in advance for any help provided.
Shamus
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Solution Found. Thank you for everyone who took the time to view my post.
It works when I combine the xlookup with SUMIFS.

SUMIFS(XLOOKUP(M4,F3:H3,F4:H6),A4:A6,J4,B4:B6,K4,D4:D6,L4)
 
Upvote 0
Solution

Forum statistics

Threads
1,224,827
Messages
6,181,197
Members
453,022
Latest member
RobertV1609

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top