@Chandoo
Many thanks for your help - you've given me food for thought.
Congratulations on an excellent Blog - chandoo.org is my first port of call for any Excel-related problem :-)
@dan_l
Very many thanks for your effort. The value list really is that simple - the values are in a column of fuel costs from a spreadsheet that records vehicle expenditure; where the item is not fuel, the cell contains a zero-length string, but could just as easily contain zero.
Ideally...
I'm trying to create a dashboard in which there is a chart that shows the "last 5" entries in a column, but only includes values from cells that are not empty. I'm trying to construct a worksheet formula (i.e. not using VBA). Would I use an array formula?
Example:
If the column contains...