BradleyS
Active Member
- Joined
- Oct 28, 2006
- Messages
- 347
- Office Version
- 2010
- Platform
- Windows
How to I test the result from either VLOOKUP or INDEX/MATCH and then put it under the relevant column?
I have entered 2 examples below of where I would like the values to show because they are within the value range for each ID
I can't seem to add the greater than or less than elements to either formula to get it to work.
Here is my data:
I have entered 2 examples below of where I would like the values to show because they are within the value range for each ID
I can't seem to add the greater than or less than elements to either formula to get it to work.
Here is my data:
Excel 2010 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | |||
1 | id | eventdate | value | id | Value <59 | Value >=59 <=64 | Value >=65 <=74 | Value>=75 | |||
2 | 3 | 22/06/2015 | 50 | 3 | 50 | ||||||
3 | 69 | 03/04/2014 | 69 | 7 | |||||||
4 | 108 | 28/04/2014 | 49 | 9 | |||||||
5 | 153 | 16/05/2014 | 55 | 69 | 69 | ||||||
6 | 168 | 19/05/2014 | 65 | 108 | |||||||
7 | 177 | 29/05/2014 | 47 | 110 | |||||||
8 | 135 | ||||||||||
9 | 153 | ||||||||||
10 | 168 | ||||||||||
11 | 177 | ||||||||||
Sheet39 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
F2 | =VLOOKUP(E2,A1:C7,3,FALSE) | |
H5 | =INDEX(C1:C7,MATCH(E5,A1:A7,0)) |