Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Average value by highest sums

$
0
0

I'm having trouble with writing the logic for the formula

The results should be as above.


Markdown table

Closing TEUAverage per day
23/3/202262no120
24/3/202249no120
25/3/202216848120
26/3/202214828120
27/3/20221222120
28/3/202217050120
29/3/202294no109
30/3/202262no109
31/3/202217151109
1/4/202276no119
2/4/202216141119
3/4/202221no105
4/4/202218969105
5/4/202217no

Looking to average the closing TEU by the value spikes. For example per day the set value is 120 so if exceeds this value, it needs to be averaged into the previous day.The range stops at the highest spikes. Once the range is set like 23/3 - 28/3 will be taken out of the equation and the tabulation will start anew. preferably a formula solution instead of code as there will be daily sheets.


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>