Dynamic YTD Formula Needed for Final Sheet Under Budget and Actuals

jpalleyne

New Member
Joined
Dec 12, 2019
Messages
27
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
  2. MacOS
Book1
ABCDEFGHIJKLMNOPQRST
1
2Budget-In separate sheet
3DepartmentAccount #Jan-24Feb-24Mar-24Apr-24May-24YTD
4Expense
55100-00 · AC&CS EQUIP DEPT-SALARY (AC&CS EQUIP DEPT-SALARY)AIR CONDITIONING DEPT-COMMERCIAL5100-0023,490.0023,490.0023,490.0023,490.0023,490.00117,450.00
65100-01 · AC&CS-MANANGEMENT FEESAIR CONDITIONING DEPT-COMMERCIAL5100-011,980.001,980.001,980.001,980.001,980.009,900.00
75103-00 · AC&CS EQUIP DEPT-COMMISSION (AC&CS EQUIP DEPT-COMMISSION)AIR CONDITIONING DEPT-RESIDENTIAL5103-00900.00900.00900.00900.00900.004,500.00
8
9
10Actuals-In separate sheet
11Account CodeDepartmentTypeDescriptionAccount CodeJan-24Feb-24Mar-24Apr-24May-24Jun-24Jul-24Aug-24Sep-24Oct-24Nov-24Dec-24Total FY 2024
125100-00 · AC&CS EQUIP DEPT-SALARY5100-005100-00 · AC&CS EQUIP DEPT-SALARYSalariesPayroll5100-0022,874.6224,268.6622,075.8029,721.963,356.60 - - - - - - - 102,297.64
135100-01 · AC&CS-MANANGEMENT FEES5100-015100-01 · AC&CS-MANANGEMENT FEESManagement FeesOperating Expenses5100-011,980.001,980.001,980.001,980.00 - - - - - - - - 7,920.00
14
15
16
17
18
19Final Sheet
20PAYROLL & OPEXAccount CodeDepartmentTypeDescriptionBudgetActual$ VarianceBudget YTDActuals YTD$ Variance
215100-00 · AC&CS EQUIP DEPT-SALARY5100-00AIR CONDITIONING DEPT-COMMERCIALPayroll23,490.003,356.6020,133.40
225100-01 · AC&CS-MANANGEMENT FEES5100-01AIR CONDITIONING DEPT-COMMERCIALExpense1,980.00 - 1,980.00
235104-00 · AC&CS EQUIP DEPT-BONUS5104-00AIR CONDITIONING DEPT-COMMERCIALPayroll - - -
24
25
26
27
28Formula needed under Budget YTD and Actuals YTD based on Account Code.
29
30
31
Sheet1
 
Last edited:

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Hi

For calculating budget YTD and actuals YTD, you may use

Budget YTD
Cell K21 (just beneath the heading 'Budget YTD')= sumifs($D5:$H5,$D$3:$H$3,"<="&TODAY())

K22=sumifs($D6:$H6,$D$3:$H$3,"<="&TODAY())
K23=sumifs($D7:$H7,$D$3:$H$3,"<="&TODAY())

Please note- H column in D3:H3, D5:H5, D6:H6 etc corresponds to May 24, in case it has to be extended till Dec 24, please change H to the appropriate one

Similarly, for Actuals YTD

Actuals YTD
L21=sumifs($H12:$S12,$H$11:$S$11,"<="&TODAY())
L22=sumifs($H13:$S13,$H$11:$S$11,"<="&TODAY())
L23=sumifs($H14:$S14,$H$11:$S$11,"<="&TODAY())

Also, you may have to populate Row 14 with '5104-00 · AC&CS EQUIP DEPT-BONUS', even if the entries are zero

In case you need till end of Apr 2024, please replace TODAY() with a cell reference, say K19
Please populate K19=Apr-2024 in that case

Thanks
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top