Substitute SUMIF with basic functions

xvanic04

New Member
Joined
Apr 18, 2011
Messages
3
Hello,
is it possible to replace SUMIF with basic functions like SUM, IF... ?
To go through a named range and sum all records fulfilling some condition.
I want to know the principle, because I have to use a different action than SUM in my task.

Thanks for your help.

Best Regards.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
What action do you have to use, instead of SUM? Explain what you are trying to do.
 
Upvote 0
There are more actions and I am still considering them. Is it possible to replace SUMIF easilly? Otherwise I will solve the whole problem in VBA. Thanks.
 
Upvote 0
I can just show you the SUMIF alternative then, as you can't say what you are aiming for ... an array formula ( entered using Ctrl-Shift-Enter instead of Enter ):

=SUM(IF(myrange=testvalue,sumrange))
 
Upvote 0
By alternatives do you mean different functions?
Excel Workbook
ABCDEF
1Criteria:c
2CategoryValueCSENON CSE
3a60SUM9696
4b35COUNT33
5c33AVERAGE3232
6d49MIN10
7a43MAX53
8b82
9c10
10d43
11a19
12b18
13c53
14d76
Sheet1
Excel 2010
Cell Formulas
RangeFormula
F3=SUMIF($A$3:$A$14,$F$1,$B$3:$B$14)
F4=COUNTIF($A$3:$A$14,$F$1)
F5=SUMIF($A$3:$A$14,$F$1,$B$3:$B$14)/COUNTIF($A$3:$A$14,$F$1)
#VALUE!
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
 
Upvote 0

Forum statistics

Threads
1,224,557
Messages
6,179,508
Members
452,918
Latest member
Davion615

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