I am trying to create a workbook/spreadsheet to capture our mileage for tax purposes. I know there are several "apps" out there that accomplish this as well as several "Excel Templates", but they don't really capture what I am looking for. I've attached a simple workbook that captures data on one spreadsheet and I am attempting to create a "report" on another spreadsheet that will produce a printable report based on certain criteria (vehicle and purpose). I was trying to write a "IF(SORT(FILTER) formula to capture the necessary data but keep getting an error that I have too many variables. The formula that I have been trying is: IF($B3$='Vehicle Mileage Log'!A6:A250,SORT(FILTER('Vehicle Mileage Log'!B:H,'Vehicle Mileage Log'!A:A=$B$3),4,False,5,False,6,False),SORT(FILTER('Vehicle Mileage Log'!B:H,'Vehicle Mileage Log'!A:A=$B$3),4,True,5,True,6,True))"),"")
Any help would be greatly appreciated, for information I am using Excel 2021.
Bookmarks