+ Reply to Thread
Results 1 to 16 of 16

Room Allotment:remove allotted room from dropdown list

  1. #1
    Registered User
    Join Date
    04-22-2017
    Location
    INDIA
    MS-Off Ver
    2007
    Posts
    6

    Thumbs up Room Allotment:remove allotted room from dropdown list

    Dear Friends,
    Please help me in this project. in room status sheet, room status is provided but i want in sheet named data that allotted room should not come in drop down list.
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Room Allotment:remove allotted room from dropdown list

    Hi,

    What's the ultimate aim here. If it's to know which rooms are vacant at any one time then use a Pivot table - see attached.
    Attached Files Attached Files
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,176

    Re: Room Allotment:remove allotted room from dropdown list

    Hi amdrosm

    Just need to delete Alotted from the Named range "Stats" in column I
    Attached Files Attached Files
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  4. #4
    Registered User
    Join Date
    04-22-2017
    Location
    INDIA
    MS-Off Ver
    2007
    Posts
    6

    Re: Room Allotment:remove allotted room from dropdown list

    Thank you so much for your response.
    Dear i want that in sheet 1 when i select drop down list of room only available room should be there in drop-down,so that it can be allotted to the guest. please any help.. much appreciated.

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Room Allotment:remove allotted room from dropdown list

    The attached contains a simple filter macro. Click the button.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    04-22-2017
    Location
    INDIA
    MS-Off Ver
    2007
    Posts
    6

    Re: Room Allotment:remove allotted room from dropdown list

    thank you so much..let me elaborate my problem.actually i am making excel for hostel room booking. i want to allot room such that room number should not be repeated i mean single room for single person & only unoccupied room should be there in drop-down list to select empty rooms.if i am assigning one room than it means it is allotted,once it is allotted disappear from drop-down.

  7. #7
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Room Allotment:remove allotted room from dropdown list

    At the moment you have Room Status which appears to be a list of ALL rooms marked as to their status.

    How do you operate this system? What do you want in the Data Sheet? I'd assumed you wanted a list of all the vacant rooms.

    Can I suggest you tell us what you start with, what you DO and what you expect to SEE as a result.

  8. #8
    Registered User
    Join Date
    04-22-2017
    Location
    INDIA
    MS-Off Ver
    2007
    Posts
    6

    Re: Room Allotment:remove allotted room from dropdown list

    Dear Richard,

    well as a excel student trying to make hotel/hostel room booking system.
    step1:assume i have few empty and allotted rooms ,that data i am updating manually in second sheet.
    step2:first sheet"Data" is my main sheet in which i will choose room from dropdown list.
    step3:i want that if i allot first room from drop down than remaining vacant room should be present in list,allotted room will not be shown.

  9. #9
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Room Allotment:remove allotted room from dropdown list

    I understand steps 1 & 2

    To what does Step 3 refer. Is that the Data Sheet where you select a room. At the moment that drop down contains all rooms whether Vacant or allotted. Are you saying that the Data drop down should only show Vacant Rooms?

    If so what then? And what's the point of the column B VLOOKUP since by definition anything selected in column A WILL be Vacant.

    Is this a homework exercise? If so we generally prefer to offer help & guidance rather than do the job.

    You've made a start which is good, but what's the answer to the above, and then is there a step 4 and if so what do you want to do next? Personally I'd have thought you'd only need one drop down cell which contained a list of Vacant Rooms from which to pick. Then having picked one what next...
    You need to clarify how this system is used and tell us what appears after each step.

  10. #10
    Forum Contributor
    Join Date
    08-04-2004
    Location
    Amsterdam
    MS-Off Ver
    2016
    Posts
    186

    Re: Room Allotment:remove allotted room from dropdown list

    Quote Originally Posted by amdrosm View Post
    Dear Richard,

    well as a excel student trying to make hotel/hostel room booking system.
    step1:assume i have few empty and allotted rooms ,that data i am updating manually in second sheet.
    step2:first sheet"Data" is my main sheet in which i will choose room from dropdown list.
    step3:i want that if i allot first room from drop down than remaining vacant room should be present in list,allotted room will not be shown.
    Ok. Let me clarify how I understand your requirement and you say whether I have it right
    1 You manually update the sheet "room status"
    2 You want , but do not currently have, a drop down list in sheet "Data"
    3 You want this drop down box to list only vacant rooms based on sheet "room status"

    is that right?

    If so all you need is a filter on Col B in "data" to filter out Allotted rooms

  11. #11
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,176

    Re: Room Allotment:remove allotted room from dropdown list

    I think what amdrosm wants is as follows:
    He wants a drop down list with room no's and if the rooms have been alotted then only the available rooms must be shown in the dropdown....Not all of them...

  12. #12
    Forum Contributor
    Join Date
    08-04-2004
    Location
    Amsterdam
    MS-Off Ver
    2016
    Posts
    186

    Re: Room Allotment:remove allotted room from dropdown list

    It is doable but not a straight forward solution

  13. #13
    Registered User
    Join Date
    04-22-2017
    Location
    INDIA
    MS-Off Ver
    2007
    Posts
    6

    Re: Room Allotment:remove allotted room from dropdown list

    yes dear sintek,
    this is what i want.

  14. #14
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,176

    Re: Room Allotment:remove allotted room from dropdown list


  15. #15
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Room Allotment:remove allotted room from dropdown list

    You also need to define what happens next. This shows the available rooms, but doesn't yet feedback to remove that room from the list... What is the function of data column B???
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  16. #16
    Registered User
    Join Date
    04-22-2017
    Location
    INDIA
    MS-Off Ver
    2007
    Posts
    6

    Re: Room Allotment:remove allotted room from dropdown list

    Thank you so much glenn.. There is no need of column b.it is just for reference. i will try and update.

+ 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. How many room nights per day in between a list of dates
    By stabujara in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-06-2018, 10:55 PM
  2. Converting tabular data into room-by-room
    By tomca in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-03-2016, 07:00 AM
  3. Chat Room
    By Workle in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 12-10-2015, 09:22 AM
  4. [SOLVED] Hotel Rooming List, sorted by category of room (Single Double etc)
    By Robert.Appel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-02-2014, 06:17 AM
  5. [SOLVED] Run Out Room On If Statements
    By timbo1957 in forum Excel General
    Replies: 3
    Last Post: 07-24-2012, 11:51 AM
  6. Replies: 7
    Last Post: 07-13-2012, 08:00 AM

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