Hi everyone.
I run a window cleaning company. I have two pages on my spreadsheet, one with a list of invoices, the other with customers. They usually have regular work. So I want a column in the customer sheet to be constantly looking at the invoice list.
Everytime a new invoice is entered, I want the customer sheet to capture the date of the work. I adjusted a formula I found here to this: =VLOOKUP("*"&D4&"*",'Invoices - Main'!C$6:D500,2,FALSE)
where D4 contains the customer name. The array in on the "invoice-main" sheet and the "2" of course contains the invoice date.
This works well, but unfortunately it just chooses the first date it finds. Is there a way for it to choose the last date for the customer?
Thanks so much for your help.
I run a window cleaning company. I have two pages on my spreadsheet, one with a list of invoices, the other with customers. They usually have regular work. So I want a column in the customer sheet to be constantly looking at the invoice list.
Everytime a new invoice is entered, I want the customer sheet to capture the date of the work. I adjusted a formula I found here to this: =VLOOKUP("*"&D4&"*",'Invoices - Main'!C$6:D500,2,FALSE)
where D4 contains the customer name. The array in on the "invoice-main" sheet and the "2" of course contains the invoice date.
This works well, but unfortunately it just chooses the first date it finds. Is there a way for it to choose the last date for the customer?
Thanks so much for your help.