Hi there,
Can you help me in converting the =NETWORKDAYS(AK2,AO2)-1 (Excel formula) in alteryx?
Solved! Go to Solution.
Hi @Redzapplin ,
in Alteryx, you can create a list of dates in the range (i.e. between StartDate and EndDate), count the days that are not Saturday/Sunday and remove holidays from a list. I've attached a sample workflow. You can also convert it to a marco and set a switch to decide, if holidays should be considered.
Let me know if it works for you.
Best,
Roland
Hi @Redzapplin !
There's actually a macro that was built to do this on the gallery: https://gallery.alteryx.com/#!app/Count-Weekdays/5862c055a18e9e0ff8d854cd.
You can download it and add the 'CalculateBusinessDays' macro to your workflow. It also gives you the option to add weekdays that you want excluded as business days (like holidays).
Hope this helps!
Ashley
@RolandSchubert Thanks much!
Thanks much @AshleyL. Indeed this is a good one,
Unable to find the macro is there a different link?
User | Count |
---|---|
17 | |
15 | |
15 | |
8 | |
6 |