I have a sheet that contains details of issues of fuel to various vehicles. Every time fuel is issued, a mileage reading is entered for the vehicles. I can summate the issues/costs etc. by vehicle for a given time period using a SUMPRODUCT string against WEEKNUM based on the date of the fuel issue.
What I'd like to do is calculate the mileage per vehicle over the same time period. I don't want to sort the data table as it relies on formula driven meter readings to give other data for the fuel tank stocks / aggregate values etc.
In essence I'm looking for a kind of MINIF & MAXIF type of function so that I can calculate the data I need without the need for a massive sting of IF(AND) functions.
Any ideas?
What I'd like to do is calculate the mileage per vehicle over the same time period. I don't want to sort the data table as it relies on formula driven meter readings to give other data for the fuel tank stocks / aggregate values etc.
In essence I'm looking for a kind of MINIF & MAXIF type of function so that I can calculate the data I need without the need for a massive sting of IF(AND) functions.
Any ideas?