That formula tells you how many days in that month are not Sunday (your workday). So, November (Today) returns 26. That is the first part of your request ("I'd like to be able to automatically calculate how many work days there are in a month, first of all"). It should be able to be modified to your second goal by changing that initial 25.