My table has 2 sheets.
Sheet 1 contains values ββfor 30 days.
Each day has a value of no more than 19 lines consisting of names and matching values. The names that appear for each day will not be the same every day. In other words, my name may appear on the 1st, 2nd and 14th of the month, and not on other days. (And these values ββcannot be sorted.)
In my second sheet, only one value for the month will be displayed, and therefore I use the search.
Formula for the first day:
=LOOKUP("name";'Input Sheet'!$A$2:$A$20; 'Input Sheet'!B2:B20)
On the second day it will be:
=LOOKUP("name";'Input Sheet'!$A$22:$A$40; 'Input Sheet'!B22:B40)
The only thing that changes every day is the range / vector of the search. I already have a separate (hidden) column that calculated the correct start line number, i.e. 22, 42, 62, but how would I use this number to change the search range in my formula?
thanks a lot
Michael
source share