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.
4510efs22
2522wqa11
31022azx11
6422qaz11
26411efs34
9466efs99
29411efs55
61211ert66
98199ijk00
6277yhn66
6422ert66
9766yhn44
6544rfv55
4433ert11
3021Total
=sumif(b1:b14,"??efs??",a1:a14)697
=if(b1="??efs??",A1,0)0

<tbody>
</tbody>

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
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
If Microsoft would just come right out and say that, things would be easier.
So not only does Microsoft need to tell us what it CAN do, but it also must tell us everything it CANNOT do ??
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,175
Messages
6,129,299
Members
449,499
Latest member
HockeyBoi

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