Hi,
I have one row of 31 cells in B2:AF2 representing days of the month. Each cell's contents encode the hours within that day that a certain person worked, or was on leave, or was working on a project. I would like to encode up to 5 different types of hours within one single cell.
For example, a single cell in this row can be "4.5 NB2 SL1.5"
5 with no letter prefix represents "billable hours" - this person worked 4.5 hours on a project on this day.
NB represents "non billable hours" - this person worked 2 hours non-project on this day.
SL represents "sick leave" - this person was off sick for 1.5 hour on this day.
AL represents "annual leave" - not entered in the cell because this person did not take any.
UL represents "unpaid leave" - not entered in the cell because this person did not take any.
At the end of this row, I want to have 5 cells in AH2:AL2 that each do a sum of B2:AF2, but using CSE formulas to get 5 different sums in AH2:AL2 even though they're all looking at one single array B2:AF2. I want to sum up, for the month, the billable hours in AH2, non billable hours in AI2, sick leave hours in AJ2, annual leave hours in AK2, and unpaid leave in AL2.
What I've got is very basic and very restricted. I have only been able to sum one special hour at a time, so the cell is either a billable with no prefix, or a special hour. Also, I can't get it to account for half hours.\
I'm at my rope's end with this task. Can someone help me please? Thanks in advance.Please Login or Register to view this content.
Bookmarks