+ Reply to Thread
Results 1 to 2 of 2

lookup but first finding a unique string

  1. #1
    Registered User
    Join Date
    07-03-2014
    Location
    Kamloops
    MS-Off Ver
    2010
    Posts
    1

    lookup but first finding a unique string

    mockup.xlsxStarting out with a 9 by 11 grid.
    Column A will have times that need to be referenced in a lookup. (Ex Sat 8:00am)
    Row 1 will have basball field codes reference with a lookup. (Example Field 4
    Cells B2:I11 have distinct codes or possibly nothing. (An example would be: Tier 1 A1-A3)
    These codes will move around from time to time. They will always remain distinct within the grid, but could appear in any of the cells from B2:I11.


    I have 2 columns I want to populate with values from the grid.
    First is Fields. I want the first cell to populate with the baseball field found in row 1 of which the code Tier1 A1-A3 falls under.
    For example if this season Tier1 A1-A3 is found in the column under Field 4, then I need to return Field 4 as a result.

    Second is the time. I want the time to be populated based on what row the Tier1 A1-A3 code falls in.
    For example if Tier1 A1-A3 is in the Sat 8:00am row, then I need that value returned.

    In short, I need to search the grid and find a given value. I then need to use a lookup (or other tool) to return the first value in that row. And secondly via lookup return the first value in that column.

    Thoughts?

    edit: added spreadsheet example. First sheet is grid in question, 2nd sheet is a typical schedule.
    The first Team (Scared Hitless) is A1, the team they play first is Sands Duel Fuel (A3) They play at 11:00am on Field TR3.
    You will see on the grid under TR3 and Sat 11:00 the code Tier 4 A1v3. This code is what I want to search and correlate into times on the schedule rather than doing the data entry by hand.
    Last edited by jreed72; 07-03-2014 at 08:13 PM. Reason: added spreadsheet

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: lookup but first finding a unique string

    Attach a sample workbook. 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 use the paperclip icon to open the upload window.

    View Pic
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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] finding a string from a lookup of a date value
    By Donga00 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-17-2013, 07:31 AM
  2. [SOLVED] problem finding string using .find method when string to be found contains ~ (a tilde)
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-01-2013, 07:38 AM
  3. Finding the frequency of a string in other string(s)
    By JBeaucaire in forum Tips and Tutorials
    Replies: 13
    Last Post: 01-05-2010, 05:57 AM
  4. Finding a string in another string"
    By danny2000 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-08-2007, 08:03 AM
  5. Lookup Ques - finding value within a string to lookup
    By dustinjrichards@gmail.com in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-24-2005, 10:05 PM

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