hi can anyone please help
I have data in say column g1 to g30 which represents car mileage for each day of the month and I wish to view in another cell the end mileage of say g30 but becuse there are a different amount of days in month the end cell could be for ex g30 or say g29 is there a way to display the last entry of a column to anothr cell. Many thanks
Last edited by byron jones; 10-23-2011 at 04:21 PM.
If you could post an example workbook then that would be great.
Are the mileages per day or are they a cumulative total mileage?
If it's per day then just =SUM(G1:G31) will work, because the SUM will ignore any blank lines at the end of the month.
If it's a cumulative mileage then probably =MAX(G1:G31)
OK, so your end mileage formula is =MAX(F2:F35)
In the E column you could also use the formula =IF(A2<>"",F1,"")
That would put the starting mileage in for you automatically.
Thanks for the first part that looks ok, but where you say the formula in the E column would put the start mileage in for the next day if I have done any private miles between finishing on the night and starting the next morning on business they need to be added up and totalled at the bottom on the page where it says private mileage for this period.
The idea of the spread sheet is so that the company can charge me for private miles for use of the company car and they need documentation for tax purposes. I have tried to explain it best as I can and hope you understand what I am after.
Many thanks for your help up to now.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks