|
General Random thoughts and ideas. "General" does not mean random drivel, nonsense or inane silliness. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Need help with an MS Excel Script/Formula
I'm working on a form for my job (A monthly mileage statement). We record end of day mileage from the bottom up in column A, and the daily use in column B. 31 lines on the form. So Day 1 is Cell A41. (There are header cells)
What I'd like to do is have Cell B40 and up scan down to the next filled A cell and subtract out the Current day's end from the prior day's end to give the actual use. Essentially B40=A40-A41. However it has to be smart enough to skip a null cell (weekends, days out, etc). Do I need a script or can this be done in a straight formula in a cell? Thanks ~Dennys GENERATION 27: The first time you see this, copy it into your signature on any forum and add 1 to the generation. Social experiment |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Better Point Cost Method: NO FORMULA! | ArgosCap | Custom Units & Army Cards | 12 | April 15th, 2010 09:34 AM |
Drake's Flames Update - Formula D | InfinityMax | Other Games | 811 | February 19th, 2009 04:32 PM |
Formula for creating characters? | Tiak | Comic Hero Custom Creations | 2 | April 18th, 2008 09:28 AM |
Need Help in Excel. | Buddy Lee | General | 5 | August 24th, 2006 01:46 PM |
Excel with data anywhere? | Leon | Software | 18 | July 27th, 2006 09:55 AM |