Month-to-Date to Year-to-Date

cheongmarcus

New Member
Joined
Mar 14, 2020
Messages
16
Office Version
  1. 365
  2. 2016
  3. 2013
  4. 2011
Platform
  1. Windows
Hi there! I've been trying to figure this out for long but i cant, and hence i need help with this.
My objective is to calculate YTD numbers from a set of MTD numbers. So example i have this set of data:

1587435672292.png


I will need to sum the figures based on these five categories
1587435540181.png

AND obtain the YTD numbers. In other words, if i input 'Mar' in cell A1, then cell B20 to B26 will be populated accordingly with the summation of Jan,Feb,Mar total.

Is there a formula to do all these at once
without the need to create a YTD table?

Any help is much appreciated! Thank you!
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Try this

Dante Amor
ABCDEFGHIJKLM
1Mar
2MTD FIGURESJanFebMarAprMayJunJulAugSepOctNovDec
3Salaries and vagages426384105127148169190211232254275
4Finance costs5684112141169197225254282310338367
5Depreciation70105141176211247282317352388423458
6Administratio expenses84127169211254296338381423465508550
7Finance costs98148197247296345395444494543592642
8Depreciation112169225282338395451508564621677734
9Impaiment losses127190254317381444508571635698762825
10Utility expenses141211282352423494564635705776847917
11Cost of goods sold1552323103884655436216987768549311009
12Administratio expenses16925433842350859267776284793110161101
13Finance costs183275367458550642734825917100911011192
14Depreciation197296395494592691790889988108711851284
15Finance costs2113174235296357418479521058116412701376
16Depreciation22533845156467779090310161129124213551468
17Impaiment losses24036048060072084096010801200132014401560
18
19YTD FIGURESSUM
20Salaries and vagages189
21Utility expenses634
22Cost of goods sold697
23Administratio expenses1141
24Finance costs2471
25Depreciation2724
26Impaiment losses1651
Hoja7
Cell Formulas
RangeFormula
B20:B26B20=SUMPRODUCT((A$3:A$17=A20)*($B$3:INDEX(B$3:M$17,0,MATCH($A$1,B$2:M$2,0))))
 
Upvote 0
Hi Sorry to jump in on this thread - but if I were to want the month only based on this selection whats the best way please as the if statement one is too long and I'm sure there's an easier way!
I would like cols C, D & E pick up values from second screenshot based on PY, BP etc.

3697 P&L_FY21 Jan YTD.xlsx
BCDEFG
2Jan
3 MTD ANALYSIS
4EUR (000)FY20FBP21ACT21vs BP21vs PY
5
6Net Trade Sales000--
7
8Currency000--
9Cost of Other Revenue000--
10COGS000--
116%#DIV/0!#DIV/0!
12
13IC Sales & Services000--
14Standard GP000--
Sheet2
Cell Formulas
RangeFormula
B2B2=Selections!C3
C3C3=UPPER(Selections!A1)&" MTD ANALYSIS"
C6:E6,C13:E13,C8:E9C6=M6
F6,F13:F14,F8:F10F6=E6-D6
G6,G13:G14,G8:G10G6=E6-C6
C10:E10C10=SUM(C7:C9)
D11:E11D11=D10/D6
C14:E14C14=C6-C10+C13


3697 P&L_FY21 Jan YTD.xlsx
BCDEFGHIJKLMNOP
19PY
20YTDYear123456789101112
2120202020JanFebMarAprMayJunJulAugSepOctNovDec
220660140005 - Loss on Sale or Disposal of Fixed Assets1007,800.00100.00200.00300.00400.00500.00600.00700.00800.00900.001,000.001,100.001,200.00
230660190001 - Miscellaneous Income - Third Party1003,600.00100.000.00300.000.00500.000.00700.000.00900.000.001,100.000.00
240660230001 - Provision Collection Losses04,200.000.00200.000.00400.000.00600.000.00800.000.001,000.000.001,200.00
250660240001 - Acquisition Amortization of Other Intangibles1007,550.00100.00200.00250.00400.00450.00600.00650.00800.00850.001,000.001,050.001,200.00
Sheet2
Cell Formulas
RangeFormula
C22:C25C22=SUM(E22:INDEX(E22:P22,Selections!$C$4))
D22:D25D22=SUM(E22:P22)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,254
Members
452,623
Latest member
Techenthusiast

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