+ Reply to Thread
Results 1 to 9 of 9

Desk Booking tool for locating people

  1. #1
    Registered User
    Join Date
    09-06-2024
    Location
    Surrey, UK
    MS-Off Ver
    Office365
    Posts
    3

    Desk Booking tool for locating people

    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.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,759

    Re: Desk Booking tool for locating people

    Welcome to the forium.

    Why do you need to add in a sheet name?

    If source data is on one sheet and the results are on another, then please set up the sample workbook to match. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    09-06-2024
    Location
    Surrey, UK
    MS-Off Ver
    Office365
    Posts
    3

    Re: Desk Booking tool for locating people

    I have added in the other sheet, it has changed the error to #N/A. I was trying to keep it simple to get the first bit working.......
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,759

    Re: Desk Booking tool for locating people

    There's simple and there's unrealistic. Unrealistic often requires several tweaks and the shifting of goalposts, hence we prefer realistic. I'll have another look.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,759

    Re: Desk Booking tool for locating people

    Paste this into A10 of the results sheet and hit ENTER:

    =SORT(HSTACK(FILTER(Sheet1!B2:F7,Sheet1!B1:F1=DATE(2024,1,1)),Sheet1!A2:A7))

    You can always change it to this in due course:

    =SORT(HSTACK(FILTER(Sheet1!B2:F7,Sheet1!B1:F1=TODAY()),Sheet1!A2:A7))

  6. #6
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,651

    Re: Desk Booking tool for locating people

    With booking is in sheet "Booking"
    cell B$1 accross row 1 is date criteria
    column A is name
    In B2:

    Please Login or Register  to view this content.
    Copy down and accross
    Attached Files Attached Files
    Quang PT

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,759

    Re: Desk Booking tool for locating people

    Any good?

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

  8. #8
    Registered User
    Join Date
    09-06-2024
    Location
    Surrey, UK
    MS-Off Ver
    Office365
    Posts
    3

    Re: Desk Booking tool for locating people

    Thank you both for your responses. I see the method you have used, AliGW, creates the list from the people listed under a certain date, but I have an existing list that I wish to search against, so it will not work for me. Quang's method works exactly as I want, so thank you for that, I have added reputation. I have not come across the Aggregate function before, so I will be reading up to understand how it is working.

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,759

    Re: Desk Booking tool for locating people

    Yes, it can work like this (and it spills - no need to copy and paste down):

    =LET(d,HSTACK(Sheet1!A2:A7,FILTER(Sheet1!B2:F7,Sheet1!B1:F1=DATE(2024,1,1))),XLOOKUP(Sheet2!A2:A7,INDEX(d,,2),INDEX(d,,1)))

    or:

    =LET(d,HSTACK(Sheet1!A2:A7,FILTER(Sheet1!B2:F7,Sheet1!B1:F1=TODAY())),XLOOKUP(Sheet2!A2:A7,INDEX(d,,2),INDEX(d,,1)))

    or:

    =LET(d,HSTACK(Sheet1!A2:A7,FILTER(Sheet1!B2:F7,Sheet1!B1:F1=A1)),XLOOKUP(Sheet2!A2:A7,INDEX(d,,2),INDEX(d,,1)))

    where A1 would be a cell containing the date you wish to look up.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need help creating a desk booking system
    By MG123! in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-03-2023, 10:45 PM
  2. Assets booking sheet - tracking most recent booking
    By TommyTommyTommy in forum Excel General
    Replies: 12
    Last Post: 08-08-2018, 10:53 PM
  3. Booking/Scheduling an interactive training tool
    By toyin64 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-29-2016, 02:21 PM
  4. Organize 35 people into groups of 5 over 9 days; minimize same people together
    By LuluPearl in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-30-2015, 07:12 AM
  5. booking time issues if booking removed
    By peter renton in forum Excel General
    Replies: 0
    Last Post: 04-11-2014, 03:50 AM
  6. Looking for Database template(Help Desk)
    By rashim in forum Excel General
    Replies: 2
    Last Post: 12-16-2010, 02:29 AM
  7. [SOLVED] Macro Button on Desk top?
    By g48dd in forum Excel General
    Replies: 4
    Last Post: 09-11-2009, 07:04 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1