selection specific ranges to average

jbrown021286

Board Regular
Joined
Mar 13, 2023
Messages
85
Office Version
  1. 365
Platform
  1. Windows
Book1
BCDEFGHIJKLMNOPQ
6
7
8208
914-Dec20-Dec
10Carl206206210
11Jeffrey208208208
12Brandun111111130
13Israel61225
14Kedrin232540
15Brayan112030
16Justin208208208
17Venro174176180
18Angel206206208
19Ramy205205208
20Tre293560
21Miguel206206208
22Joshua107121130
23Patric242840
24Gerardo383860
25Aldo98101120
26Tevin343750
27
28
29
30
31
32
33
34
35
36
Sheet1

i am wanting to track an increase in numbers week by week. each week i will be adding a collum of numbers and want to be able to subtract the lowest number in a row by each persons name (which should be column H ) from the highest number (which should always be the furthest filled column on the right) then average that number by how many columns are populated in a row. so in this example in cell F10 i would want J10-H10 then divide it by the full number of filled cells in the row 3 to get 1.3333 so i can see the average weekly progress as i add weeks to the data set. is there a good way to achieve this?
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
How about
Fluff.xlsm
GHIJK
8208
94564045646
10Carl2062062101.33
11Jeffrey2082082080.00
12Brandun1111111306.33
13Israel612256.33
14Kedrin2325405.67
15Brayan1120306.33
16Justin2082082080.00
17Venro1741761802.00
18Angel2062062080.67
19Ramy2052052081.00
20Tre29356010.33
21Miguel2062062080.67
22Joshua1071211307.67
23Patric2428405.33
24Gerardo3838607.33
25Aldo981011207.33
26Tevin3437505.33
Data
Cell Formulas
RangeFormula
K10:K26K10=BYROW(H10:J26,LAMBDA(br,(MAX(br)-MIN(br))/COUNT(br)))
Dynamic array formulas.
 
Upvote 0
How about
Fluff.xlsm
GHIJK
8208
94564045646
10Carl2062062101.33
11Jeffrey2082082080.00
12Brandun1111111306.33
13Israel612256.33
14Kedrin2325405.67
15Brayan1120306.33
16Justin2082082080.00
17Venro1741761802.00
18Angel2062062080.67
19Ramy2052052081.00
20Tre29356010.33
21Miguel2062062080.67
22Joshua1071211307.67
23Patric2428405.33
24Gerardo3838607.33
25Aldo981011207.33
26Tevin3437505.33
Data
Cell Formulas
RangeFormula
K10:K26K10=BYROW(H10:J26,LAMBDA(br,(MAX(br)-MIN(br))/COUNT(br)))
Dynamic array formulas.
shop training.xlsx
EFGHIJKLMNOPQRSTUVWXYZAAABAC
4
5Total number of self studies Total number of maintenance & repair self studies
6208162
7
8team leaderAverage per weekTech14-Dec20-DecColumn1Column2Column3Column4Column5Column6Column7Column8Column9Column10Column11Column12Column13Column14Column15Column16Column17Column18Column19Column20
9Carl#SPILL!Carl206206
10Jeffrey#SPILL!Jeffrey208208
11Justin#SPILL!Brandun111111
12Justin#SPILL!Israel612
13Carl#SPILL!Kedrin2325
14Carl#SPILL!Brayan1120
15Justin#SPILL!Justin208208
16Justin#SPILL!Venro174176
17Carl#SPILL!Angel206206
18Jeffrey#SPILL!Ramy205205
19Carl#SPILL!Tre2935
20Miguel#SPILL!Miguel206206
21Jeffrey#SPILL!Joshua107121
22Miguel#SPILL!Patric2428
23Justin#SPILL!Gerardo3838
24Jeffrey#SPILL!Aldo98101
25Miguel#SPILL!Tevin3437
26
27
Sheet1
Cell Formulas
RangeFormula
F9:F25F9=BYROW(H9:AB25,LAMBDA(br,(MAX(br)-MIN(br))/COUNT(br)))

that did work but i was also planning on applying a table so i could filter the data. once i did that i gave a sipll error. is there any way to adapt you formula to work with a table?
 
Upvote 0
You don't need to convert the range into a table, just to use the autofilter. It works just as well on a normal range.
That said you can just use
Excel Formula:
=(MAX(H9:AB9)-MIN(H9:AB9))/COUNT(H9:AB9)
 
Upvote 0
Solution
You don't need to convert the range into a table, just to use the autofilter. It works just as well on a normal range.
That said you can just use
Excel Formula:
=(MAX(H9:AB9)-MIN(H9:AB9))/COUNT(H9:AB9)
that got it. you are awesome thank you for all your help
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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