Need help pulling some data out of a table

Gadman

New Member
Joined
Mar 21, 2017
Messages
20
Office Version
  1. 365
Platform
  1. Windows
I have a table that holds raw values for certain areas. I need a can't seem to find the right index/match formula to get what I want out of it

I need 2 formulas to do 2 things.

1. Search through the table and give the value for a particular area on a particular week. For example Area 1 on Week 49 = 66
2. Average the Area's values over the a given period. For example: The average of Area 1's values on Period 12 is 66: Week 48= 1 Week 49=66 Week 50=131 so (1+66+131)/3=66.

Thanks for the help!


YearQuarterPeriodWeekAreaValue
FY20
4​
12​
48​
Area 1
1.00​
FY20
4​
12​
48​
Area 2
6.00​
FY20
4​
12​
48​
Area 3
11.00​
FY20
4​
12​
48​
Area 4
16.00​
FY20
4​
12​
48​
Area 5
21.00​
FY20
4​
12​
48​
Area 6
26.00​
FY20
4​
12​
48​
Area 7
31.00​
FY20
4​
12​
48​
Area 8
36.00​
FY20
4​
12​
48​
Area 9
41.00​
FY20
4​
12​
48​
Area 10
46.00​
FY20
4​
12​
48​
Area 11
51.00​
FY20
4​
12​
48​
Area 12
56.00​
FY20
4​
12​
48​
Area 13
61.00​
FY20
4​
12​
49​
Area 1
66.00​
FY20
4​
12​
49​
Area 2
71.00​
FY20
4​
12​
49​
Area 3
76.00​
FY20
4​
12​
49​
Area 4
81.00​
FY20
4​
12​
49​
Area 5
86.00​
FY20
4​
12​
49​
Area 6
91.00​
FY20
4​
12​
49​
Area 7
96.00​
FY20
4​
12​
49​
Area 8
101.00​
FY20
4​
12​
49​
Area 9
106.00​
FY20
4​
12​
49​
Area 10
111.00​
FY20
4​
12​
49​
Area 11
116.00​
FY20
4​
12​
49​
Area 12
121.00​
FY20
4​
12​
49​
Area 13
126.00​
FY20
4​
12​
50​
Area 1
131.00​
FY20
4​
12​
50​
Area 2
136.00​
FY20
4​
12​
50​
Area 3
141.00​
FY20
4​
12​
50​
Area 4
146.00​
FY20
4​
12​
50​
Area 5
151.00​
FY20
4​
12​
50​
Area 6
156.00​
FY20
4​
12​
50​
Area 7
161.00​
FY20
4​
12​
50​
Area 8
166.00​
FY20
4​
12​
50​
Area 9
171.00​
FY20
4​
12​
50​
Area 10
176.00​
FY20
4​
12​
50​
Area 11
181.00​
FY20
4​
12​
50​
Area 12
186.00​
FY20
4​
12​
50​
Area 13
191.00​
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
How about
+Fluff New.xlsm
ABCDEFGHIJ
1YearQuarterPeriodWeekAreaValueAreaWeekValue
2FY2041248Area 11Area 14966
3FY2041248Area 26Area 11266
4FY2041248Area 311
5FY2041248Area 416
6FY2041248Area 521
7FY2041248Area 626
8FY2041248Area 731
9FY2041248Area 836
10FY2041248Area 941
11FY2041248Area 1046
12FY2041248Area 1151
13FY2041248Area 1256
14FY2041248Area 1361
15FY2041249Area 166
16FY2041249Area 271
17FY2041249Area 376
18FY2041249Area 481
19FY2041249Area 586
20FY2041249Area 691
21FY2041249Area 796
22FY2041249Area 8101
23FY2041249Area 9106
24FY2041249Area 10111
25FY2041249Area 11116
26FY2041249Area 12121
27FY2041249Area 13126
28FY2041250Area 1131
29FY2041250Area 2136
30FY2041250Area 3141
31FY2041250Area 4146
32FY2041250Area 5151
33FY2041250Area 6156
34FY2041250Area 7161
35FY2041250Area 8166
36FY2041250Area 9171
37FY2041250Area 10176
38FY2041250Area 11181
39FY2041250Area 12186
40FY2041250Area 13191
List
Cell Formulas
RangeFormula
J2J2=SUMIFS(F:F,D:D,I2,E:E,H2)
J3J3=AVERAGEIFS(F:F,E:E,H3,C:C,I3)
 
Upvote 0
How about
+Fluff New.xlsm
ABCDEFGHIJ
1YearQuarterPeriodWeekAreaValueAreaWeekValue
2FY2041248Area 11Area 14966
3FY2041248Area 26Area 11266
4FY2041248Area 311
5FY2041248Area 416
6FY2041248Area 521
7FY2041248Area 626
8FY2041248Area 731
9FY2041248Area 836
10FY2041248Area 941
11FY2041248Area 1046
12FY2041248Area 1151
13FY2041248Area 1256
14FY2041248Area 1361
15FY2041249Area 166
16FY2041249Area 271
17FY2041249Area 376
18FY2041249Area 481
19FY2041249Area 586
20FY2041249Area 691
21FY2041249Area 796
22FY2041249Area 8101
23FY2041249Area 9106
24FY2041249Area 10111
25FY2041249Area 11116
26FY2041249Area 12121
27FY2041249Area 13126
28FY2041250Area 1131
29FY2041250Area 2136
30FY2041250Area 3141
31FY2041250Area 4146
32FY2041250Area 5151
33FY2041250Area 6156
34FY2041250Area 7161
35FY2041250Area 8166
36FY2041250Area 9171
37FY2041250Area 10176
38FY2041250Area 11181
39FY2041250Area 12186
40FY2041250Area 13191
List
Cell Formulas
RangeFormula
J2J2=SUMIFS(F:F,D:D,I2,E:E,H2)
J3J3=AVERAGEIFS(F:F,E:E,H3,C:C,I3)

You're the best!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,216,100
Messages
6,128,830
Members
449,471
Latest member
lachbee

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