+ Reply to Thread
Results 1 to 4 of 4

Need formula to find exact string from list of agency

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Need formula to find exact string from list of agency

    Dear experts


    I have list of agents name in col name which is incomplete values need formula to chance the values from list of agency (m2:m17)

    e.g if text is like that Sainbury ,bury's , change as Sainsbury's Bank

    find the attachment
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Need formula to find exact string from list of agency

    Does this help?

    Sub breadwinner()
    Dim i As Long, x As Range, y As String
    For i = 2 To Range("A" & Rows.Count).End(3).row
        y = Left(Cells(i, "A"), 4)
        Set x = Columns(13).Find(y, LookIn:=xlValues, lookat:=xlPart)
            If Not x Is Nothing Then
                Cells(i, "A") = x
            End If
        Set x = Nothing
    Next i
    End Sub

  3. #3
    Forum Contributor
    Join Date
    07-21-2011
    Location
    Bangalore,India
    MS-Off Ver
    Excel 2007,2010,2016
    Posts
    695

    Re: Need formula to find exact string from list of agency

    Sir amazing!!

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Need formula to find exact string from list of agency

    Glad to help out.

+ 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] vba to replace string from exact match list by searching approximate value
    By johnlara in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-18-2015, 10:12 AM
  2. what formula i can use for mt travel agency DB.
    By SalgotraSonia in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-19-2015, 03:40 AM
  3. Replies: 3
    Last Post: 09-15-2014, 07:56 PM
  4. [SOLVED] Challenge to find exact text string match
    By bentod in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-16-2014, 12:01 PM
  5. [SOLVED] Find and replace with exact string
    By carrie.cllek in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-27-2013, 04:02 PM
  6. Find an exact word within a text string
    By juanmimr in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 08-08-2013, 10:30 AM
  7. [SOLVED] Find Exact Match Text String Using Formula
    By sweetrevelation in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-12-2012, 10:53 AM

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