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
- 65.3K Get Help
- 446 Global Discussions
- 144 Industry Talk
- 478 Announcements
- 5K Ideas & Feature Requests
- 85 Brandfolder
- 151 Just for fun
- 72 Community Job Board
- 490 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 302 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!