+ Reply to Thread
Results 1 to 10 of 10

search for a player's name, then go down x rows and across x columns to get the data.

  1. #1
    Registered User
    Join Date
    07-30-2020
    Location
    Boston
    MS-Off Ver
    Office 2010
    Posts
    7

    search for a player's name, then go down x rows and across x columns to get the data.

    please see latest post for better formed question.
    Attached Images Attached Images
    Last edited by bfgreen4509; 07-30-2020 at 02:42 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,434

    Re: data lookup question?

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    07-30-2020
    Location
    Boston
    MS-Off Ver
    Office 2010
    Posts
    7

    Re: data lookup question?

    The attachment shows a sample of the data. I need to search for a player's name, then go down x rows and across x columns to get the data.
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,434

    Re: search for a player's name, then go down x rows and across x columns to get the data.

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. Now that I have a clue what you are trying to do, and because you are new, I have changed it for you today.)

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,434

    Re: search for a player's name, then go down x rows and across x columns to get the data.

    The table in the attachment is not the same as the one pictured above. Where is the hole number? Where are the mocked up results?

  6. #6
    Registered User
    Join Date
    07-30-2020
    Location
    Boston
    MS-Off Ver
    Office 2010
    Posts
    7

    Re: search for a player's name, then go down x rows and across x columns to get the data.

    sorry for not being clear enough. In this worksheet I'm attaching you will see the hole numbers going from columns E-H across row 2. Under each player name in column A is some data rows like "net Score and Stableford score" per hole. I'm interested in creating a solution to search to search for a players name, then for example, go down to the "Net Score" row and across to hole 1 column(E) to extract the data. The use case will be to compare players net or stableford scores in teams to find low scores / hole. But I am stumped with how ti index off and players names and go down and across to get the data. I do not have code to show for this because that is what I'm trying to develop for the use case mentioned.
    Any help is appreciated.
    Attached Files Attached Files
    Last edited by bfgreen4509; 07-30-2020 at 02:43 PM.

  7. #7
    Valued Forum Contributor Haluk's Avatar
    Join Date
    02-14-2019
    Location
    Turkiye
    MS-Off Ver
    2010 - 64 Bit on Windows-11 (22 H2) 64 Bit
    Posts
    1,152

    Re: search for a player's name, then go down x rows and across x columns to get the data.

    @bfgreen4509;

    I've prepared a sample file from what I understood from your message.

    On Sheet3 you will see a drop down list which you can select the player names. This list is a "Data Validation" list where it gets the data from the sheet "Helper". This sheet is used for extracting the player names from the main sheet (Sheet1) where the names are in non consecutive cells.

    There is also another drop down list from which you can select the hole #.

    After selecting the player name and hole #, related data will appear in the below cells.

    Summary of the used formulas:

    1) In your main sheet (Sheet1) I've added column A and inserted the player numbers in cells, left to the player names in column B

    2) In the "Helper" sheet, there are 2 columns prepared for the Data Validation list used in "Sheet3"

    To retrieve the position of the player names in the main list, i entered the following formula in cell B2 of the sheet "Helper" and copied down.

    Please Login or Register  to view this content.
    Then, in cell C2 of the sheet "Helper" the following formula is entered and copied down to get a consecutive range of cells housing the player names.

    Please Login or Register  to view this content.
    3) Then, in Sheet3 i selected cell C2 and assigned a "Data Validation" list.

    The custom formula used for the data validation list is:

    Please Login or Register  to view this content.
    4) For the hole numbers, in "Sheet3" cell C3 i assigned another data validation list, using a custom formula:

    Please Login or Register  to view this content.
    5) Finally, in "Sheet3" cell C4 i entered this and copied down to get the related datas:

    Please Login or Register  to view this content.

    Sample file is also attached, where you can test the results.

    Hope this helps...
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Haluk; 07-30-2020 at 04:42 PM. Reason: typo...

  8. #8
    Registered User
    Join Date
    07-30-2020
    Location
    Boston
    MS-Off Ver
    Office 2010
    Posts
    7

    Re: search for a player's name, then go down x rows and across x columns to get the data.

    Thank you very much, this is great. I should be all set from here.

  9. #9
    Valued Forum Contributor Haluk's Avatar
    Join Date
    02-14-2019
    Location
    Turkiye
    MS-Off Ver
    2010 - 64 Bit on Windows-11 (22 H2) 64 Bit
    Posts
    1,152

    Re: search for a player's name, then go down x rows and across x columns to get the data.

    You're welcome...

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,434

    Re: search for a player's name, then go down x rows and across x columns to get the data.

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

+ 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. Data Validation with a Indirect Lookup Formatting Question
    By playmartit in forum Excel General
    Replies: 3
    Last Post: 06-22-2016, 12:28 PM
  2. Lookup Question
    By andrewc in forum Excel General
    Replies: 4
    Last Post: 10-21-2015, 10:19 AM
  3. [SOLVED] VLookup Question - If i update the lookup table i do not want to update old data
    By mrabattoir in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-28-2014, 03:40 AM
  4. [SOLVED] Lookup question matching part of lookup value in the table array
    By kosmo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-05-2013, 11:07 AM
  5. Lookup Question - Possible to match if the cell *contains* the lookup value?
    By AdamParker in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-15-2011, 03:30 PM
  6. Lookup question by row data
    By CosmosVortex in forum Excel General
    Replies: 4
    Last Post: 01-22-2008, 01:37 AM
  7. [SOLVED] LOOKUP question-s it possible to have LOOKUP do a calculation in the array?
    By Bob S in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-12-2006, 09:30 AM

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