+ Reply to Thread
Results 1 to 4 of 4

dropdown list, multiple sheets, automatic fill

  1. #1
    Registered User
    Join Date
    12-08-2009
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    2

    dropdown list, multiple sheets, automatic fill

    Hi,

    My level of functions in Excel extends itself to using simple functions as IF, however I do have basic programming skills (Java, Pascal etc) and I know how to make dropdown lists.

    Is there an elegant way to have within the one and the same Excel document, have one sheet (sheet 1) with input in column format, on a 2nd sheet (sheet 2) have a dropdown list (composed of the input on the 1st sheet), and when an item is selected from the dropdown list the cells to the left (still on the 2nd sheet) be filled with information based on which item was selected in the dropdown list?

    I attached an example that shows what I would like to do.

    I did manage to do this but with everything on the same sheet, and I used a very long and ugly string of IF functions. I'd need one IF for each input, so 80+ IF statements.

    Any help is appreciated, even if just to get me looking in the right direction.

    Tnx

    Roybean
    Attached Images Attached Images

  2. #2
    Valued Forum Contributor khamilton's Avatar
    Join Date
    10-08-2009
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    345

    Re: dropdown list, multiple sheets, automatic fill

    From the looks of it use this in Sheet 2 B2: =index(Sheet1!B:B,match(A1,Sheet1!A:A,0))
    Please acknowledge the response you receive, good or bad. If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: dropdown list, multiple sheets, automatic fill

    I'm not quite sure whether your question is about the dropdown list, or the lookup aspect.

    For lookup, as an alternative to khamilton's suggestion you can also use

    =VLookup(A1,Sheet1!$A$2:$b$3,2,false)

    If you want to learn about dropdown lists, read about data validation here:
    http://www.contextures.com/tiptech.html , scroll down to the data validation section and start with the intro.

    hth

  4. #4
    Registered User
    Join Date
    12-08-2009
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    2

    Re: dropdown list, multiple sheets, automatic fill

    Thanks both of you!

    I tried your solution teylyn and it is sweet Just what I was looking for. I have a Swedish version of Excel so the name of the function was different and the , are instead ;

    To any Swedes out there who are looking to do the same thing, here is the Swedish version:

    =LETARAD(A2;Blad1!$A$2:$B$3;2;FALSKT)

    I am going to try your solution now khamilton.

    Again thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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