Sumifs function in conjunction with other formula, counta, countif and countifs

leenux_tux

New Member
Joined
Aug 28, 2008
Messages
19
Hello Forum,

Trying to solve a problem in Excel and cannot find the combination of formulas to fix. Been racking my brain and "googling" but to no avail. Wondering if anyone else on the forums here has had a similar challenge.

Some background first.


  • There are multiple records keyed to the month, i.e. October which is column A
  • There are no fixed number of records for the month, could be 100, could be 150, could be 200.
  • There are multiple columns on sheet with data I want to do calculations on based on the value that is in column A.
  • The calculations are not simple "sum", could be working out average so need to use "counta" and/or countif/countifs with the sum

I have looked into using sumifs, keying to the month in column A, however, I haven't seen any examples where the calculation being done isn't a standard "sum" (i.e. a divide, or multiply)

Some sample data below. Example calculation, I only want to an average of data in column C where Column A is October.


SEPTEMBER16.00£32.00
SEPTEMBER-24.00-£12.00
OCTOBER-28.60-£28.60
OCTOBER2.50£5.00
OCTOBER-15.90-£15.90

<tbody>
</tbody>

To me you would use sumifs to say

"Only use values where column A is OCTOBER"

Then
"Count the number of instances of OCTOBER" and use that value in the divide for the sum of (for example) column C

Hopefully I have given a reasonable description of the problem.

Thanks in advance

L
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Forum statistics

Threads
1,214,545
Messages
6,120,128
Members
448,947
Latest member
test111

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