What function do I use to do a lookup in a descending array?
Posted on 2014-08-16
I have a 4-column array. Column A contains dates in ascending order. Column D contains numeric values in descending order. The values in Column D descend until one row contains 0 and all subsequent rows are empty.
I need a formula to return the date from column A that is in the same row as the value 0 in column D.
I have tried using VLookup and other functions, but they all seem to require that the value I am looking for must be in column A with the value returned from some column to the right.
To accommodate that requirement, I tried using a "ghost" column to the right of column D which has the same values as my column A. But the second requirement is that the array has lookup values in ascending order. Mine are in descending order.
What function (or rather, what formula) should I use?