Using Question Marks as Wildcards

EdStockton

New Member
Joined
Aug 6, 2014
Messages
47
I have been attempting to use wildcards and it seems to work with in sumif functions but not in if functions.
[TABLE="width: 200"]
<tbody>[TR]
[TD]45[/TD]
[TD]10efs22[/TD]
[/TR]
[TR]
[TD]25[/TD]
[TD]22wqa11[/TD]
[/TR]
[TR]
[TD]310[/TD]
[TD]22azx11[/TD]
[/TR]
[TR]
[TD]64[/TD]
[TD]22qaz11[/TD]
[/TR]
[TR]
[TD]264[/TD]
[TD]11efs34[/TD]
[/TR]
[TR]
[TD]94[/TD]
[TD]66efs99[/TD]
[/TR]
[TR]
[TD]294[/TD]
[TD]11efs55[/TD]
[/TR]
[TR]
[TD]612[/TD]
[TD]11ert66[/TD]
[/TR]
[TR]
[TD]981[/TD]
[TD]99ijk00[/TD]
[/TR]
[TR]
[TD]62[/TD]
[TD]77yhn66[/TD]
[/TR]
[TR]
[TD]64[/TD]
[TD]22ert66[/TD]
[/TR]
[TR]
[TD]97[/TD]
[TD]66yhn44[/TD]
[/TR]
[TR]
[TD]65[/TD]
[TD]44rfv55[/TD]
[/TR]
[TR]
[TD]44[/TD]
[TD]33ert11[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3021[/TD]
[TD]Total[/TD]
[/TR]
[TR]
[TD]=sumif(b1:b14,"??efs??",a1:a14)[/TD]
[TD]697[/TD]
[/TR]
[TR]
[TD]=if(b1="??efs??",A1,0)[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

In column A I am showing the formula in a sumif statement which worked and provided a correct response. Under that, I show the IF Function I used that did not work.

What have I done wrong in the IF Function? Is there some other way I could achieve the desired result. I want that IF Function to return the amount shown in Cell A1 - 45.

Thank you, Ed Stockton
 

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