Formula to normalize a measurement then take an average of the normalized, all referencing an input search term.

SURFER349

Board Regular
Joined
Feb 22, 2017
Messages
50
So I need to figure out a formula to output the normalized average of each step.
For example, for each RUN, I need to normalize the measurement by the # of points: (measurement/#points)
then I want to take the average of all the Step 1 rows.

I tried using averageIF equation, but I can't use that to do the normalization first.
any thoughts?

Like this:


StepRun# of pointsMeasure1
1​
1​
24​
0.88​
1​
2​
25​
0.11​
1​
3​
25​
0.89​
1​
4​
25​
0.71​
1​
5​
23​
0.77​
2​
1​
22​
0.15​
2​
2​
20​
0.99​
2​
3​
19​
0.54​
2​
4​
25​
0.70​
2​
5​
17​
0.40​
3​
1​
20​
0.62​
3​
2​
21​
0.97​
3​
3​
25​
0.92​
3​
4​
2​
0.47​
3​
5​
25​
0.56​
4​
1​
25​
0.52​
4​
2​
25​
0.94​
4​
3​
24​
0.63​
4​
4​
23​
0.28​
4​
5​
21​
0.44​
5​
1​
24​
0.40​
5​
2​
25​
0.62​
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Cross posted formula to average of a normalized measurement, dynamic to an input selection?

While we do allow Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules). This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0
Cross posted formula to average of a normalized measurement, dynamic to an input selection?

While we do allow Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules). This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.

please delete this. I will repost with a better written post and attachment.
 
Upvote 0
is that what you want?

StepRun# of pointsMeasure1StepAvg
11240.8810.027708986
12250.1120.027253729
13250.8930.074278095
14250.7140.023555259
15230.7750.020733333
21220.15
22200.99
23190.54
24250.7
25170.4
31200.62
32210.97
33250.92
3420.47
35250.56
41250.52
42250.94
43240.63
44230.28
45210.44
51240.4
52250.62
 
Upvote 0
please delete this. I will repost with a better written post and attachment.
No, this thread will not be deleted. Please acknowledge that you understand post#2
 
Upvote 0
Yes, that looks like it, what did you use for formula to normalize inside the averageif?
no
I used Power Query
Rich (BB code):
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    Division = Table.AddColumn(Source, "Division", each [Measure1] / [#"# of points"], type number),
    Group = Table.Group(Division, {"Step"}, {{"Avg", each List.Average([Division]), type number}})
in
    Group
 
Upvote 0
no
I used Power Query
Rich (BB code):
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    Division = Table.AddColumn(Source, "Division", each [Measure1] / [#"# of points"], type number),
    Group = Table.Group(Division, {"Step"}, {{"Avg", each List.Average([Division]), type number}})
in
    Group
what is PQ? is this a 3rd party addon?
 
Upvote 0

Forum statistics

Threads
1,216,109
Messages
6,128,875
Members
449,476
Latest member
pranjal9

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