SGIII, thank you for the reply.
Commit Date is the Date that the person starts their sentence. The length of sentence is a count of the total length of sentence, in DAYS (this is the way that the Federal Bureau of Prisons calculates the entire time). GCT is Good Conduct Time which is the federally mandated time off a sentence that a person earns). Prior Time is the number of days a person received for pre-sentence incarceration, ie, Day of Arrest plus additional time prior to sentencing. On this spread sheet, I am simply trying to see if there is a way to automatically calculate the total time to serve and break it up in to monthly allotments with a running total of Time Served based on End Of Month.
As an example:
Inmate #1 was arrested on 6/6/2010 and was held for 6 days and was released on 6/12/2010 on Bond. Inmate #1 receives a total of 7 Days Prior Time (the 6th, 7th, 8th, 9th, 10, 11th and 12th). Inmate #1 was sentenced on December 10, 2010 to 4 Years in Federal Prison and taken into custody immediately (Commitment Date). The inmate sentence is a total of 4 Years minus credit for Prior Time. The Total Time is 2010-2011 = 365, 2011-2012 = 366 Days (Leap Year), 2012-2013 = 365 and 2013-2014=365 Days. The Total Sentence Time to Serve is 1,461 Days. That’s The Full Term Sentence! Now we have to credit in the Prior Time of 7 Days and the Total FULL Sentence to serve is 1,454 Days. I’m not trying to calculate the GCT Credit into this spreadsheet just yet as that is a simple calc of deducting the GCT from the Full Term Sentence, (54x4=216 Days).
On the Spread Sheet I am trying to show the running total of “Days Served” at the end of the month for each month, stopping on the last day of the last month. What I am seeking is information of whether or not Numbers can automatically calculate the Running End Of Month Calculation, adding the End Of Month field automatically including the number of days served. The last month of a sentence should only include to remaining number of days for that sentence.
I am trying to prevent having to create a spreadsheet that will have a table for years, ie, one tab for 2 years, one tab for 3 years, one tab for 4 years, etc.
Hope I explained it better. Again, Thanks for the help.