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
[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