leisuredog
New Member
- Joined
- Apr 1, 2018
- Messages
- 1
I have a grid and I know the costs of the item, in all of the four corners I want excel to calculate the mean averages & fill in the other cells
A | B | C | D | E | F | G | H | I | J | |
1 | 1.00 | 0.50 | ||||||||
2 | 0.00 | 1.00 | ||||||||
3 | ||||||||||
4 | 1.00 | 0.94 | 0.89 | 0.83 | 0.78 | 0.72 | 0.67 | 0.61 | 0.56 | 0.50 |
5 | 0.90 | 0.86 | 0.82 | 0.78 | 0.74 | 0.71 | 0.67 | 0.63 | 0.59 | 0.55 |
6 | 0.80 | 0.78 | 0.76 | 0.73 | 0.71 | 0.69 | 0.67 | 0.64 | 0.62 | 0.60 |
7 | 0.70 | 0.69 | 0.69 | 0.68 | 0.68 | 0.67 | 0.67 | 0.66 | 0.66 | 0.65 |
8 | 0.60 | 0.61 | 0.62 | 0.63 | 0.64 | 0.66 | 0.67 | 0.68 | 0.69 | 0.70 |
9 | 0.50 | 0.53 | 0.56 | 0.58 | 0.61 | 0.64 | 0.67 | 0.69 | 0.72 | 0.75 |
10 | 0.40 | 0.44 | 0.49 | 0.53 | 0.58 | 0.62 | 0.67 | 0.71 | 0.76 | 0.80 |
11 | 0.30 | 0.36 | 0.42 | 0.48 | 0.54 | 0.61 | 0.67 | 0.73 | 0.79 | 0.85 |
12 | 0.20 | 0.28 | 0.36 | 0.43 | 0.51 | 0.59 | 0.67 | 0.74 | 0.82 | 0.90 |
13 | 0.10 | 0.19 | 0.29 | 0.38 | 0.48 | 0.57 | 0.67 | 0.76 | 0.86 | 0.95 |
14 | 0.00 | 0.11 | 0.22 | 0.33 | 0.44 | 0.56 | 0.67 | 0.78 | 0.89 | 1.00 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
E1 | E1 | =(COLUMN()-COLUMN(grid.xlsx!TopLeft))/(COLUMNS(grid.xlsx!Tbl)-1) |
E2 | E2 | =(ROW()-ROW(grid.xlsx!TopLeft))/(ROWS(grid.xlsx!Tbl)-1) |
A4:J14 | A4 | =MMULT(MMULT(CHOOSE({1,2}, 1 - y, y), Corners), CHOOSE({1;2}, 1 - x, x)) |
Named Ranges | ||
---|---|---|
Name | Refers To | Cells |
Corners | =Sheet1!$A$1:$B$2 | A4:J14 |
Tbl | =Sheet1!$A$4:$J$14 | E1:E2 |
TopLeft | =Sheet1!$A$4 | E1:E2 |
x | =Sheet1!$E$1 | A4:J14 |
y | =Sheet1!$E$2 | A4:J14 |