+ Reply to Thread
Results 1 to 6 of 6

find grid coordinates for particular data

  1. #1
    Forum Contributor
    Join Date
    04-18-2009
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    161

    find grid coordinates for particular data

    I hope I can explain what I need. I want to know the coordinates in the grid based on value in a cell . i'll lay out a sample of what I need the code to do.

    I have as many as 12 cells in a column that the grid gets populated with. for example I need to make a list of cell coordinates that contains the textf FBI. as you see in this example none of the TR data exists in the grid but this is not always the case. the grid will
    pull from those 12 cells at random, so I need it to work down the whole list or column of 12 cells. hope I explained this correctly. I also uploaded a file that
    maybe explains it better. Thanks for any help offered.

    FBI 101,105,111,113,122 and on and on
    FBA 102,103,104,112, 114 and on and on
    CPI 121, 211 and on and on
    CPA 404 and on and on
    TRA
    TRB
    TRC
    TRD
    TRE
    TRF
    TRG
    TRH
    Attached Files Attached Files
    Last edited by Traymond; 08-23-2016 at 02:19 PM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,006

    Re: find grid coordinates for particular data

    Cast a critical eye at your post and then post a sample spreadsheet.


    Make sure there is enough data to demonstrate your need. Make sure your desired results are shown, mock them up manually if necessary. Remember to remove ALL confidential information first!!!

    However, nothing on this Forum works quite as well as you might expect. The attachment icon doesn't work!! (Helpful, isn't it!!). Instead, just before you submit your post, click on GO ADVANCED (near the bottom) and then scroll down to Manage Attachments to open the upload window. The relevant instructions are at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Contributor
    Join Date
    04-18-2009
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    161

    Re: find grid coordinates for particular data

    thanks, I noticed that . I added file

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,006

    Re: find grid coordinates for particular data

    Some more Q's for you.

    How large is your real dataset? Using formulae, I have (so far) only covered two of your ten rows. It works, but a ten row solution will be cumbersome. A hundred row solution will be impossible (unless someone else sees something blindingly obvious that has escaped me).

    If your real dataset is bigger than your posted sample, I think that you'll need VBA to get a workable solution. In which case, I would be inclined to post again in the VBA sub-forum and ask one of the Moderators to close this thread. I can copy other people's VBA, but don't know enough to write any. Way beyond my pay grade (pay grade... if only!!).

    Formula as used in sheet:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This is an array formula. Array Formulae are a little different from ordinary formulas in that they MUST be confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.

    You will know the array is active when you see curly braces { } appear around the outside of your formula. If you do not CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly braces yourself - it won't work...
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: find grid coordinates for particular data

    Try the attached code. It works on the sample attached. If you change the layout and data, I also need to change the code.
    Attached Files Attached Files

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,006

    Re: find grid coordinates for particular data

    Thank you!! AB33

+ 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. Replies: 5
    Last Post: 10-02-2015, 05:38 PM
  2. Find a value in a grid and put data there
    By mattman123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-21-2014, 04:53 PM
  3. Replies: 7
    Last Post: 07-29-2013, 04:51 PM
  4. [SOLVED] VBA to find cell with a specific value, and ID its coordinates
    By artkingjw in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-29-2012, 01:17 AM
  5. 2 lists of coordinates. I wanna find the closest
    By 008 in forum Excel General
    Replies: 1
    Last Post: 04-28-2011, 01:09 AM
  6. Replies: 3
    Last Post: 07-15-2009, 01:06 PM
  7. Referencing XY Grid Coordinates
    By ozcourtjester in forum Excel General
    Replies: 1
    Last Post: 01-20-2006, 03:20 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