+ Reply to Thread
Results 1 to 6 of 6

Suite #'s in address to be deleted in entire workbook

  1. #1
    Registered User
    Join Date
    01-03-2014
    Location
    United States
    MS-Off Ver
    Excel 2008
    Posts
    25

    Suite #'s in address to be deleted in entire workbook

    I have a bunch of accounts i am extracting from my companies database, in the database we have the suite # keyed into the address field.
    I am importing those addresses into a route planner but it will not accurately locate the accounts with the suite # in the fields.

    For example:

    Cell C6 reads (1200 SE 28th St, Ste 2)
    How can i formulate something to remove (, Ste) and the following number throughout the entire workbook.

    Thanks

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Suite #'s in address to be deleted in entire workbook

    Is the ", Ste #" text always the last part of the cell value?
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Suite #'s in address to be deleted in entire workbook

    Hi,

    One way,

    Use a helper column with

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


    copied down then copy this helper result back as values to the original range.

    Alternatively do a Find for "Ste* " and replace with nothing.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,323

    Re: Suite #'s in address to be deleted in entire workbook

    =LEFT(C6,FIND(",",C6,1)-1)
    Try this formula
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  5. #5
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Suite #'s in address to be deleted in entire workbook

    Hello tward please upload a workook
    in cell d6 you can enter = left(C6,find(",",C6)-1) and drag down
    but it would be better if you can upload a book
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  6. #6
    Registered User
    Join Date
    01-03-2014
    Location
    United States
    MS-Off Ver
    Excel 2008
    Posts
    25

    Re: Suite #'s in address to be deleted in entire workbook

    That formula works. Thanks all for the help.

    Tward

+ 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. All FIRST entire.row of EVERY - TABLE will be DELETED
    By shannen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-09-2013, 11:37 AM
  2. Replies: 0
    Last Post: 02-14-2012, 12:34 PM
  3. Replies: 2
    Last Post: 04-24-2009, 03:45 PM
  4. Remove Entire subtotal row will be deleted
    By NoelH in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-21-2006, 08:00 PM
  5. Replies: 3
    Last Post: 09-14-2005, 09:05 PM

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