Hi guys,
I have a real head ache with this one... I'm trying to automate a process but let me explain it in a high level...
I have a sheet called "DATA" which has all employes names in column A, their shifts in column B, their managers name in column C, and their mangers shift in column D.
I have 2 other sheets called "Location" and "Schedule". I put the mangers name in the "Location" sheet which puts it in the "Schedule" sheet. I need a formula that will find the employees name in the "Data" sheet and put it in the Schedule sheet depending on the mangers name in Column C from the "Schedule" sheet.
Also I'm putting 25 spots for every manager in the "Schedule" sheet but most managers only have 20 associates so I want this formula to only populate the employees that belong to that manager and leave the other spaces blank.
Below you will find two formulas that do some of what I need but not as describe above. PLEASE HELP... I think I got about 5 gray hairs alrady trying to make this work....
=IF(ISERROR(MATCH(C3,Data!$C$1:$C$2000,0)),"",INDEX(Data!$A$1:$A$2000,MATCH(C3,Data!$C$1:$C$2000,0)))
=IF(ISERROR(MATCH(C3,Data!$C$1:$C$2000,0)),"",INDEX(Data!$A$1:$A$2000,MATCH(C3,Data!$C$1:$C$2000,0)*AND(A4<>A3))
Bookmarks