# getAvgDailyTrafficFromWeek

Gets one to many input numbers (representing the weekly traffic or whatever weekly number) in order to return the daily average number.

- arr: List of numbers that the function will receive as an input.

Important: The number needs to represent weekly traffic, not daily or monthly. Because those arguments will get divided by the number of days they represent.

i.e. One args gets divided by 7, two per 14 and so on..

- number: Average daily number

getAvgDailyTrafficFromWeek({ 3126 ; 2578 })

// => 407.42857142857144

- Calculate the run rate of your current month's traffic and the next one in Sheets
- Get the average traffic per day

Last modified 7mo ago