Hi,
I have searched the internet fairly thoroughly and think I am very close with this problem and maybe just need a little push to get over the line. We have a desk booking tool, a table with the date along the top and a desk number down left. People populate the table with the names in the row of the desk for the relevant date (column) I want to then have their location in a separate list for any given day. I think that Index and Match are the answer and I think I have to do something with the Address function but it is not coming together. Please see the attached workbook example, the formula I am using is:
INDEX($A$1:$A$7,MATCH($A11,CELL("address",INDIRECT(ADDRESS(1,MATCH(DATE("2024","1","1"),$1:$1,0),1,1)))&":"&CELL("address",INDIRECT(ADDRESS(7,MATCH(DATE("2024","1","1"),$1:$1,0),1,1)))),1)
Where A11 is my person and A1:A7 is the list of desks on the left hand side of the table, row 1 holds the dates. Currently I get an error #VALUE. I have currently coded it for a fixed date, but will want it to look for today's date eventually, and my people list is on a separate worksheet to the booking table, which I think adds another element of complexity. I have tried several variations using the Address, Indirect and Arraytotext functions and settled on a combination.
Am I on the right track or have I gone down a rabbit hole and over complicated it?
David.
Bookmarks