So on my data sheet "Sheet 1" I have the following....
Teacher Room Periods Using Rooms Joe 300 1A 1B 1C 1D 2A Jane 352 5A 5C
Now on a separate sheet it it to match the room if they use it that period and return the teachers name.
So for instance it should come out like this on "Sheet 2"....
Room 1A 1B 1C 1D 2A 5A 5C 300 Joe Joe Joe Joe Joe 352 Jane Jane
This is what I have
=iferror(if(A2="","",index(Sheet1!A:A,match(A2&B1,Sheet1!B:B&Sheet1!H:I,0))))
I know it wont work because of the H:I piece... not sure really how to replace it (maybe a different formula) so it can search all the columns in the row with that room number to see if there is a match.
*as an added bonus I have to duplicate the formula over several rows and columns on "Sheet 2" ... any way to set up the formula so it will just drag and I don't have to do it manually to each cell? (if that makes sense)
Thanks for your time.
Bookmarks