Help with SUMIFS combined with Xlookup using a wildcard

shellwig

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

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
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,215,094
Messages
6,123,071
Members
449,092
Latest member
ipruravindra

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