Home

Current Averages of Year to Date

%3CLINGO-SUB%20id%3D%22lingo-sub-701877%22%20slang%3D%22en-US%22%3ECurrent%20Averages%20of%20Year%20to%20Date%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-701877%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Everybody%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20find%20out%20the%20average%20output%20of%20my%20business%20for%20the%20most%20recent%20month%20and%20year%20to%20date.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EI%20was%20wondering%20how%20you%20might%20make%20this%20sort%20of%20rolling%20average.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3ECurrently%20I%20had%20gone%20for%20using%20the%20averageifs%20function%20but%20am%20not%20too%20sure%20about%20syntax.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F119402i1C0C2E8BAE2FCC33%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Screen%20Shot%202019-06-19%20at%2011.38.15%20am.png%22%20title%3D%22Screen%20Shot%202019-06-19%20at%2011.38.15%20am.png%22%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20style%3D%22width%3A%20578px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F119403i75761609FABC04C3%2Fimage-dimensions%2F578x375%3Fv%3D1.0%22%20width%3D%22578%22%20height%3D%22375%22%20alt%3D%22Screen%20Shot%202019-06-19%20at%2011.37.48%20am.png%22%20title%3D%22Screen%20Shot%202019-06-19%20at%2011.37.48%20am.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20anyone%20has%20any%20advice%2C%20that%20would%20be%20greatly%20appreciated!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHugo%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-701877%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EBI%20%26amp%3B%20Data%20Analysis%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-702128%22%20slang%3D%22en-US%22%3ERe%3A%20Current%20Averages%20of%20Year%20to%20Date%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-702128%22%20slang%3D%22en-US%22%3EIn%20English%2C%20your%20formula%20returns%20the%20average%20of%20total%20output%20for%20weeks%20ending%20from%20tomorrow%20to%20360%20days%20from%20today.%20Is%20that%20what%20you%20want%20to%20obtain%20from%20your%20formula%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-702306%22%20slang%3D%22en-US%22%3ERe%3A%20Current%20Averages%20of%20Year%20to%20Date%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-702306%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F280482%22%20target%3D%22_blank%22%3E%40Twifoo%3C%2FA%3E%26nbsp%3BThank%20you%20for%20the%20reply.%20Yes%20I%20would%20like%20to%20get%20the%20weekly%20average%20for%20the%20year%3CBR%20%2F%3Eand%20then%20also%20for%20the%20month%20so%20I%20assume%20I%20would%20be%20just%20changing%20it%20to%20TODAY()-30%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETrouble%20is%20I'm%20not%20actually%20getting%20anything%3C%2FP%3E%3C%2FLINGO-BODY%3E
Hugo Puflett
New Contributor

Hi Everybody,

 

I am trying to find out the average output of my business for the most recent month and year to date. 

I was wondering how you might make this sort of rolling average. 

Currently I had gone for using the averageifs function but am not too sure about syntax.

 

Screen Shot 2019-06-19 at 11.38.15 am.pngScreen Shot 2019-06-19 at 11.37.48 am.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

If anyone has any advice, that would be greatly appreciated!

 

Best,

 

Hugo

5 Replies
In English, your formula returns the average of total output for weeks ending from tomorrow to 360 days from today. Is that what you want to obtain from your formula?

@Twifoo Thank you for the reply. Yes I would like to get the weekly average for the year
and then also for the month so I assume I would be just changing it to TODAY()-30

 

Trouble is I'm not actually getting anything

I am actually getting #DIV/0
Please attach your sample file so that I can personally test the formula and probably discover the reason for the #DIV/0! error.
Highlighted

@Hugo Puflett 

Your formula is trying to return the projected total output for the next 360 days. To return the historical output for the last 1 month before today, your formula should be: 

=AVERAGEIFS(Table5[Total Output],

Table5[Week Ending],">="&EDATE(TODAY(),-1),

Table5[Week Ending],"<="&(TODAY())

For the last 1 year before today, your formula should be: 

=AVERAGEIFS(Table5[Total Output],

Table5[Week Ending],">="&EDATE(TODAY(),-12),

Table5[Week Ending],"<="&(TODAY())

Your current formula is returning #DIV/0! error probably because there are no dates in the Week Ending column of Table5, which are after today. 

Related Conversations
Extentions Synchronization
Deleted in Discussions on
3 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
36 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
9 Replies