+ Reply to Thread
Results 1 to 8 of 8

Multiple Validations and Lookups

  1. #1
    Registered User
    Join Date
    10-21-2013
    Location
    NY
    MS-Off Ver
    Excel 2003
    Posts
    6

    Question Multiple Validations and Lookups

    So i have to come up with a template to show a facility's availability.
    the user would first chose the time and city and then the drop down in a cell would display the different facilities that are available at that time.
    For example:
    choose 06:00 from first drop down, then NY from another drop down. at 06:00 only 2 facilities are available, lets call them Room A and Room B. But if they choose 12:00, then Room A, Room B and Room D are available- so those 3 options are available on the drop down.
    i would end up having 4 different locations with maybe 2-6 facilities in each.

    how could i go about getting the cell to display the drop down properly.

    I have already been playing with vailidations such as =indirect and naming cell ranges to get certain options to appear but i am getting stuck on the "if A and B then C" type thing.
    help!
    thanks in advance!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Multiple Validations and Lookups

    Hi and welcome to the forum

    You probably need to combine your time.city into 1 cell, and then pull the data in based on a match with that, but its hard to suggest anything more without seeing a sample of what you are working with. I would suggest you upload a sample work book, (all sensitive data removed), showing what data you are working with, a few examples of what your expected outcome is, and how you arrived at that

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    10-21-2013
    Location
    NY
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Multiple Validations and Lookups

    Requestform-forum.xlsxRequestform-forum.xlsx

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Multiple Validations and Lookups

    Thanks for the file

    What I have done, is to move your "time" table off to the side, and replaced it wil a table that will pull out the data for you as (I think) you requested. take a look and let me know what you think?
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-21-2013
    Location
    NY
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Multiple Validations and Lookups

    i think its getting to the right place, but i only wanted to display in facilities box which ones i have indicated are available.
    i will keep looking, thanks for your help. really appreciate it.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Multiple Validations and Lookups

    OK then I dont understand what you want? It sounded to me like you wanted to be able to enter (inthe example I used in your file) 06:00 and New_York, and then have the relevant data shown based on that?

    Also, when I 1st looked at your question, I thought you would have had more than 1 occurance of a time, thats why I took the approad I did - seems I was mistaken in my assumption, so try this instead (the results will be identical, just a simpler approach).

    In the file I uploaded, in S11, use this, copied down...
    =T11&U11

    Then in G12, copied across...
    =IF(VLOOKUP($D$8&$D$9,$S$11:$Y$202,COLUMN(B$1),0)="","",VLOOKUP($D$8&$D$9,$S$11:$Y$202,COLUMN(B$1),0))


    Maybe you can show me a sample of what you expect?

  7. #7
    Registered User
    Join Date
    10-21-2013
    Location
    NY
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Multiple Validations and Lookups

    What you just told me to do worked....now i can just take it and modify i believe with the real data.
    you are a life saver!

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Multiple Validations and Lookups

    you'r welcome. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below)

+ 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. Multiple Data Validations
    By Phoenix5794 in forum Excel General
    Replies: 2
    Last Post: 08-15-2012, 10:44 AM
  2. Concatenation with multiple validations?
    By jrchel20 in forum Excel General
    Replies: 2
    Last Post: 09-22-2011, 03:48 PM
  3. Validations Based On Previous Validations
    By PhatPhil in forum Excel General
    Replies: 5
    Last Post: 11-16-2009, 04:19 AM
  4. More than Multiple Lookups: Conditional Multiple Lookups
    By mohitspamz in forum Excel General
    Replies: 6
    Last Post: 11-01-2009, 03:32 AM
  5. Multiple Validations in one Cell
    By melnikok in forum Excel General
    Replies: 6
    Last Post: 07-29-2008, 09:10 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