Pardon my ignorance on these things. But I have a follow up question for this same spreadsheet.

I need a formula in another column that uses the last work day or next to last work day in each month and returns a value (say 1) if this is true.

Thank you!!!