Hi,
I have sample data arranged as in A1:G11 and would like to create a formula that will use the parameters in cells K1 and K2 to create a range that will be used in a function.
For example, K1 is 28/02/2018 and K2 is Profit so the range that should be returned the formula for use in whatever function I put in cell K3 should be E4:E11.
Can someone please tell me how to create such a range.
Thanks!
I have sample data arranged as in A1:G11 and would like to create a formula that will use the parameters in cells K1 and K2 to create a range that will be used in a function.
For example, K1 is 28/02/2018 and K2 is Profit so the range that should be returned the formula for use in whatever function I put in cell K3 should be E4:E11.
Can someone please tell me how to create such a range.
Thanks!
Book1 | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | |||
1 | DATE | 31/01/2018 | 31/01/2018 | 28/02/2018 | 28/02/2018 | 31/03/2018 | 31/03/2018 | DATE | 28/02/2018 | ||||
2 | DATA TYPE | Sales | Profit | Sales | Profit | Sales | Profit | DATA TYPE | Profit | ||||
3 | PRODUCT | ||||||||||||
4 | AAA | 100 | 100 | 100 | 100 | 100 | 100 | ||||||
5 | BBB | 100 | 100 | 100 | 100 | 100 | 100 | ||||||
6 | CCC | 100 | 100 | 100 | 100 | 100 | 100 | ||||||
7 | DDD | 100 | 100 | 100 | 100 | 100 | 100 | ||||||
8 | EEE | 100 | 100 | 100 | 100 | 100 | 100 | ||||||
9 | FFF | 100 | 100 | 100 | 100 | 100 | 100 | ||||||
10 | GGG | 100 | 100 | 100 | 100 | 100 | 100 | ||||||
11 | HHH | 100 | 100 | 100 | 100 | 100 | 100 | ||||||
Sheet1 |