You are here:

# Excel/Excel Workday Question

Question
Please help me.  I am trying to create a formula to help me auto populate time sheets.  I have a date in cell B9.

I need the first business day of the month to populate in cell B14, the second business day of the month to populate in cell B15, the third business day of the month to populate in cell B16 and so forth through cell B36.

I only want the timesheet to reflect dates for that particular month.  (Example:  February timesheet should only reflect February dates).

The formula I am currently using in B14 is:
=IF(MONTH(WORKDAY(\$B\$9,0,ROW()))=MONTH(\$B\$9),WORKDAY(EOMONTH(\$B\$9,0),ROW()),"")

Unfortunately if the month starts on a Saturday or Sunday it populates in B14.  What can I do to fix this issue?

I think this discussion

may provide you with what you need - though I may be mistaken.  As long as B14 needs to have the first working day, it SHOULD be right.
Questioner's Rating
 Rating(1-10) Knowledgeability = 10 Clarity of Response = 10 Politeness = 10 Comment Thank you. The information on the post you provided helped me to solve my problem. I still had to use the If Then statement so that the next month wasn't listed. I ended up using the following formula: =IF(MONTH(WORKDAY(\$B\$9-DAY(\$B\$9),1))=MONTH(\$B\$9),WORKDAY(\$B\$9-DAY(\$B\$9),1),"")

This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here

#### Aidan Heritage

##### Expertise

I have provided first hand support since `95 for Microsoft Office majoring in Word and Excel - support for all versions from 2 onwards. I'm based in the UK, so please allow for time differences when asking me questions from other parts of the world!

##### Experience

My background is in the insurance industry and call centre areas, but have been called upon to provide many varied solutions.

Education/Credentials
I'm educated to UK A level standard, but as I left school some 30 years ago that is rather irrelevent - university of life has provided more of a background!