A
Abdul
Hi,
I am using the following formula to get number of days passed
excluding Fridays in a given Month from fisrt date to the given date
(today)
=(E4-D1+1)-(INT((E4-D1)/7)+IF(WEEKDAY(D1)+MOD(E4-D1,7)>=6,1,0))
Where E4 is the end date (today) and D1 start date of the Month
and also Number of days remaing in the month excluding Fridays from
today till end of month.
=(C1-E4)-(INT((C1-(E4+1))/7)+IF(WEEKDAY(E4)+MOD(C1-(E4+1),7)>=6,1,0))
Where E4 is the start date and C1 is the end date
Some how it is not working for all days.. some times it gives 1 day
difference.
It is the same case if I use a formula like this
=SUM(IF(ISERROR(MATCH(WEEKDAY(ROW(INDIRECT(E4&":"&B1))),{6},0)),
1,0))-1
of course the cell address is different in above example.
Is there a better workaround?
Thanks
I am using the following formula to get number of days passed
excluding Fridays in a given Month from fisrt date to the given date
(today)
=(E4-D1+1)-(INT((E4-D1)/7)+IF(WEEKDAY(D1)+MOD(E4-D1,7)>=6,1,0))
Where E4 is the end date (today) and D1 start date of the Month
and also Number of days remaing in the month excluding Fridays from
today till end of month.
=(C1-E4)-(INT((C1-(E4+1))/7)+IF(WEEKDAY(E4)+MOD(C1-(E4+1),7)>=6,1,0))
Where E4 is the start date and C1 is the end date
Some how it is not working for all days.. some times it gives 1 day
difference.
It is the same case if I use a formula like this
=SUM(IF(ISERROR(MATCH(WEEKDAY(ROW(INDIRECT(E4&":"&B1))),{6},0)),
1,0))-1
of course the cell address is different in above example.
Is there a better workaround?
Thanks