Average Formulas
Hi all,
Need help with trying to get a formula for Averaging Transit Days for certain criterias in Carrier and Origin. Ultimately I'm trying to build a dashboard of transit days for each origin location. Below if formula I am trying, but I'm not getting any output.
=AVG(COLLECT([Transit Days]:[Transit Days], Carrier:Carrier, "DM", Origin:Origin, "HKG"))
Best Answer
-
Ok. Start by checking your [Freight received] and [Delivery Date columns. Are there any errors or missing dates? If so, that would cause an error in your NETWORKDAY formula which would be pulled through into your average formula.
Answers
-
When you say you are "not getting any output" do you mean that the formula is returning a blank or are you getting an error, or...?
-
Hi Paul,
Sorry it's giving me error "#Invalid Data Type". Any information is greatly appreiated :).
-
Do you have that error in any of the columns being referenced? How is the data in the [Transit Days] column being populated?
-
Yes, i do have that in the [transit day] column which is calculating the below formula. Please note that's just one sample with correct data.
Transit Days formula below
=NETWORKDAY([Freight received]24, [Delivery Date]24)
-
Ok. Start by checking your [Freight received] and [Delivery Date columns. Are there any errors or missing dates? If so, that would cause an error in your NETWORKDAY formula which would be pulled through into your average formula.
-
Thanks Paul for the assistance. I was able to fix the issues with your help. Much appreciated.
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 69 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!