sum combined with Xlookup using multiple criteria not working

shellwig

New Member
Joined
Dec 22, 2015
Messages
33
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

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
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,215,084
Messages
6,123,029
Members
449,092
Latest member
ikke

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