I'm trying to create a file for work for booking people in. Everyone's name who books in gets added to an allocation sheet named "Allocation" which creates staff lists by linking automatically to each area's signing in sheet (its a simple if this person is entered here on the allocation sheet display there name in this area). But they then also have to sign a register when on site for fire safety reasons. I want the area they are to be displayed in the register sheet.
So far I've been looking into IF statements to try and get the job done but I can't quite get it. I've tried
=IF(B23=WH!A5:A13,"WH")
B23 is the name check - B column has everyone's last name in it
WH is the allocated area for this staff member
A5:A13 is a list of people in that bar (which if any of the names match B23 I want it to display the bar name)
And "WH" is what I want it to display - there are 22 area's but if I can get one working i can just duplicate the formula.
If any one has any idea's on how to go about doing this, I might be looking at it wrong. It doesn't need to be an IF statement it just needs to detect two matching fields.
Thanks
So far I've been looking into IF statements to try and get the job done but I can't quite get it. I've tried
=IF(B23=WH!A5:A13,"WH")
B23 is the name check - B column has everyone's last name in it
WH is the allocated area for this staff member
A5:A13 is a list of people in that bar (which if any of the names match B23 I want it to display the bar name)
And "WH" is what I want it to display - there are 22 area's but if I can get one working i can just duplicate the formula.
If any one has any idea's on how to go about doing this, I might be looking at it wrong. It doesn't need to be an IF statement it just needs to detect two matching fields.
Thanks