JamesBowdidge
New Member
- Joined
- Nov 8, 2018
- Messages
- 46
Hi,
I have a row of shift patterns in cells in cells d33:k33, expresses like this - "0900 - 1700"
i also have a secondtable that lists the shift pattern in column 1 and the number of hours forthat shift in column 2 (so for "0900 - 1700" you get 8, and for "0900 - 1300" you get 4...
I want to (in a single cell) have a formular that will look at the shift in each cell from d33:k33 look up the corresponding number of hours from each shift and sum the result..
So if there are only 2 shifts in the range d33:k33 of "0900 - 1700" & "0900 - 1300" the result would be 12 (8 from the first lookup and 4 from the second)
Can this be done witout stacking multiple vlookups or index/match's?
thanks
James
I have a row of shift patterns in cells in cells d33:k33, expresses like this - "0900 - 1700"
i also have a secondtable that lists the shift pattern in column 1 and the number of hours forthat shift in column 2 (so for "0900 - 1700" you get 8, and for "0900 - 1300" you get 4...
I want to (in a single cell) have a formular that will look at the shift in each cell from d33:k33 look up the corresponding number of hours from each shift and sum the result..
So if there are only 2 shifts in the range d33:k33 of "0900 - 1700" & "0900 - 1300" the result would be 12 (8 from the first lookup and 4 from the second)
Can this be done witout stacking multiple vlookups or index/match's?
thanks
James