Forum Discussion

Phishdawg's avatar
Phishdawg
Brass Contributor
May 04, 2023

Seeking Code/VBA for Average WaitTime Per Hour

Seeking assistance creating a text box that has the output of - Average 'Wait Time' in in a given hour. There are blanks in the 'OutTime' column that need to be accounted for. Is this possible ...
  • mathetes's avatar
    May 04, 2023

    Phishdawg 

     

    A spreadsheet is attached that computes the average wait time for each hour of a day you select. This relies entirely on functions that are only available in newer versions of Excel, so if it doesn't work for you that would be the reason. Blank fields are not included in the calculation of averages, so if that's what you meant by "blanks in the 'OutTime' column that need to be accounted for" then there's no reason to worry. They are not reducing the averages.

    It looks like this:

     

Resources