Help with SUMIFS combined with Xlookup using a wildcard

shellwig

New Member
Joined
Dec 22, 2015
Messages
38
Office Version
  1. 365
Platform
  1. Windows
Thank you in advance for your help.
I'm trying to return the value using wildcards for the text. I do not want to specify the range for each column, hopefully this can be done.
My formula is as follows: SUMIFS(XLOOKUP(F2&"*",B:B,D:D),A:A,G2,C:C,"*"&H2&"*")
See below snip of my excel sheet
1708705967681.png
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Why are you using xlookup? There is no need for it.
 
Upvote 0
Thank you for the help. I took out the xlookup from the formula and only used sumifs for all criteria.
I combined sumifs with an xlookup in a different model. I was trying to look across a range of columns which is why it worked vs 1 column with my value.
My solution: SUMIFS(D:D,A:A,@G:G,B:B,F2&"*",C:C,"*"&H2&"*")
 
Upvote 0
Solution
Glad you sorted it & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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