markman235
Board Regular
- Joined
- May 10, 2011
- Messages
- 52
Hi everyone,
I'm stuck on what looks like a pretty simple formula. What I am trying to do is, I have a work schedule for a production team on one tab. I also have a vacation listing on a second tab.
I am trying to write a statement that will say to look at the employee's name (A6), look at date for that day (C4), and look at the vacation tab and to see if that person's name is listed and if so, is that days date within the vacation date range. (The vacation start date is Vacations!B:B, and the end date is in Vacations!C:C)
=IF(AND(MATCH(A6,Vacations!A:A,0),C4>=Vacations!B:B,C4<=Vacations!C:C),"Vacation","Off")
Thanks,
Mark
I'm stuck on what looks like a pretty simple formula. What I am trying to do is, I have a work schedule for a production team on one tab. I also have a vacation listing on a second tab.
I am trying to write a statement that will say to look at the employee's name (A6), look at date for that day (C4), and look at the vacation tab and to see if that person's name is listed and if so, is that days date within the vacation date range. (The vacation start date is Vacations!B:B, and the end date is in Vacations!C:C)
=IF(AND(MATCH(A6,Vacations!A:A,0),C4>=Vacations!B:B,C4<=Vacations!C:C),"Vacation","Off")
Thanks,
Mark