+ Reply to Thread
Results 1 to 5 of 5

How to allocate rows from one tab to another based off similar text?

  1. #1
    Registered User
    Join Date
    03-18-2025
    Location
    Melbourne, Australia
    MS-Off Ver
    2412
    Posts
    2

    How to allocate rows from one tab to another based off similar text?

    Export.xlsx

    Hi,

    Curious to know if there's a easier way to automate this process or if the only method is manual

    Basically, as seen in my attached sheet, i have tab 1 with a "masterlist" of brand petrol stations and their allocated coordinates. On tab 2, i have a list of special brand stations that i extracted from another source. I want to allocate each of the sites in 2 to 1 so they get their corresponding coordinates attached to them.

    Some of the names from 2 are the same as 1 so finding a match via vlookup is fine. However, some names have some differences e.g "Site Andy" in tab 2 is called "Site Andy Unmanned" and im assuming fuzzylookup is needed but unsure on how to allocate tab 1's coordinates to them. Additionally, i'm aware that some names on 2 might not exist on 1 so manual data entry/googling is needed which is fine. I've also been using the site address cells to cross verify the names too

    Just looking how to get the quickest way to allocate the corresponding coordinates to same/differently named but same sites and highlight the non-existing ones so i can manually find the coordinates. Thanks!
    Last edited by bottester; 03-18-2025 at 06:39 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,094

    Re: How to allocate rows from one tab to another based off similar text?

    I think it might not be that simple, and you are going to struggle. As an example of theissue:

    PHP Code: 
    1.  Liberty Stuart Park    34-36 Stuart Hwy
    2.  Liberty Alice Springs    44a Stuart Highway 
    Ar you looking to match these entries?
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    03-18-2025
    Location
    Melbourne, Australia
    MS-Off Ver
    2412
    Posts
    2

    Re: How to allocate rows from one tab to another based off similar text?

    Based off the data - i believe they would be different sites and thus, i'd need to manually put the coordinates for the sites that are exclusive on tab 2.

    Currently, what im doing is using vlookup to isolate unmatched ones on tab 2 and going one by one to see if the names/addresses are similar/match the ones on tab 1 and highlighting exclusive/unfound sites so i can manually look up the coordinates all at once after the matched ones are done. If that makes sense - all good, if this manual process is the only plausible way but wanted to see if i could narrow down the 100 or so unmatched ones :D

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,094

    Re: How to allocate rows from one tab to another based off similar text?

    Best I can suggest is:

    C2, dragged across to H2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    I2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The C2 formula will bring across the "matching" data. Note the -1 parameter: that will get the next lower entry, if not an exact match.

    These formulae will spill. Then filter on column I for FALSE. It lists 190 out of 477 entries.
    Attached Files Attached Files

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,094

    Re: How to allocate rows from one tab to another based off similar text?

    Thanks for the rep.

+ 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] Delete Rows where Narrative contains similar text and values sum to zero
    By Howardc1001 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-18-2021, 12:34 PM
  2. Group rows based on similar text
    By gunnahafta in forum Excel General
    Replies: 1
    Last Post: 06-18-2021, 12:21 AM
  3. Conditional Formatting based on similar rows
    By brent_mb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-24-2019, 11:46 PM
  4. Auto Filter Rows Based on Similar Cell Value
    By masdav in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-25-2019, 10:50 AM
  5. VBA for combined rows with similar text and sum
    By novice_excel_2012 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-31-2016, 09:15 PM
  6. Replies: 1
    Last Post: 05-10-2012, 11:33 AM
  7. Return Value Based on Similar Text
    By hshearer in forum Excel General
    Replies: 0
    Last Post: 09-19-2011, 10:26 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