With
A1: containing a month name (from a dropdown list)...eg JUN
This regular formula begins the list of workdays:
Code:
B1: =WORKDAY(($A$1&"-1")-1,1,HolidayList)
And this regular formula, copied down through B31, continues the list:
Code:
EDITED....B2 formula replaced with a better one:
B2: =IF(B1="","",IF(TEXT(WORKDAY(B1,1,$M$2:$M$15),"mmm")<>$A$1,"",WORKDAY(B1,1,$M$2:$M$15)))
<?XML:NAMESPACE PREFIX = NETWORKDAYS($A$1&"-1",EOMONTH($A$1&"-1",0),$M$2 /><NETWORKDAYS($A$1&"-1",EOMONTH($A$1&"-1",0),$M$2:$M$15),WORKDAY(B1,1,HolidayList),"")< p>
</NETWORKDAYS($A$1&"-1",EOMONTH($A$1&"-1",0),$M$2:$M$15),WORKDAY(B1,1,HolidayList),"")<>
<NETWORKDAYS($A$1&"-1",EOMONTH($A$1&"-1",0),$M$2:$M$15),WORKDAY(B1,1,HolidayList),"")< p>Format those cells as dates.</NETWORKDAYS($A$1&"-1",EOMONTH($A$1&"-1",0),$M$2:$M$15),WORKDAY(B1,1,HolidayList),"")<>
<NETWORKDAYS($A$1&"-1",EOMONTH($A$1&"-1",0),$M$2:$M$15),WORKDAY(B1,1,HolidayList),"")< p></NETWORKDAYS($A$1&"-1",EOMONTH($A$1&"-1",0),$M$2:$M$15),WORKDAY(B1,1,HolidayList),"")<>
<NETWORKDAYS($A$1&"-1",EOMONTH($A$1&"-1",0),$M$2:$M$15),WORKDAY(B1,1,HolidayList),"")< p>Note_1: HolidayList refers to whatever range you used to identify holidays.</NETWORKDAYS($A$1&"-1",EOMONTH($A$1&"-1",0),$M$2:$M$15),WORKDAY(B1,1,HolidayList),"")<>
<NETWORKDAYS($A$1&"-1",EOMONTH($A$1&"-1",0),$M$2:$M$15),WORKDAY(B1,1,HolidayList),"")< p>Note_2: the space before and afte the < symbol are there to prevent this website from interpreting the symbol as an HTML tag.</NETWORKDAYS($A$1&"-1",EOMONTH($A$1&"-1",0),$M$2:$M$15),WORKDAY(B1,1,HolidayList),"")<>
<NETWORKDAYS($A$1&"-1",EOMONTH($A$1&"-1",0),$M$2:$M$15),WORKDAY(B1,1,HolidayList),"")< p></NETWORKDAYS($A$1&"-1",EOMONTH($A$1&"-1",0),$M$2:$M$15),WORKDAY(B1,1,HolidayList),"")<>
<NETWORKDAYS($A$1&"-1",EOMONTH($A$1&"-1",0),$M$2:$M$15),WORKDAY(B1,1,HolidayList),"")< p>
Is that something you can work with?
</NETWORKDAYS($A$1&"-1",EOMONTH($A$1&"-1",0),$M$2:$M$15),WORKDAY(B1,1,HolidayList),"")<>