+ Reply to Thread
Results 1 to 7 of 7

Roll down - automatically fill in

  1. #1
    Registered User
    Join Date
    12-14-2011
    Location
    Norway
    MS-Off Ver
    Excel 2007
    Posts
    4

    Roll down - automatically fill in

    MS Excel 2007:

    I work in sales and I'd like to have an easy way to make the offer as I speak to the costumer.

    My starting point is a price list, where Column A is category, B is product, C is placement and D is price.

    What I'd like my worksheet to do is the following.

    I'd have two roll down menus, let's say they are placed in A2 and B2. The first one is "Category". When selecting a category in the first roll down, the second roll down ("Product" will change based on the category selection. When a product is selected, cell C2 and D2 automatically fills inn the placement and price.

    Is there any way to do this without having to re-write the whole price list?

    -Marovic

  2. #2
    Valued Forum Contributor Steffen Thomsen's Avatar
    Join Date
    10-15-2010
    Location
    Kolding, Denmark
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    953

    Re: Roll down - automatically fill in

    can you upload an example workbook, with dummy data, it's easier to help if we know what you have!
    Please take time to read the forum rules

  3. #3
    Registered User
    Join Date
    12-14-2011
    Location
    Norway
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Roll down - automatically fill in

    Hi Steffen,

    I've made an excample of what I want, and attatched it to this post.
    (Can't upload the original price list, for obvious reasons)

    Sheet 1 is called "Model", and sheet 2 is called "Price list", where I want the model to collect the data from.
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor Steffen Thomsen's Avatar
    Join Date
    10-15-2010
    Location
    Kolding, Denmark
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    953

    Re: Roll down - automatically fill in

    Hi,

    have a go with this, if you have any questions then dont hesitate to ask them.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-14-2011
    Location
    Norway
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Roll down - automatically fill in

    I get a bug. First, when opening the worksheet i get a run-time error: '1004' saying that it didn't fint any cells. Pressing debug brings up the Visual Basic, and as you can see from the screenshot attatched one line is marked in yellow.

    The set up is a bit different from what I initially wanted, but if we could get this to work it would be awesome :-)
    Attached Images Attached Images

  6. #6
    Valued Forum Contributor Steffen Thomsen's Avatar
    Join Date
    10-15-2010
    Location
    Kolding, Denmark
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    953

    Re: Roll down - automatically fill in

    Made a little mistake.

    Try this
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-14-2011
    Location
    Norway
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Roll down - automatically fill in

    That's great!

    Thank you! Much appreciated! I'll come back if I have further questions later on :-)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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