Hi, I'm building a spreadsheet containing vehicle service data for a group of vehicles. I have Date (A), Vehicle ID (B), Mileage (C), and Service (D).
For the convenience of people viewing this spreadsheet, I wanted to make a summary table containing each vehicle in the first column, mileage reading for next oil change, and date for next oil change. In order to do this, I need a formula that returns the mileage from the most recent mileage/date row where Vehicle ID = X and Service = "Oil Change". I have had difficulty finding the correct combinations of formulas to get this to work, and would appreciate any assistance in doing this.
In summary, the formula needs to filter out all rows where Service =/= "Oil Change", then do a further filter where Vehicle ID =/= X, then return the mileage/date data from the lowest (most recent) row. It doesn't have to necessarily "filter" the rows, I just thought that'd be the easiest way to understand my question.
Bookmarks