bademployee
Board Regular
- Joined
- Aug 19, 2010
- Messages
- 184
Book1 | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | |||||||
2 | Ingredient A | Ingredient B | Ingredient C | ||||
3 | Product 1 | 0.3 | 0.3 | 0.4 | |||
4 | Product 2 | 0.1 | 0.5 | 0.4 | |||
5 | Product 3 | 0.65 | 0.25 | 0.1 | |||
6 | |||||||
7 | |||||||
8 | Product | Tonnes | Ingredient | Tonnes | |||
9 | Product 2 | 265 | Ingredient A | 43.9 | |||
10 | Product 1 | 58 | Ingredient B | 149.9 | |||
11 | Ingredient C | 129.2 | |||||
Sheet10 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
E9:E11 | E9 | =SUMPRODUCT(COUNTIF($A$9:$A$10,$A$3:$A$5)*SUMIF($A$9:$A$10,$A$3:$A$5,$B$9:$B$10)*OFFSET($B$3:$B$5,,ROWS(A$1:A1)-1)) |
Book1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | Row | Column | Percent | Tonnes | Product | Tonnes | |||
2 | Product 1 | Ingredient A | 0.6 | 34.8 | Product 2 | 265 | |||
3 | Product 1 | Ingredient B | 0 | 0 | Product 1 | 58 | |||
4 | Product 1 | Ingredient C | 0.4 | 23.2 | |||||
5 | Product 2 | Ingredient A | 0.1 | 26.5 | |||||
6 | Product 2 | Ingredient B | 0 | 0 | |||||
7 | Product 2 | Ingredient C | 0.9 | 238.5 | |||||
8 | Product 3 | Ingredient A | 0.65 | 0 | Row Labels | Sum of Tonnes | |||
9 | Product 3 | Ingredient B | 0.25 | 0 | Ingredient A | 61.3 | |||
10 | Product 3 | Ingredient C | 0.1 | 0 | Ingredient C | 261.7 | |||
Sheet13 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D2:D10 | D2 | =IFERROR(VLOOKUP(A2,$F$2:$G$3,2,0),0)*C2 |
Book1 | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | |||||||
2 | Ingredient A | Ingredient B | Ingredient C | ||||
3 | Product 1 | 0.3 | 0.3 | 0.4 | |||
4 | Product 2 | 0.1 | 0.5 | 0.4 | |||
5 | Product 3 | 0.65 | 0.25 | 0.1 | |||
6 | |||||||
7 | |||||||
8 | Product | Tonnes | Ingredient | Tonnes | |||
9 | Product 2 | 265 | Ingredient A | 43.9 | |||
10 | Product 1 | 58 | Ingredient B | 149.9 | |||
11 | Ingredient C | 129.2 | |||||
Sheet10 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
E9:E11 | E9 | =SUMPRODUCT(SUMIF($A$9:$A$10,$A$3:$A$5,$B$9:$B$10)*($B$2:$D$2=D9)*$B$3:$D$5) |