Attached is an Excel 2010 workbook with multiple worksheets. It will open up to the one I need help with and the column header is highlighted in yellow to show which column has the formula I need help on. The amounts showing are accurate but the formula is having trouble on some of the lines.
Here is an explanaiton of the worksheets included in the file:
Doc List - this lists all the documents associated to the projects listed in the Project List worksheet. It shows whether the version of the document listed is the most current. It shows the type of work involved. It shows the total cost of the doc. There are formulas to show how much of that work is Captial and how much is Expense. (These formulas will be adjusted but are not used for the formula I need help on.) It also shows which document and the date of said document replaces the individual amounts on the current doc. What this means is: each doc will have a list of items and their individual costs. We might receive another document that shows just the increased amount of those same items. Therefore both documents are current docs with the sum of both docs equaling the new line item totals.
Fixed - This worksheet shows those individual line items in the docs. It shows the total amount, tha capital ratio for each item which then calculates the total cap and total exp amount per line item. It shows the date that line was added to the file. There is a formula to show if that line item was replaced by another and the date it was replaced. This is very important. We may accrue part of that line prior to it being replaced by another doc and this will be shown on the next worksheet.
Accruals-Pmts - This sheet is where each month the user will go in and list those line items that are being accrued. The date in Col K is important to show when this transaction was done. The amount in Col N is what I need help with. It should return the amount of the line item at the time the accrual is being done. To explain a little more, if col K shows the date as May-13, the date behind that is 5/1/13. The accruals are done at the end of the month so the formula in N needs to change the date in Col K to endofmonth. Then it needs to look up the amount that was in play as of endofmonth May 2013 on the Fixed worksheet without going over. So if the Fixed sheet shows this item listed twice, once with 5/1/13 in Col U on the fixed sheet and once with 7/7/13, the formula in the Accruals-Pmts sheet should pull the corresponding data associated to the 5/1 date and not the 7/7/13 date.
I really hope this makes sense. If not, please ask specific questions and I will try to be more clear. Thanks.
Bookmarks