title: Adding only certain days to a DateAdd in SQL?
body: <p>I've got an inventory report I'm working with which calculates our average weekly consumption of a particular part and then divides it by what we have on hand to show us a numerical "weeks on hand". So if we have an average weekly consumption of 496 and we have 1500 pieces available, the weeks on hand should be 3.02.</p>
  
  <p>What I'm trying to do is take that number and calculate exactly which day we'll run out of the part in question.  So we'd run out of the example part in 3.02 weeks from now. My issue is that I have to exclude Fridays - Sundays, so each work week is only four days.  </p>
  
  <p>I've looked at the DATEADD() function, and this seems to be what I need to use, but I'm just not sure how to exclude the Fridays from it. I'm using SQL 2005 for this. </p>
  
  <p>Many thanks!</p>