+ Reply to Thread
Results 1 to 9 of 9

Thread: Drop-down list connected to multiple formulas

  1. #1
    Registered User
    Join Date
    12-16-2011
    Location
    Ogallala, NE
    MS-Off Ver
    Excel 2007
    Posts
    6

    Drop-down list connected to multiple formulas

    Hey everyone. I am trying to figure out how to create a drop down list that is connected to multiple formulas. The basic way it will work is the far left column will have the drop-down list. There will be 6 columns to the right and every column will have a different formula. Every selection in the drop-down list will use a different set of formulas. Does anybody know how to do this? Let me know if I didn't explain this very well. Thanks.

  2. #2
    Forum Moderator Richard Buttrey's Avatar
    Join Date
    02-15-2008
    Location
    Grappenhall, UK
    MS-Off Ver
    Excel for Windows & Mac - all versions.
    Posts
    6,566

    Re: Drop-down list connected to multiple formulas

    Hi,

    I can do no better than to refer you to Debra Dalgelish's web site page http://www.contextures.com/xlDataVal02.html
    where you'll see the definitive answer as to how to create dependent drop down lists.

    Regards
    Richard Buttrey

    If this was useful then please rate it appropriately.

    Click the small star icon at the bottom left of my post.

  3. #3
    Valued Forum Contributor Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens Greece
    MS-Off Ver
    Excel 2003
    Posts
    2,297

    Re: Drop-down list connected to multiple formulas

    Ηι m_buskirk

    How many sets of formulas for eatch column?

    How many items in drop-down list??
    Regards

    Fotis.

    I am proud that i am Greek.

    Just to know every one.We Greeks, we are nοt proud of our politicians. Υou?

    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.


    My Avadar picture, is from Athens Acropolis.
    http://www.theacropolismuseum.gr

    http://www.visitgreece.gr/

  4. #4
    Registered User
    Join Date
    12-16-2011
    Location
    Ogallala, NE
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Drop-down list connected to multiple formulas

    This is very close to what I want, but I don't want multiple lists. I want to be able to select an item from the drop down list then have a the numerical formulas in each column to the right change based on my list selection.

    For example:

    A1 will have a fertilizer grade of 10-34-0 which would be from a list. A2 will be where I insert a number. A3 will be =A2*0.1. A4 will be =A2*0.34.

    If I chose 32-0-0 from A1, then A3 would be =A2*0.32.

  5. #5
    Registered User
    Join Date
    12-16-2011
    Location
    Ogallala, NE
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Drop-down list connected to multiple formulas

    The list would have about 8 entries at the most. Each column will have 5 formulas at the most. However, depending on the selection from the list, some columns won't use a formula everytime as they will just need to equal zero.

  6. #6
    Valued Forum Contributor Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens Greece
    MS-Off Ver
    Excel 2003
    Posts
    2,297

    Re: Drop-down list connected to multiple formulas

    A1 will have a fertilizer grade of 10-34-0 which would be from a list. A2 will be where I insert a number. A3 will be =A2*0.1. A4 will be =A2*0.34.

    If I chose 32-0-0 from A1, then A3 would be =A2*0.32.
    So you will use all the formulas, in Column A???
    Regards

    Fotis.

    I am proud that i am Greek.

    Just to know every one.We Greeks, we are nοt proud of our politicians. Υou?

    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.


    My Avadar picture, is from Athens Acropolis.
    http://www.theacropolismuseum.gr

    http://www.visitgreece.gr/

  7. #7
    Registered User
    Join Date
    12-16-2011
    Location
    Ogallala, NE
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Drop-down list connected to multiple formulas

    No I am sorry. That should have been A1, B1, C1, etc.

    A1 will have a fertilizer grade of 10-34-0 which would be from a list. B1 will be where I insert a number. C1 will be =B1*0.1. D1 will be =B1*0.34.

    If I chose 32-0-0 from A1, then C1 would be =B1*0.32.

  8. #8
    Valued Forum Contributor Haseeb A's Avatar
    Join Date
    05-24-2011
    Location
    India | Kwt
    MS-Off Ver
    2007
    Posts
    1,453

    Re: Drop-down list connected to multiple formulas

    Looks like VLOOKUP will do it.

    K1 to down enter your all grades like, 10-34-0 etc...
    L1 to down enter the values for the 1st columns. means If you select this grade what value should multiply with B1
    M1 to down enter the values for 2nd columns. Add all columns how many you have.
    If you want to show zero for some grades enter 0 in the correspondent column in the grad

    Then use in C1,

    =B1*VLOOKUP($A1,$K:$Z,COLUMNS($C1:C1),0)

    If you can attach a dummy file, would be helpful.
    HTH; Haseeb

    If your problem is solved, please say so clearly, and mark your thread as Solved:
    Forum Rules & How to Mark a thread as SOLVED

  9. #9
    Valued Forum Contributor Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens Greece
    MS-Off Ver
    Excel 2003
    Posts
    2,297

    Re: Drop-down list connected to multiple formulas

    Hi

    Also a possiple solution, is to name two ranges(for eatch grade>>a value)for columns c&d and then in the columns C & D to use round & vlookup functions.

    Hope to helps you.
    Attached Files Attached Files
    Regards

    Fotis.

    I am proud that i am Greek.

    Just to know every one.We Greeks, we are nοt proud of our politicians. Υou?

    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.


    My Avadar picture, is from Athens Acropolis.
    http://www.theacropolismuseum.gr

    http://www.visitgreece.gr/

+ 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.2.0