I'm breaking my head on the following:
I have 15
as a lookup value in B1
In A1:A4
for each cell the value is 5
. (I real these are all different values).
I want excel to SUM the values of A1:A4
one by one and if the search value is reached by that sum, return the row number. So for this example I want result 3 (=5+5+5)
If no exact match then return the closest match smaller than the search value.
I tried something like =MATCH(1,B1=SUM(A1:A4),1)
which doesn't work obviously, but I don't know if it's even possible without VBA.
Does anybody know a way (without helper column).