Find Most recent table entry that is not current month
Hi,
I want to perform a lookup on a table in excel (2003) to bring audit results back for the most recent previous month. I have already tried =LARGE(IF(A$5:A$5000=W5,C$5:C$5000),1) and that brings back the most recent entry in the table, but I don't want this... I want to bring back the most recent entry in the table that is not for this month and the table includes this month's entries.
the table looks something like this:
Supplier Year Month Result
SUP1 2010 1 0
SUP1 2010 4 5
SUP1 2010 8 10
SUP2 2010 3 0
SUP2 2010 4 5
SUP2 2010 5 10
So I want to bring back the most recent result that is not month 8 (current month) from this table.
for example the result from SUP1 would be 5 from April and the result from SUP2 would be 10 from May.
I hope I have explained the problem clearly, does anybody have any ideas?