Adding up cells which fulfill certain criteria

xl_psychic

Active Member
Joined
Jan 4, 2004
Messages
359
Hi,

I am facing a problem while trying to get an average of numbers.

I have Batch Numbers in Cell Range D16:D16 (1,2,3,4,etc.....) and I have Scores in Cell Range G16:J186 [Call 1 (Column G), Call 2 (Column H), Call 3 (Column I)and Call 4 (Column J)].

I am trying to find out the Average Scores for the entire month for a particular batch in question. I have used the following formula but it doesn't gimme the sum:

=SUMPRODUCT(--('Monthly Snapshot'!$D$16:$D$186=$C$6),--('Monthly Snapshot'!$G$16:$J$186=">=70"),'Monthly Snapshot'!$G$16:$J$186)

Where Monthly Snapshot is the name of the sheet from which the scores are being taken and batch number is being matched.
C6 is the Drop Down list for Batch Number.

The scores in the cell range are between 1 to 20 or either 70, 80, 90 and 100.

How do I go about doing the same.

Please help

Thank you

Rohan Fernandes
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Maybe:

=SUMPRODUCT(--('Monthly Snapshot'!$D$16:$D$186=$C$6),--('Monthly Snapshot'!$G$16:$J$186>=70),'Monthly Snapshot'!$G$16:$J$186)

Putting quotes around the test results in a search for that string.
 
Upvote 0
I kind of got lost in your details, but if you are trying to do a conditional average, would somehting like this work?

=SUMIF(...)/COUNTIF(...)
 
Upvote 0
hi cesloan - welcome to the board!

you should start a new thread for new topics, even if they're related to previous ones (in which case, you're better off posting a link in your new thread).
 
Upvote 0

Forum statistics

Threads
1,214,951
Messages
6,122,442
Members
449,083
Latest member
Ava19

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