AVERAGEIF & INDEX/LOOKUP formula for the criteria range

manueltnascimento

New Member
Joined
Oct 26, 2016
Messages
3
Hi guys, first post ever :)

I need to calculate the average of a range of values depending on criteria (thus using AVERAGEIF or similar).
The thing is that the 'criteria_range' isn't next to the 'average_range' and I can't make it work with an INDEX&MATCH inside the AVERAGEIF formula.

»» I need to calculate the average value of a list of values depending on the product family, but I don't have the product family on the main table (i.e. where I do have the values).

»» Imagine I want to find the average for the Family A products of the Sheet1 Table below. How to do it without bringing the Family column to the main table?

Sheet1:
A1: SKU_column...E1: Values_column
A...2
B...3
C...4
D...5

<tbody>
</tbody>

Sheet2:
A1: SKU_columnB1: Prod_Family
AFamily A
BFamily B
CFamily A
DFamily C

<tbody>
</tbody>


Thanks a lot for your time and sorry if I'm sounding confused!

Manuel
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

Forum statistics

Threads
1,215,981
Messages
6,128,091
Members
449,418
Latest member
arm56

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