I have a code to search a monthly schedule for only my shifts and display where I am working during the month. Some of these shifts will show a location and some will show only a letter from HOLIDAY. I have a second code to search for these letters and display the result HOLIDAY and I would like to combine the two codes so HOLIDAY will be displayed in my shift calendar.
A cell code to show my job for a specific day is in H10: =IFERROR(INDEX(C54:C69,MATCH($I1,$A54:$A69,0)),"") C54:C69 is where work locations are shown, I1 is a drop-down to select the employee name to show the calendar for, A54:A69 is where the employee roster is
The code to show HOLIDAY is =IF(OR(H10="H","O","L","I","D","A","Y"),"HOLIDAY",(INDEX(C54:C69,MATCH($I1,$A54:$A69,0)))) and is currently in another cell. I want to combine these two codes so the result in H10 will show the location I am working or HOLIDAY. Currently it shows the location I am working or whatever letter from HOLIDAY is in H10 after running the first code.
The code shown is for a single cell which I can extend to cover the entire calendar result if I can get it for one cell.
A cell code to show my job for a specific day is in H10: =IFERROR(INDEX(C54:C69,MATCH($I1,$A54:$A69,0)),"") C54:C69 is where work locations are shown, I1 is a drop-down to select the employee name to show the calendar for, A54:A69 is where the employee roster is
The code to show HOLIDAY is =IF(OR(H10="H","O","L","I","D","A","Y"),"HOLIDAY",(INDEX(C54:C69,MATCH($I1,$A54:$A69,0)))) and is currently in another cell. I want to combine these two codes so the result in H10 will show the location I am working or HOLIDAY. Currently it shows the location I am working or whatever letter from HOLIDAY is in H10 after running the first code.
The code shown is for a single cell which I can extend to cover the entire calendar result if I can get it for one cell.