I need one formula that will sum each “Project by Year (Actual & Forecast)” contained in cells C8:C10 for the 2016 Project Year and D8:D10 for the 2017 Project Year.
The formula will need to do these steps:
1st, the formula will sum across C16:AU16 for Row A, C17:AU17 for Row B, and C18:AU18 for Row C.
2nd, the formula will need to be aware of the dates contained in cells C14:AU14 and sum up these cells correctly with respect to their “Project by Year” for 2016 (C8:C10) and 2017 (D8:D10).
3rd, the formula will then need to take in account the “Actual” and “Forecast” rows contained in cells C15:AU15 and then sum them under the same titles.
4th, lastly the formula will need to take in account the “Reporting Period” date, cell C3. This date will direct the formula to sum up the totals by the “Actual” and “Forecast” rows (C15:AU15) by only summing up those "Actual" cells months that are in the past and the month of the "Reporting Period" date (C3). Then the same formula will switch gears and start summing up those "Forecast" cell months after the "Reporting Period" date (C3).
So in the attached example, the "Reporting Period" (C3) is Jun-17.
The "Project by Year" for 2016 just sums up the "Actual" from the months of Oct-16 thru. Dec-16, so the results in row "A" = $7,375, "B" = $13,950, and "C" = $23,000.
But now for the "Project by Year" for 2017 it sums up the "Actual" from the months of Jan-17 thru. Jun-17, then because the "Reporting Period" (C3) is Jun-17 the same formula then switches gears to then start summing up the "Forecast" from the months of Jul-17 thru. Dec-17, so the results in row "A" = $59,000, "B" = $60,250, and "C" = $83,950.
Thank you for your help and please let me know if you need any additional information.
Garrett
Bookmarks