S
skyduck
A B C D
-------- ----- ------ ---
G04-201A 0 0.76 898
G04-201A 0.76 1.07 860
G04-201A 1.07 3.66 830
G04-201A 3.05 0
G04-201A 3.66 4.57
G04-201A 4.57 0
G04-201C 0 0.91 898
G04-201C 0.76 0
G04-201C 0.91 1.68 830
G04-201C 1.68 2.74
G04-201C 2.74 4.27 830
G04-201C 4.27 5.79
G04-201C 5.79 0
E F G
-------- ----- ------
G04-201A 1.52
G04-201A 2.29
G04-201A 3.05
G04-201C 0.61
G04-201C 1.52
G04-201C 3.5
here is what i want to do with each row in column 'g'
- match column 'e' with column 'a'
- match column 'f' such that it is in between column 'b'
and 'c'
- if the above conditions are true, return the value from
column 'd' to column 'g'
example, 5th row in column 'e' and 'f'
'e' = G04-201C, 'f' = 1.52
therefore, returns 830 from column 'd'
thx in advance.
-------- ----- ------ ---
G04-201A 0 0.76 898
G04-201A 0.76 1.07 860
G04-201A 1.07 3.66 830
G04-201A 3.05 0
G04-201A 3.66 4.57
G04-201A 4.57 0
G04-201C 0 0.91 898
G04-201C 0.76 0
G04-201C 0.91 1.68 830
G04-201C 1.68 2.74
G04-201C 2.74 4.27 830
G04-201C 4.27 5.79
G04-201C 5.79 0
E F G
-------- ----- ------
G04-201A 1.52
G04-201A 2.29
G04-201A 3.05
G04-201C 0.61
G04-201C 1.52
G04-201C 3.5
here is what i want to do with each row in column 'g'
- match column 'e' with column 'a'
- match column 'f' such that it is in between column 'b'
and 'c'
- if the above conditions are true, return the value from
column 'd' to column 'g'
example, 5th row in column 'e' and 'f'
'e' = G04-201C, 'f' = 1.52
therefore, returns 830 from column 'd'
thx in advance.
100)