how can I use an hlookup in a sumif?
I have 3 rows of data as follows.
The first row (f1:Ai1), contains dates in the format mm/dd.
The second row (f2:ai2), contains a number representing some amount of time
in minutes, as an example 6 hours would be 360, 7 hours would be 420.
The third row is an interger representing sequential days worked in a given
period of time. 1, 2, 3 ...30.
I have an Hlookup table that looks at the system clock (=today()) and the
three rows mentioned above to determine the sequential of todays date. This
is in cell AR3.
In cell, D5 I would like to use the sumif function to determine how many
minutes total from cell F2 to and including the current day.
Here is what does not work for me sumif(f1:aI1,"<=AR3",f2:ai2). I am open
to any suggestions.
Thanks
|