Hello Alteryx:
How can I convert this excel formula into Alteryx?
=NETWORKDAYS(A2, TODAY())
Appreciate your help.
Thanks
Hi -
I came up with a single-tool solution:
The Formula tool calculates a few, relatively simple numbers, and determines the number of work days. I've run a few test cases, and they all tie to the Excel function. Dataset and workflow attached.
Mark
Hi @Kinetic_analytics
There is no specific formula to recreate this function in Alteryx, but we can recreate the output with a couple tools.
I'm using a Generate Rows tool to create all dates between the input date and today's date, then identifying the day of the week for each date, filtering out the weekends, and finally using a Summarize tool to count the days.
In the example I provided, I've included a Join tool just to validate that the output matches your desired output.
Let me know if this works for you.
Cheers!
Phil
Awesome!
On the Net workdays, I am getting 0 or 1. I can not see the exact difference number.
I'm not sure I understand your question. When I run the workflow with the sample data that was attached, I see this:
Let me know if I can assist.