emmarahudson
New Member
- Joined
- Mar 19, 2014
- Messages
- 23
Hello Everybody
Please see below a scaled down version of a report I'm working on. What I want to do is write a formula in columns B and C which will pull through the values in columns G and J (respectively). So, B3 = 0, B4 = 7, B5 = 9, B6 = 15 (and so on for columns C/I).
I have written a very basic Index/Match using the column headers but I'm now a bit lost. I think I may need to use HLookup as well but I'm not sure how to incorporate it. Can anybody help me?
Please see below a scaled down version of a report I'm working on. What I want to do is write a formula in columns B and C which will pull through the values in columns G and J (respectively). So, B3 = 0, B4 = 7, B5 = 9, B6 = 15 (and so on for columns C/I).
I have written a very basic Index/Match using the column headers but I'm now a bit lost. I think I may need to use HLookup as well but I'm not sure how to incorporate it. Can anybody help me?
Excel 2010 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | |||
1 | Sales Inc FOC | Purchases | Sales | Sales | Sales Inc FOC | Purchases | Purchases | Purchases | ||||
2 | Overall | Overall | Jan | Feb | Overall | Jan | Feb | Overall | ||||
3 | Alpha | 0 | 0 | 0 | 0 | 1 | 2 | 3 | ||||
4 | Beta | 0 | 3 | 4 | 7 | 1 | 1 | 2 | ||||
5 | Gamma | 0 | 7 | 2 | 9 | 0 | 0 | 0 | ||||
6 | Delta | 0 | 6 | 9 | 15 | 7 | 4 | 11 | ||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B3 | =INDEX($E$1:$J$6,MATCH($B$1,$E$1:$J$1,0),MATCH($B$2,$E$2:$J$2,0)) | |
B4 | =INDEX($E$1:$J$6,MATCH($B$1,$E$1:$J$1,0),MATCH($B$2,$E$2:$J$2,0)) | |
B5 | =INDEX($E$1:$J$6,MATCH($B$1,$E$1:$J$1,0),MATCH($B$2,$E$2:$J$2,0)) | |
B6 | =INDEX($E$1:$J$6,MATCH($B$1,$E$1:$J$1,0),MATCH($B$2,$E$2:$J$2,0)) |