Rolling Year to Date Figures

JamesCES

New Member
Joined
Dec 22, 2016
Messages
15
Hi Guys,

I'm looking for some help with formula's please, We've got a spreadsheet which has our 12 top suppliers at the top and the months below and we put the figures per supplier per month, spreadsheet attached.

I would like the spreadsheet to be able to show us the following
1) Total for the past 12months from today's date (ie whenever we open the spreadsheet it updates based on the date)
2) Yearly Figure for the supplier (Jan to Dec)
4) Would like this to be a rolling so we can keep adding to the bottom of the sheet.
5) Would like to be able to see the best month we've had with that supplier.
6) Grand total for all supplier from the start

Thanks in advance for any suggestions and support that you can provide and hope you all have a nice break and a good new year.
James

NETT SPEND
Supplier 1Supplier 2Supplier 3Supplier 4Supplier 5Supplier 6Supplier 7Supplier 8Supplier 9Supplier 10Supplier 11Supplier 12Monthly Totals
CREDIT100100100100100100100100100100100100
MONTH
Apr-14£50.00£20.00£30.00£22.00£33.50£20.00£50.00£20.00£30.00£22.00£33.50£20.00£351.00
May-14£60.00£25.00£35.00£23.00£34.50£21.00£60.00£25.00£35.00£23.00£34.50£21.00£397.00
Jun-14£70.00£30.00£40.00£24.00£35.50£22.00£70.00£30.00£40.00£24.00£35.50£22.00£443.00
Jul-14£80.00£35.00£45.00£25.00£36.50£23.00£80.00£35.00£45.00£25.00£36.50£23.00£489.00
Aug-14£90.00£40.00£50.00£26.00£37.50£24.00£90.00£40.00£50.00£26.00£37.50£24.00£535.00
Sep-14£100.00£45.00£55.00£27.00£38.50£25.00£100.00£45.00£55.00£27.00£38.50£25.00£581.00
Oct-14£110.00£50.00£60.00£28.00£39.50£26.00£110.00£50.00£60.00£28.00£39.50£26.00£627.00
Nov-14£120.00£55.00£65.00£29.00£40.50£27.00£120.00£55.00£65.00£29.00£40.50£27.00£673.00
Dec-14£130.00£60.00£70.00£30.00£41.50£28.00£130.00£60.00£70.00£30.00£41.50£28.00£719.00
Jan-15£140.00£65.00£75.00£31.00£42.50£29.00£140.00£65.00£75.00£31.00£42.50£29.00£765.00
Feb-15£150.00£70.00£80.00£32.00£43.50£30.00£150.00£70.00£80.00£32.00£43.50£30.00£811.00
Mar-15£160.00£75.00£85.00£33.00£44.50£31.00£160.00£75.00£85.00£33.00£44.50£31.00£857.00
Apr-15£170.00£80.00£90.00£34.00£45.50£32.00£170.00£80.00£90.00£34.00£45.50£32.00£903.00
May-15£180.00£85.00£95.00£35.00£46.50£33.00£180.00£85.00£95.00£35.00£46.50£33.00£949.00
Jun-15£190.00£90.00£100.00£36.00£47.50£34.00£190.00£90.00£100.00£36.00£47.50£34.00£995.00
Jul-15£200.00£95.00£105.00£37.00£48.50£35.00£200.00£95.00£105.00£37.00£48.50£35.00£1,041.00
Aug-15£210.00£100.00£110.00£38.00£49.50£36.00£210.00£100.00£110.00£38.00£49.50£36.00£1,087.00
Sep-15£220.00£105.00£115.00£39.00£50.50£37.00£220.00£105.00£115.00£39.00£50.50£37.00£1,133.00
Oct-15£230.00£110.00£120.00£40.00£51.50£38.00£230.00£110.00£120.00£40.00£51.50£38.00£1,179.00
Nov-15£240.00£115.00£125.00£41.00£52.50£39.00£240.00£115.00£125.00£41.00£52.50£39.00£1,225.00
Dec-15£250.00£120.00£130.00£42.00£53.50£40.00£250.00£120.00£130.00£42.00£53.50£40.00£1,271.00
Jan-16£260.00£125.00£135.00£43.00£54.50£41.00£260.00£125.00£135.00£43.00£54.50£41.00£1,317.00
Feb-16£270.00£130.00£140.00£44.00£55.50£42.00£270.00£130.00£140.00£44.00£55.50£42.00£1,363.00
Mar-16£280.00£135.00£145.00£45.00£56.50£43.00£280.00£135.00£145.00£45.00£56.50£43.00£1,409.00
Apr-16£290.00£140.00£150.00£46.00£57.50£44.00£290.00£140.00£150.00£46.00£57.50£44.00£1,455.00
May-16£300.00£145.00£155.00£47.00£58.50£45.00£300.00£145.00£155.00£47.00£58.50£45.00£1,501.00
Jun-16£310.00£150.00£160.00£48.00£59.50£46.00£310.00£150.00£160.00£48.00£59.50£46.00£1,547.00
Jul-16£320.00£155.00£165.00£49.00£60.50£47.00£320.00£155.00£165.00£49.00£60.50£47.00£1,593.00
Aug-16£330.00£160.00£170.00£50.00£61.50£48.00£330.00£160.00£170.00£50.00£61.50£48.00£1,639.00
Sep-16£0.00
Oct-16£0.00
Nov-16£0.00
Dec-16£0.00
Jan-17£0.00
Feb-17£0.00
Rolling Total
Grand Total
Best Month

<tbody>
</tbody>
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Hi,

Take a look at this:


Excel 2016 (Windows) 64 bit
ABCDEFGHIJKLMNO
1NETT SPEND
2Supplier 1Supplier 2Supplier 3Supplier 4Supplier 5Supplier 6Supplier 7Supplier 8Supplier 9Supplier 10Supplier 11Supplier 12Monthly Totals
3CREDIT100100100100100100100100100100100100
4
5MONTH
6apr-14€ 50,00€ 20,00€ 30,00€ 22,00€ 33,50€ 20,00€ 50,00€ 20,00€ 30,00€ 22,00€ 33,50€ 20,00€ 351,00
7mei-14€ 60,00€ 25,00€ 35,00€ 23,00€ 34,50€ 21,00€ 60,00€ 25,00€ 35,00€ 23,00€ 34,50€ 21,00€ 397,00
8jun-14€ 70,00€ 30,00€ 40,00€ 24,00€ 35,50€ 22,00€ 70,00€ 30,00€ 40,00€ 24,00€ 35,50€ 22,00€ 443,00
9jul-14€ 80,00€ 35,00€ 45,00€ 25,00€ 36,50€ 23,00€ 80,00€ 35,00€ 45,00€ 25,00€ 36,50€ 23,00€ 489,00
10aug-14€ 90,00€ 40,00€ 50,00€ 26,00€ 37,50€ 24,00€ 90,00€ 40,00€ 50,00€ 26,00€ 37,50€ 24,00€ 535,00
11sep-14€ 100,00€ 45,00€ 55,00€ 27,00€ 38,50€ 25,00€ 100,00€ 45,00€ 55,00€ 27,00€ 38,50€ 25,00€ 581,00
12okt-14€ 110,00€ 50,00€ 60,00€ 28,00€ 39,50€ 26,00€ 110,00€ 50,00€ 60,00€ 28,00€ 39,50€ 26,00€ 627,00
13nov-14€ 120,00€ 55,00€ 65,00€ 29,00€ 40,50€ 27,00€ 120,00€ 55,00€ 65,00€ 29,00€ 40,50€ 27,00€ 673,00
33jul-16€ 320,00€ 155,00€ 165,00€ 49,00€ 60,50€ 47,00€ 320,00€ 155,00€ 165,00€ 49,00€ 60,50€ 47,00€ 1,593,00
34aug-16€ 330,00€ 160,00€ 170,00€ 50,00€ 61,50€ 48,00€ 330,00€ 160,00€ 170,00€ 50,00€ 61,50€ 48,00€ 1,639,00
35sep-16€ -
36okt-16€ -
37nov-16€ -
38dec-16€ -
39jan-17€ -
40feb-17€ -
41
42
431) Total for the past 12months from today's date (ie whenever we open the spreadsheet it updates based on the date)
44€ 3,300,00€ 1,590,00€ 1,710,00€ 534,00€ 672,00€ 510,00€ 3,300,00€ 1,590,00€ 1,710,00€ 534,00€ 672,00€ 510,00€ 16,632,00
45
462) Yearly Figure for the supplier (Jan to Dec)
47€ 2,360,00€ 1,140,00€ 1,220,00€ 372,00€ 464,00€ 356,00€ 2,360,00€ 1,140,00€ 1,220,00€ 372,00€ 464,00€ 356,00€ 11,824,00
48
495) Would like to be able to see the best month we've had with that supplier.
50€ 330,00€ 160,00€ 170,00€ 50,00€ 61,50€ 48,00€ 330,00€ 160,00€ 170,00€ 50,00€ 61,50€ 48,00€ 1,639,00
516) Grand total for all supplier from the start
52€ 5,510,00€ 2,610,00€ 2,900,00€ 1,044,00€ 1,377,50€ 986,00€ 5,510,00€ 2,610,00€ 2,900,00€ 1,044,00€ 1,377,50€ 986,00€ 28,855,00
Sheet1
Cell Formulas
RangeFormula
B44=SUM(OFFSET(INDIRECT(ADDRESS(MATCH(9.99999999999999E+307,B1:B40),COLUMN(B1))),0,0,-12,1))
B47=SUMPRODUCT((YEAR($A$6:$A$40)=YEAR(TODAY()))*B6:B40)
B50=LARGE(B6:B40,1)
B52=SUM(B6:B40)
 
Upvote 0
Hi,

Take a look at this:

Excel 2016 (Windows) 64 bit
ABCDEFGHIJKLMNO
1NETT SPEND
2Supplier 1Supplier 2Supplier 3Supplier 4Supplier 5Supplier 6Supplier 7Supplier 8Supplier 9Supplier 10Supplier 11Supplier 12Monthly Totals
3CREDIT100100100100100100100100100100100100
4
5MONTH
6apr-14 € 50,00 € 20,00 € 30,00 € 22,00 € 33,50 € 20,00 € 50,00 € 20,00 € 30,00 € 22,00 € 33,50 € 20,00 € 351,00
7mei-14 € 60,00 € 25,00 € 35,00 € 23,00 € 34,50 € 21,00 € 60,00 € 25,00 € 35,00 € 23,00 € 34,50 € 21,00 € 397,00
8jun-14 € 70,00 € 30,00 € 40,00 € 24,00 € 35,50 € 22,00 € 70,00 € 30,00 € 40,00 € 24,00 € 35,50 € 22,00 € 443,00
9jul-14 € 80,00 € 35,00 € 45,00 € 25,00 € 36,50 € 23,00 € 80,00 € 35,00 € 45,00 € 25,00 € 36,50 € 23,00 € 489,00
10aug-14 € 90,00 € 40,00 € 50,00 € 26,00 € 37,50 € 24,00 € 90,00 € 40,00 € 50,00 € 26,00 € 37,50 € 24,00 € 535,00
11sep-14 € 100,00 € 45,00 € 55,00 € 27,00 € 38,50 € 25,00 € 100,00 € 45,00 € 55,00 € 27,00 € 38,50 € 25,00 € 581,00
12okt-14 € 110,00 € 50,00 € 60,00 € 28,00 € 39,50 € 26,00 € 110,00 € 50,00 € 60,00 € 28,00 € 39,50 € 26,00 € 627,00
13nov-14 € 120,00 € 55,00 € 65,00 € 29,00 € 40,50 € 27,00 € 120,00 € 55,00 € 65,00 € 29,00 € 40,50 € 27,00 € 673,00
33jul-16 € 320,00 € 155,00 € 165,00 € 49,00 € 60,50 € 47,00 € 320,00 € 155,00 € 165,00 € 49,00 € 60,50 € 47,00 € 1,593,00
34aug-16 € 330,00 € 160,00 € 170,00 € 50,00 € 61,50 € 48,00 € 330,00 € 160,00 € 170,00 € 50,00 € 61,50 € 48,00 € 1,639,00
35sep-16 € -
36okt-16 € -
37nov-16 € -
38dec-16 € -
39jan-17 € -
40feb-17 € -
41
42
431) Total for the past 12months from today's date (ie whenever we open the spreadsheet it updates based on the date)
44 € 3,300,00 € 1,590,00 € 1,710,00 € 534,00 € 672,00 € 510,00 € 3,300,00 € 1,590,00 € 1,710,00 € 534,00 € 672,00 € 510,00 € 16,632,00
45
462) Yearly Figure for the supplier (Jan to Dec)
47 € 2,360,00 € 1,140,00 € 1,220,00 € 372,00 € 464,00 € 356,00 € 2,360,00 € 1,140,00 € 1,220,00 € 372,00 € 464,00 € 356,00 € 11,824,00
48
495) Would like to be able to see the best month we've had with that supplier.
50 € 330,00 € 160,00 € 170,00 € 50,00 € 61,50 € 48,00 € 330,00 € 160,00 € 170,00 € 50,00 € 61,50 € 48,00 € 1,639,00
516) Grand total for all supplier from the start
52 € 5,510,00 € 2,610,00 € 2,900,00 € 1,044,00 € 1,377,50 € 986,00 € 5,510,00 € 2,610,00 € 2,900,00 € 1,044,00 € 1,377,50 € 986,00 € 28,855,00

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
B44=SUM(OFFSET(INDIRECT(ADDRESS(MATCH(9.99999999999999E+307,B1:B40),COLUMN(B1))),0,0,-12,1))
B47=SUMPRODUCT((YEAR($A$6:$A$40)=YEAR(TODAY()))*B6:B40)
B50=LARGE(B6:B40,1)
B52=SUM(B6:B40)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

Hi Thanks for replying
Will i have to alter this formula once i go past row 40? is there anyway i can change this to know automatically know what the last row is?
thanks
 
Upvote 0
I would like the spreadsheet to be able to show us the following23/12/201522/12/201622/12/2016
1) Total for the past 12months from today's date (ie whenever we open the spreadsheet it updates based on the date)1223/12/2015
2) Yearly Figure for the supplier (Jan to Dec)12
4) Would like this to be a rolling so we can keep adding to the bottom of the sheet.1201/04/20141
5) Would like to be able to see the best month we've had with that supplier.1201/05/20142
6) Grand total for all supplier from the start23/12/201501/06/20143
23/12/2015213201/07/20144
Thanks in advance for any suggestions and support that you can provide and hope you all have a nice break and a good new year.01/08/20145
James01/09/20146
01/10/20147
NETT SPEND01/11/20148
Supplier 1Supplier 2Supplier 3Supplier 4Supplier 5Supplier 6Supplier 7Supplier 8Supplier 9Supplier 10Supplier 11Supplier 12Monthly Totals01/12/20149
CREDIT10010010010010010010010010010010010001/01/201510
MONTHautomatic rolling last 12 months01/02/201511
Apr-14£50.00£20.00£30.00£22.00£33.50£20.00£50.00£20.00£30.00£22.00£33.50£20.00£351.0001/03/201512
May-14£60.00£25.00£35.00£23.00£34.50£21.00£60.00£25.00£35.00£23.00£34.50£21.00£397.0012301/04/201513
Jun-14£70.00£30.00£40.00£24.00£35.50£22.00£70.00£30.00£40.00£24.00£35.50£22.00£443.00Supplier 1Supplier 2Supplier 301/05/201514
Jul-14£80.00£35.00£45.00£25.00£36.50£23.00£80.00£35.00£45.00£25.00£36.50£23.00£489.0036601770189001/06/201515
Aug-14£90.00£40.00£50.00£26.00£37.50£24.00£90.00£40.00£50.00£26.00£37.50£24.00£535.0001/07/201516
Sep-14£100.00£45.00£55.00£27.00£38.50£25.00£100.00£45.00£55.00£27.00£38.50£25.00£581.0001/08/201517
Oct-14£110.00£50.00£60.00£28.00£39.50£26.00£110.00£50.00£60.00£28.00£39.50£26.00£627.0001/09/201518
Nov-14£120.00£55.00£65.00£29.00£40.50£27.00£120.00£55.00£65.00£29.00£40.50£27.00£673.00formula giving 366001/10/201519
Dec-14£130.00£60.00£70.00£30.00£41.50£28.00£130.00£60.00£70.00£30.00£41.50£28.00£719.0001/11/201520
Jan-15£140.00£65.00£75.00£31.00£42.50£29.00£140.00£65.00£75.00£31.00£42.50£29.00£765.00=SUM(OFFSET($A$14,$Q$7,Q16):OFFSET($A$14,$R$7,Q16))01/12/201521
Feb-15£150.00£70.00£80.00£32.00£43.50£30.00£150.00£70.00£80.00£32.00£43.50£30.00£811.0001/01/201622
Mar-15£160.00£75.00£85.00£33.00£44.50£31.00£160.00£75.00£85.00£33.00£44.50£31.00£857.0001/02/201623
Apr-15£170.00£80.00£90.00£34.00£45.50£32.00£170.00£80.00£90.00£34.00£45.50£32.00£903.00uses todays date to give start and end months01/03/201624
May-15£180.00£85.00£95.00£35.00£46.50£33.00£180.00£85.00£95.00£35.00£46.50£33.00£949.00in the top mini table01/04/201625
Jun-15£190.00£90.00£100.00£36.00£47.50£34.00£190.00£90.00£100.00£36.00£47.50£34.00£995.0001/05/201626
Jul-15£200.00£95.00£105.00£37.00£48.50£35.00£200.00£95.00£105.00£37.00£48.50£35.00£1,041.00ie 21 and 3201/06/201627
Aug-15£210.00£100.00£110.00£38.00£49.50£36.00£210.00£100.00£110.00£38.00£49.50£36.00£1,087.0001/07/201628
Sep-15£220.00£105.00£115.00£39.00£50.50£37.00£220.00£105.00£115.00£39.00£50.50£37.00£1,133.0021 from lookup table01/08/201629
Oct-15£230.00£110.00£120.00£40.00£51.50£38.00£230.00£110.00£120.00£40.00£51.50£38.00£1,179.0032 is just add 1101/09/201630
Nov-15£240.00£115.00£125.00£41.00£52.50£39.00£240.00£115.00£125.00£41.00£52.50£39.00£1,225.0001/10/201631
Dec-15£250.00£120.00£130.00£42.00£53.50£40.00£250.00£120.00£130.00£42.00£53.50£40.00£1,271.0001/11/201632
Jan-16£260.00£125.00£135.00£43.00£54.50£41.00£260.00£125.00£135.00£43.00£54.50£41.00£1,317.0001/12/201633
Feb-16£270.00£130.00£140.00£44.00£55.50£42.00£270.00£130.00£140.00£44.00£55.50£42.00£1,363.00should be able to use same approach01/01/201734
Mar-16£280.00£135.00£145.00£45.00£56.50£43.00£280.00£135.00£145.00£45.00£56.50£43.00£1,409.00combined with MAX function01/02/201735
Apr-16£290.00£140.00£150.00£46.00£57.50£44.00£290.00£140.00£150.00£46.00£57.50£44.00£1,455.00to give best month01/03/201736
May-16£300.00£145.00£155.00£47.00£58.50£45.00£300.00£145.00£155.00£47.00£58.50£45.00£1,501.0001/04/201737
Jun-16£310.00£150.00£160.00£48.00£59.50£46.00£310.00£150.00£160.00£48.00£59.50£46.00£1,547.0001/05/201738
Jul-16£320.00£155.00£165.00£49.00£60.50£47.00£320.00£155.00£165.00£49.00£60.50£47.00£1,593.0001/06/201739
Aug-16£330.00£160.00£170.00£50.00£61.50£48.00£330.00£160.00£170.00£50.00£61.50£48.00£1,639.0001/07/201740
Sep-16£340.00£165.00£175.00£51.00£62.50£49.00£340.00£165.00£175.00£51.00£62.50£49.00£1,685.00
Oct-16£350.00£170.00£180.00£52.00£63.50£50.00£350.00£170.00£180.00£52.00£63.50£50.00£1,731.00
Nov-16£360.00£175.00£185.00£53.00£64.50£51.00£360.00£175.00£185.00£53.00£64.50£51.00£1,777.00
Dec-16£0.00
Jan-17£0.00
Feb-17£0.00
Rolling Total
Grand Total
Best Month

<colgroup><col span="15"><col><col><col span="2"><col><col><col><col><col span="2"></colgroup><tbody>
</tbody>
 
Upvote 0
Hi jorismoerings,

You kindly answered my post previously and wondered if you could answer this question for me,

On Row 47 it shows year to date, what i would like to do is do a comparison to the same time period last year. So if the sheet is doing Jan 17 to April 17 it will compare it with it to Jan 16 to April 16, if i load the sheet up in September it will compare Jan 17 - Sept 17 with Jan 16 - Sept 16. Once i have this information i would like to show it as a percentage increase or decrease. Is it possible to do this as one formula?
thanks
James
 
Upvote 0

Forum statistics

Threads
1,214,670
Messages
6,120,831
Members
448,990
Latest member
rohitsomani

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