Insert *data* from a cell in SUMIFS formula

Pavel Dobrenkov

New Member
Joined
Nov 11, 2018
Messages
3
Dear friends,

I need to use formula =SUMIFS() and sum the results from two columns from one table matching with other two columns in another table.

=SUMIFS('Active link'!$G:$G;'Active link'!$A:$A;$A4;'Active link'!$D:$D;"*crushed stone*")

But if for the first column it should match the whole word (no issue), for the second column i need a partial matching by using *text*.

Is it possible to enter instead of text the data from the cell, so it will be automatically changed for all the rows?
AreaType of work
UtilitiesGutters
Utilitiescrushed stone
Utilitiescrush barriers
RefrigerantGutters
Refrigerantcrushed stone
Refrigerantcrush barriers

<colgroup><col><col></colgroup><tbody>
</tbody>


UTILITIES. FGL
UtilitiesExcavation /
Разработка грунта
UtilitiesBackfilling, leveling, compaction for slopes formation /
Обратная засыпка, планировка и уплотнение грунта
UtilitiesGeogrid installation /
Устройство геогрида
UtilitiesInstall crushed stone 40-70 /
Устройство щебня 40-70
UtilitiesInstall crushed stone 20-40 /
Устройство щебня 20-40
UtilitiesGeotextile laying /
Устройство геотекстиля
UtilitiesBiomat installation /
Устройство биоматов
UtilitiesTiles installation /
Укладка тротуарной плитки

<colgroup><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Dear Friends,

I have found a solution myself not long ago, you just need to change the formula

=SUMIFS('Active link'!$G:$G;'Active link'!$A:$A;$A4;'Active link'!$D:$D;"*crushed stone*")

simply to: and everything works perfectly
=SUMIFS('Active link'!$G:$G;'Active link'!$A:$A;$A4;'Active link'!$D:$D;"*"&B4&"*")

and everything works perfectly :)

Happy Merry Christmas to everybody!!!
 
Upvote 0
Unfortunately, i didn't find how to edit my post to make it more clear afterheads, if you want to understand this case to do the same in the future i will be glad to help you.
 
Upvote 0

Forum statistics

Threads
1,215,767
Messages
6,126,767
Members
449,336
Latest member
p17tootie

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