Problem with sumif with wildcard

patrickmcclean

New Member
Joined
Jan 15, 2014
Messages
3
Hi, I have two long columns of data. in the first column A I have description that contain a number in this format '1000xx), as you will see this reference number will be entered several times in this column. I have this formula working =sumif(A1:A5,"*1000087*",B1:B5). Is it possible to replace the text/number 100087 with a cell reference that contains that value for example =sumif(A1:A5,"*D2*",B1:B5). Where D2 is the Cell. This will allow me to drag down the formula. Any suggestions would be greatly appreciated.
ABCDEF
1
P_EB_SWS_11 s

<tbody>
</tbody><colgroup><col></colgroup>
01000086
2P_GT_1000054 Updating110000873
3P_GT_1000087 3G21000088
4P_GT_1000091 T11000089
5P_GT_ 1000087 Updating11000087

<tbody>
</tbody>
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

Forum statistics

Threads
1,203,629
Messages
6,056,417
Members
444,862
Latest member
more_resource23

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