+ Reply to Thread
Results 1 to 17 of 17

drop down lists

  1. #1
    Registered User
    Join Date
    10-08-2007
    Posts
    9

    drop down lists

    I am having a little troubles of having my data displaying in the next cell over meaning. list box is in C4 and data displaying in D4. I read a thread on it, referencing threadhttp://www.excelforum.com/showthread...highlight=drop, I went through all of the steps on how to do it but it still wont display the data in the next cell. I have created ranges for the list box itself but still wont work. I can attach the spreadsheet if you like to see what is wrong.

  2. #2
    Registered User
    Join Date
    10-08-2007
    Posts
    9
    Anybodys help is greatly appreciated. thanks!

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Please attach your spreadsheet indicating what the return should be

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  4. #4
    Registered User
    Join Date
    10-08-2007
    Posts
    9
    here is the spreadsheet. its just an inventory that I am making for insrance purposes. On worksheet GAMES & ACCESSORIES, Cell C4 is the drop down list and D4 is where I want the info displayed which is on work sheet DATA. Thanks for you help!
    Attached Files Attached Files

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    You need to look at your tables.

    To look up "CONTROLLERS" in the data sheet it needs to be in Column A.

    See my two examples of looking up Controllers and Controllers Black

    VBA Noob
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    10-08-2007
    Posts
    9
    It looks a little more complex than the example that I read. Check this example (book1.zip) and tell me what you think. I think this way looks a little more simplistic.
    Attached Files Attached Files

  7. #7
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Yes book 1 is a simple vlookup. The first book you upload there was no link between the word controller and the other sheet as I tried to demonstrate two methods

    So as there was no question in your last thread just a statement I assume you are ok now ??

    VBA Noob

  8. #8
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Think I know what your after now.

    See if link helps

    http://www.contextures.com/xlNames01.html

    In your example select sheet 1 cell A1

    then go Insert > Name > Define > select name list and click in the refers to box with the formula

    =OFFSET(Sheet2!$A$1,0,0,COUNTA(Sheet2!$A:$A))
    VBA Noob

  9. #9
    Registered User
    Join Date
    10-08-2007
    Posts
    9
    Im wondering why is there a data set in column H on Games & Accessories worksheet and on sheet DATA, column A & C are different. Are these 2 columns tied to each other, it seems like.

    CONTROLLERS WHITE CONTROLLERSWHITE 1234456
    CONTROLLERS WHITE CONTROLLERSWHITE -98678
    CONTROLLERS WHITE CONTROLLERSWHITE 456884
    CONTROLLERS BLACK CONTROLLERSBLACK 535353
    CONTROLLERS BLACK CONTROLLERSBLACK 7897686

    is it possible for you to do it simplest form like in book1. I think it would be alot easier for me to follow. Sorry for being such a novice at this and asking so many questions.

  10. #10
    Registered User
    Join Date
    10-08-2007
    Posts
    9
    Quote Originally Posted by VBA Noob
    Think I know what your after now.

    See if link helps

    http://www.contextures.com/xlNames01.html

    In your example select sheet 1 cell A1

    then go Insert > Name > Define > select name list and click in the refers to box with the formula



    VBA Noob
    I tried that also but it still wont work for me.

  11. #11
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Where your list you want to make dynamic like that in the book one example

    VBA Noob

  12. #12
    Registered User
    Join Date
    10-08-2007
    Posts
    9
    it is in the Data worksheet, it should look like this;

    White 234457
    White 456990
    White 898453
    Black 397453
    Black 378538

  13. #13
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Your list is what confused me.

    Why would you want list of white or black to appear in C4 under accessories. I would of thought your list items like

    HD DVD PLAYER
    CONTROLLERS
    CONTROLLERS - Black
    PLAY & CHARGE KIT
    WIRELESS HEADSET
    WIRELESS ADAPTER
    but here you go

    VBA Noob
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    10-08-2007
    Posts
    9
    Progress but a couple of things though. Every cell in column C has a drop down box, and I cant find where the data is displaying too. If you can can you make it like this where only Controllers has a drop down box and display its serial numbers to the cell on the right

    C D
    ACCESSORIES SERIAL #
    HD DVD PLAYER
    CONTROLLERS(DROP DOWN BOX) 123424234
    PLAY & CHARGE KIT
    WIRELESS HEADSET
    WIRELESS ADAPTER

  15. #15
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    I assume the serial numbers are in the data sheet. So you need to add next to each description it's serial number....unless I'm missing something

    e.g

    C D = data sheet Line 1 (1234456)
    VBA Noob

  16. #16
    Registered User
    Join Date
    10-08-2007
    Posts
    9
    my mistake typo on the C D. Yes the serial numbers are in the data sheet.
    Attached Files Attached Files

  17. #17
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Last go

    Note you can't get the accessories to auto update the serial number until you set up a table in Data like I've kept asking you too and as per your e-mail lookup example

    VBA Noob
    Attached Files Attached Files

+ 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