Average percentages

Powick

New Member
Joined
Jul 14, 2011
Messages
2
Hi

This is my first post so go easy!

I'm trying to return an average percentage based on different types of criteria. I want a formula to lookup a name first, then a product and return the average percent in another column.

My current list looks like this:
Name Product Percentage
Joe Bloggs Peanuts 88%
Joe Black Peanuts 92%
Joe Bloggs Raisins 80%
Joe Bloggs Peanuts 90%

How do I get the average percentage for 'Joe Bloggs' and 'Peanuts'. I'm using Excel 2003.

Thanks in advance for your help.

Powick
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Assuming the Columns are A-C, put this in column D

=SUMPRODUCT(--($A$1:$A$4="Joe Bloggs"),--($B$1:$B$4="Peanuts"),$C$1:$C$4)/SUMPRODUCT(--($A$1:$A$4="Joe Bloggs"),--($B$1:$B$4="Peanuts"))


Change the bounds of the arrays to match your data (you gave me only 4 records so the arrays are A1:A4, B1:B4, C1:C4)
 
Upvote 0
How about

=SUMPRODUCT(--(A1:A4="Joe Bloggs"),--(B1:B4="Peanuts"),--(C1:C4))/SUMPRODUCT(--(A1:A4="Joe Bloggs"),--(B1:B4="Peanuts"))
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,808
Members
452,944
Latest member
2558216095

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