hi mnur. maybe this in E2:
=SUMPRODUCT(--(TEXT(ROW(INDIRECT($B$2&":"&$B$3)),"dddd")=D2))
if you exclude the holidays, it would be:
=SUMPRODUCT(--(TEXT(ROW(INDIRECT($B$2&":"&$B$3)),"dddd")=D2),--(COUNTIF($B$5:$B$6,ROW(INDIRECT($B$2&":"&$B$3)))=0))
hi mnur. maybe this in E2:
=SUMPRODUCT(--(TEXT(ROW(INDIRECT($B$2&":"&$B$3)),"dddd")=D2))
if you exclude the holidays, it would be:
=SUMPRODUCT(--(TEXT(ROW(INDIRECT($B$2&":"&$B$3)),"dddd")=D2),--(COUNTIF($B$5:$B$6,ROW(INDIRECT($B$2&":"&$B$3)))=0))
Thanks, if you have clicked on the * and added our rep.
If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".
"Contentment is not the fulfillment of what you want, but the realization of what you already have."
Tips & Tutorials I Compiled | How to Get Quick & Good Answers
thanks benishiryo,
i've tried the formula, it works very well.
Last edited by mnur; 10-08-2013 at 10:03 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks