I am trying to fill in the dates horizontally, Below are the criteria for the dates.
- Not Including Holidays
- Saturday and Sunday should be included
- Friday is a holiday therefore should not be included
Below is the formula I entered,
=IF(OR(WEEKDAY(S$3)=6,COUNTIF('Holidays '!$A$2:$A$9,S$3)),"",S$3)
When i drag them, it shows the same date. What is the mistake I am doing?


If I have understood correctly from the OP then the following formula should work using
WORKDAY.INTL()function:Here are the conditions which are followed:
Holidaysare not included. (Based on this Georgian Calendar)SaturdayandSundaysare included.Fridaysareholidayshence should not be included.• Formula used in cell C3
The above formula needs to fill right,
16meansFriday is weekend day. In the above screenshot shown for two months i.e. fromFebruary'24toMarch'24and this should work for the rest of the months or years.From the above screenshot, you can see that the
Fridaysare excluded, whileSaturdaysandSundaysare included, as well as theHolidaysfor the month ofFebsay for example:WednesdaybutHolidayas well hence not included.MondaybutHolidayas well hence not included.SaturdaybutHolidayas well hence not included.Likewise for the month of
March'24for the example shown and will be working for the rest of the months in the year.Holidays List for the
Feb'24andMarch'24Months used as sample: