O
Ola Sigurdh
Hello
I have a table that I want to lookup a date and then return the last value
in column e for that date. For example if I lookup day 1 I want it to return
6. I know the code to make a dynamic range
OFFSET(Sheet1!$A$1,0,0,COUNTA(Sheet1!$A:$A),1 (thank´s Debra), but it does
not stop counting for a blank cell. I have tried to combine an
INDEX(E1:E31,MATCH(F1,A1:A31,0)+G1) with the formula for a dynamic range
but for the above reason it did not work. Hope you understands my question.
A B C D E
1 Date Value
2 1 1
3 2
4 3
5 6
6
7 2 9
8 10
9 19
10
11 5 18
12 19
13 20
14 21
15 22
16 100
Tia
Ola
I have a table that I want to lookup a date and then return the last value
in column e for that date. For example if I lookup day 1 I want it to return
6. I know the code to make a dynamic range
OFFSET(Sheet1!$A$1,0,0,COUNTA(Sheet1!$A:$A),1 (thank´s Debra), but it does
not stop counting for a blank cell. I have tried to combine an
INDEX(E1:E31,MATCH(F1,A1:A31,0)+G1) with the formula for a dynamic range
but for the above reason it did not work. Hope you understands my question.
A B C D E
1 Date Value
2 1 1
3 2
4 3
5 6
6
7 2 9
8 10
9 19
10
11 5 18
12 19
13 20
14 21
15 22
16 100
Tia
Ola