Here is an example spreadsheet: https://drive.google.com/file/d/0Bwm-ycnD46XcYXlfOVBzVVBrams/view?usp=sharing
Edit to attach file, LOOKUP Example.xlsx
I’m using MIN and MAX to find the highest and lowest values in a range. The ranges include blank cells.
I’m using LOOKUP to find the last value in the list that matches the MIN value, and then I want it to output the value in column A (the date) for the row where the MIN value is found. I’m doing the same thing with the MAX value.
If you look at the example spreadsheet, you’ll see that this works every time for the MAX value (except for ranges with no data), but only sometimes for the MIN value. The second LOOKUP for the MIN value does this in cell C8. It should be looking for the value in C7 (1408). It should find this value in C5 of the Data sheet. It should then output the value in A5 (10/12/16), but it is showing #NA.
Any help will be greatly appreciated. Thanks!
I clicked on my own link to make sure it was viewable. The link itself didn’t show the sheet, but gave the option to open it in Google Sheets. When I opened it in Google Sheets, the formulas always return the date and never return #NA.
OS: Windows 10 Pro w/Anniversary Update (10.0.14393 Build 14393)
LibreOffice: 5.1.5.2 (x64)