Subtracting dates not including the Weekend

I need to subtract two dates which I can do easily. The the thing which I can’t figure out is how to remove Saturdays and Sundays out of the equation.

Let’s just say that from Monday to Tuesday it returns 1 day as much as Friday to Monday.
39
Any help appreciated.

This topic was automatically closed after 70 days. New replies are no longer allowed.