My IF statement returns one of two text strings I need to get a return on. My project is a work schedule that looks back and returns employees that are not currently working or scheduled for a day/night shift (to cover openings). If an employee works the night before an opening, he is only available to cover a night opening. In column be I have this statement:
=IF(OFFSET(INDEX(JAN12!C:AG,MATCH($U$6:$U$13,JAN12!$B:$B,0),MATCH($G$2,DATEJAN12,0)),0,-1)="N","NiO","")
I need to return "NiO" for one two conditions on the Jan tab "WN" or "N", for any date prior to to the input date in G2 on the WOJ tab. Any ideas/solutions are much appreciated.
Thanks..
Bookmarks