+ Reply to Thread
Results 1 to 7 of 7

Data Validation based on another Data Validation

  1. #1
    Registered User
    Join Date
    09-30-2013
    Location
    oakland, ca
    MS-Off Ver
    Excel 2003
    Posts
    16

    Data Validation based on another Data Validation

    hi there-

    I have two sheets in a workbook.

    sheet 1: a form where user gets to choose from a drop down menu (breakfast, lunch, or dinner)- column A
    when the user chooses one of these, i want column B to display corresponding data for type of food chosen.

    sheet 2: has the following information:

    breakfast lunch dinner

    eggs sandwich steak
    ham salad chicken
    toast burger fish

    i tried various methods but no success. does anybody know how to solve this?

    thanks!!

    -chulho

  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,929

    Re: Data Validation based on another Data Validation

    Hi and welcome to the forum

    Take a look at using vlookup(). If that doesnt work, or you still have a problem, 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
    09-30-2013
    Location
    oakland, ca
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Data Validation based on another Data Validation

    RESEARCH_FORMULAS.xlsxRESEARCH_FORMULAS.xlsxhey thanks for the quick reply.

    i tried lookup, but couldn't find a way still. i tried a lot of things with loopup and vlookup, but it was overly complicated and simply didn't work.

    i'm attaching the file with comments. it's a really simple problem- i'm hoping i'm just really inexperience at this excel and could be shown a simple solution.

    thanks!

    -chulho

  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,929

    Re: Data Validation based on another Data Validation

    OK, take a look at the attached, it uses named ranges and indirect() for what you want
    (I could do it for you, but then you would never learn how to do it yourself lol)
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    09-30-2013
    Location
    oakland, ca
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Data Validation based on another Data Validation

    awesome. i messed around with named ranges to solve this very problem so i'm familiar with that. this is awesome thanks!!

    so the unknown for me is the indirect function you used in conjunction with substitute. will study that a bit. and yeah, i agree with you re: learning as you do.

    thanks again!

  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,929

    Re: Data Validation based on another Data Validation

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon 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 those who helped.

  7. #7
    Registered User
    Join Date
    09-30-2013
    Location
    oakland, ca
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Data Validation based on another Data Validation

    thanks for all the suggestions!

+ 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. Replies: 4
    Last Post: 07-03-2014, 02:37 AM
  2. Adding Date Data Validation to cells with List Data Validation
    By biggtyme in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-03-2013, 09:47 AM
  3. Using Defined Names with Data Validation Depend and Data Validation Multi Select
    By Vinnie Chan in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-01-2012, 05:36 PM
  4. Data Validation Based on Other Cells w/ Data Validation
    By Aksparks04llica86 in forum Excel General
    Replies: 1
    Last Post: 09-15-2011, 07:04 PM
  5. Replies: 3
    Last Post: 04-11-2011, 05:52 PM

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