SUMIF that will divide by total instances found

brooksc29

Active Member
Joined
Jul 25, 2010
Messages
333
This is going to sound confusing, but I'm trying to say if the name in COL B, matches the name in GRAPH!AF$3, then sum the totals in COL J and divide that by the total number of instances you counted the name in COL B.


=IFERROR(SUMIF(B$3:B3,GRAPH!AF$3,J$3:J3)/ ??


I have the first part of the formula, but I'm not sure what the denominator is.

Thanks in advance!
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
is there a way to do it the other way, b/c when applying it down the column, the final result is just off the actual number it's supposed to be
 
Upvote 0
Well you can use SUMIF/COUNTIF but the result should be the same unless you have blanks in column J where the criterion is matched in B. That way would be just

=SUMIF(B$3:B3,GRAPH!AF$3,J$3:J3)/COUNTIF(B$3:B3,GRAPH!AF$3)
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,850
Members
452,948
Latest member
UsmanAli786

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