+ Reply to Thread
Results 1 to 9 of 9

Displaying A Value From A Dropdown Box

  1. #1
    Registered User
    Join Date
    08-07-2017
    Location
    UK
    MS-Off Ver
    2013
    Posts
    9

    Displaying A Value From A Dropdown Box

    I have put together an archery scorecard and it works really well for my needs, I had help from this forum on a formula I needed to complete it and since then I have used it and am really pleased with it. I would like to take it to the next level so I will try and explain in the best way I can on what I would like to do. Here is a screenshot so I can explain it a little better.

    Capture.JPG

    As you can see I have a dropdown box that shows all the available rounds that can be shot however every round shoots a different amount of arrows at different distances.

    What I would like to do is when I select a round I would like the correct value of how many dozen arrows in D11 and at what distance in I11. I have the values in a worksheet within the document, the dropdown values are being pulled from it. Most of the rounds have a multiple distance so for instance you would shoot 4 dozen at 1 distance and then shoot a further 2 dozen at another distance so if it is possible would need values for the shorter distance to go into the blue bar on row 16 same as row 11.

    Any help on this would be greatly appreciated, thank you in advance.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,864

    Re: Displaying A Value From A Dropdown Box

    Attach a sample workbook (not image).

    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate.

    Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,864

    Re: Displaying A Value From A Dropdown Box

    ..probably a VLOOKUP table

    Column 1: Round
    Column 2: First shooting value (for D11)
    Column 3: first shooting Distance (for I11)
    Column 4:Second shooting value (d16)
    Column 5: Second shooting distance (i16)

    Formula:

    H4=Round

    =VLOOKUP($H$4,$AA$2:$AE$50,2,0) will return value for D11

    =VLOOKUP($H$4,$AA$2:$AE$50,3,0) will return value for I11

    =VLOOKUP($H$4,$AA$2:$AE$50,4,0) will return value for D16

    =VLOOKUP($H$4,$AA$2:$AE$50,5,0) will return value for I16


    AA2:AE50 is the lookup table
    Attached Files Attached Files
    Last edited by JohnTopley; 10-29-2017 at 08:24 AM.

  4. #4
    Registered User
    Join Date
    08-07-2017
    Location
    UK
    MS-Off Ver
    2013
    Posts
    9

    Re: Displaying A Value From A Dropdown Box

    Quote Originally Posted by JohnTopley View Post
    ..probably a VLOOKUP table

    Column 1: Round
    Column 2: First shooting value (for D11)
    Column 3: first shooting Distance (for I11)
    Column 4:Second shooting value (d16)
    Column 5: Second shooting distance (i16)

    Formula:

    H4=Round

    =VLOOKUP($H$4,$AA$2:$AE$50,2,0) will return value for D11

    =VLOOKUP($H$4,$AA$2:$AE$50,3,0) will return value for I11

    =VLOOKUP($H$4,$AA$2:$AE$50,4,0) will return value for D16

    =VLOOKUP($H$4,$AA$2:$AE$50,5,0) will return value for I16


    AA2:AE50 is the lookup table
    Incredible, that is exactly what I wanted, John you are a star mate, thank you so much for taking the time to help me in this matter, very much appreciated

  5. #5
    Registered User
    Join Date
    08-07-2017
    Location
    UK
    MS-Off Ver
    2013
    Posts
    9

    Re: Displaying A Value From A Dropdown Box

    Out of curiosity if the data for round/arrows shot/distance was stored on another worksheet called data for argument sake what extra info would need to go in the vlookup ??

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,864

    Re: Displaying A Value From A Dropdown Box

    You are very welcome.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,864

    Re: Displaying A Value From A Dropdown Box

    for data on separate sheet ...


    =VLOOKUP($H$4,Data!$AA$2:$AE$50,2,0)

  8. #8
    Registered User
    Join Date
    08-07-2017
    Location
    UK
    MS-Off Ver
    2013
    Posts
    9

    Re: Displaying A Value From A Dropdown Box

    Once again thank you John you are a star

    Will mark as solved now

  9. #9
    Registered User
    Join Date
    08-07-2017
    Location
    UK
    MS-Off Ver
    2013
    Posts
    9

    Re: Displaying A Value From A Dropdown Box

    Scrap last post, sussed it
    Last edited by MikeSmith69; 10-29-2017 at 07:21 PM.

+ 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. [SOLVED] One cell displaying the dropdown selection from another one?
    By seanppp in forum Excel General
    Replies: 17
    Last Post: 07-13-2015, 04:53 PM
  2. Replies: 3
    Last Post: 12-18-2014, 06:45 AM
  3. Displaying and Returning different value in Dropdown List
    By Mirek in forum Excel - New Users/Basics
    Replies: 17
    Last Post: 03-06-2014, 07:07 AM
  4. Displaying selections from dropdown menus
    By biotechisgodzilla in forum Excel General
    Replies: 4
    Last Post: 04-09-2012, 10:11 AM
  5. Macro for selecting a value from a dropdown and displaying results
    By shilloh in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 06-28-2011, 07:08 AM
  6. Replies: 5
    Last Post: 01-23-2010, 07:53 AM
  7. Displaying One Value in a Dropdown but Recording Another?
    By Cortright in forum Excel General
    Replies: 0
    Last Post: 09-29-2005, 04:05 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