Hi All,
I've got a staff rota table that has half hour increments as column headers. The first row header is whether the store is trading that time slot and then staff positions listed down beneath that. Each cell in the matrix has a 1 if the staff member is working that time slot (and 0 if they are not).
In the totals column down the side, I have total hours worked (sum the 1's and divide by 2 to get hours). I'm trying to work out an array formula to sit next to that which will add up the hours that each staff member is on their own in the shop with customers (logic being that per half hour slot, the Store Trading row = 1, that Staff Member column = 1 AND all other cells in that column = 0). Obviously very easy to compare a single column - slightly harder when there are 60!
Have played with the FREQUENCY formula to look at the columns that match the criteria but couldn't get it working. Basically what I think I need to do is to add each level of the array together (to be left with column totals) and then those which = 0 are what I need. Just can't for the life of me work out how to do that!!
Any pointers in the right direction would be much appreciated.
Cheers
J
Bookmarks