jdawg_1989
New Member
- Joined
- Jun 24, 2011
- Messages
- 27
Hi All,
I have source data which comes in the following format:
I have a resource tracker for the week, and want to lookup a person's name and want to return "1" if they are not on leave, a "0" if they are on leave and "0.5" for half a day's leave.
I've tried for days now and cannot get a forumula to get close! I've tried SUMPRODUCT, Index and so on with no result.
Can you help me please?
I have source data which comes in the following format:
Code:
A B C D E
1 Name Leave From Leave To TimePeriod From TimePeriod To
2 Person 1 21/06/11 23/06/11 am pm
3 Person 1 16/06/11 16/06/11 pm pm
4 Person 1 20/06/11 21/06/11 am pm
5 Person 2 16/06/11 28/06/11 am pm
6 Person 3 17/06/11 18/06/11 am pm
7 Person 3 21/06/11 23/06/11 am pm
I've tried for days now and cannot get a forumula to get close! I've tried SUMPRODUCT, Index and so on with no result.
Can you help me please?