Hi,
I've not really used much excel for the past 10 years - used to be quite good with it but as the old saying goes - "use it or lose it". Anyway, hopefully somebody here can help
21/03/18 22/03/18 23/03/18 24/03/18 25/03/18 26/03/18 27/03/18 28/03/18 No of days (What i need to get out of excel)
Andy FIA D D D D D D FOP 7
Barnie FIP D D D D 4
Charlie D D D D D FOA 5
Dexter DIA D DOP DIP D 3
Start Date End Date
21/03/18 27/03/18
So basically I have a roster and want to count for each person (No of days column) the number of days they have worked in a given time period (start/end date)- need the FIA/FIP/DIA/DIP/D codes but not FOA or FOP
I got as far as using a countif statement to count the FIA + D etc... for an entire row but can't work out how to limit it to the date range
=(COUNTIF(I10:XFD10,"FIA")+COUNTIF(I10:XFD10,"FIP")+COUNTIF(I10:XFD10,"DIA")+COUNTIF(I10:XFD10,"DIP")+COUNTIF(I10:XFD10,"D"))
Hopefully this makes sense to someone, would really appreciate some help. Thanks.
Bookmarks