Dividing a number by the number of days between dates

While the above works, depending on your application you might want to ensure that you are dividing by the number of trading days rather than calendar days, cf the discussion here: Getting the third Friday of the month - #4 by lungben

3 Likes