Let's say I have a cleaning company. OK I have one data set which has 2 columns, lists people and the date they were serviced:
CLIENT DATE-OF-SERVICE
Smith 1/3/2017
Johnson 3/4/2017
Jones 10/4/2016
etc.
Then I have another data set, 4 columns, that shows invoice #s with the date range each invoice covers
INVOICE# CLIENT DATESTART DATEEND
1001 Johnson 3/1/2017 3/31/2017
1002 Adams 4/1/2016 4/30/2016
1003 Williams 10/1/2017 10/30/2017
etc.
How could I create a formula that would match the last name and find the corresponding invoice# for a given date of service? I saw some formulae that can lookup a value based on a date range but the tricky part is integrating the last name to make sure we get the right client's invoice. Multiple invoices may cover the same date range - we want the one that corresponds to the given last name.
Bookmarks