Hi SamGeron and welcome to ExcelForum,
I generally use one of the following two methods to solve problems similar to yours:
1. Arbitrary Master Item Algorithm
a. Arbitrarily designate either the Date, Line or Model Number as the MASTER ITEM.
b. Search for the Master Item in the SpreadSheet.
c. When the Master Item is Found, then examine other columns in the row to see if the other items MATCH your search criteria.
d. Continue b. and c. until either a match or matches are found, or until there is no more data in the spreadsheet and you have NO MATCH.
2. Helper Column Algorithm
a. Add a 'Helper Column' in the spreadsheet that contains the Date, Line and Model Number concatenated together, usually with an arbitrary separator character. For example:
b. When you search from the UserForm concatenate the search criteria as in a. above.
c. Perform your search on the 'Helper Column' for an exact match.
I hope this helps.
Lewis
Bookmarks