Calculated Average by Fee Level

Datatellsall2

New Member
Joined
Jul 17, 2018
Messages
23
Hello -


I'm trying to calculate a measure where I can see the average number of hours by fee level based on the 'individual'. As an example based on the data below, the average for Person A would be 4 within the 20K fee level.

Fee Category
IndividualName of Project2000025000350004000045000
Person AProject 13
Person AProject 2 3
Person AProject 35
Person AProject 4 3
Person AProject 5 8
Person AProject 6 3
Person BProject 1 6
Person BProject 2 16
Person BProject 3 7
Person BProject 4 8
Person CProject 5 5
Person CProject 6 6
Person CProject 7 12
Person CProject 8 1
Person CProject 9 13
Person CProject 10 11
Person CProject 11 7

<colgroup><col><col><col span="5"></colgroup><tbody>
</tbody>
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Book1
ABCDEFG
1Fee Category
2IndividualName of Project2000025000350004000045000
3Person AProject 13
4Person AProject 23
5Person AProject 35
6Person AProject 43
7Person AProject 58
8Person AProject 63
9Person BProject 16
10Person BProject 216
11Person BProject 37
12Person BProject 48
13Person CProject 55
14Person CProject 66
15Person CProject 712
16Person CProject 81
17Person CProject 913
18Person CProject 1011
19Person CProject 117
20
212000025000350004000045000
22Person A435.503
23Person B009.2500
24Person C059113
Sheet5
Cell Formulas
RangeFormula
C22=IFERROR(AVERAGEIF($A$3:$A$19,$A22,C$3:C$19),0)
C23=IFERROR(AVERAGEIF($A$3:$A$19,$A23,C$3:C$19),0)
C24=IFERROR(AVERAGEIF($A$3:$A$19,$A24,C$3:C$19),0)
D22=IFERROR(AVERAGEIF($A$3:$A$19,$A22,D$3:D$19),0)
D23=IFERROR(AVERAGEIF($A$3:$A$19,$A23,D$3:D$19),0)
D24=IFERROR(AVERAGEIF($A$3:$A$19,$A24,D$3:D$19),0)
E22=IFERROR(AVERAGEIF($A$3:$A$19,$A22,E$3:E$19),0)
E23=IFERROR(AVERAGEIF($A$3:$A$19,$A23,E$3:E$19),0)
E24=IFERROR(AVERAGEIF($A$3:$A$19,$A24,E$3:E$19),0)
F22=IFERROR(AVERAGEIF($A$3:$A$19,$A22,F$3:F$19),0)
F23=IFERROR(AVERAGEIF($A$3:$A$19,$A23,F$3:F$19),0)
F24=IFERROR(AVERAGEIF($A$3:$A$19,$A24,F$3:F$19),0)
G22=IFERROR(AVERAGEIF($A$3:$A$19,$A22,G$3:G$19),0)
G23=IFERROR(AVERAGEIF($A$3:$A$19,$A23,G$3:G$19),0)
G24=IFERROR(AVERAGEIF($A$3:$A$19,$A24,G$3:G$19),0)
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,748
Members
448,989
Latest member
mariah3

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