+ Reply to Thread
Results 1 to 3 of 3

Remove set of texts or numbers or anything after certain string

Hybrid View

  1. #1
    Registered User
    Join Date
    11-22-2012
    Location
    Bahrain
    MS-Off Ver
    Excel 2007
    Posts
    5

    Post Remove set of texts or numbers or anything after certain string

    Dear Anyone,
    i have the following data
    BABASONS, JUFFAIR, BH 20.562
    LULU HYPERMARKET, DANA MALL, BH 20.211
    SANA INTERNATIONAL - SALM, MANAMA, BH 2.010
    VIVA, FSIDDIQUI.CS, BH 1.250

    I need the result to be
    BABASONS, JUFFAIR
    LULU HYPERMARKET, DANA MALL
    SANA INTERNATIONAL - SALM, MANAMA
    VIVA, FSIDDIQUI.CS

    which is the formula to remove anything found after the last comma.

  2. #2
    Valued Forum Contributor Sean Thomas's Avatar
    Join Date
    03-25-2012
    Location
    HerneBay, Kent, UK
    MS-Off Ver
    Excel 2007,2016
    Posts
    971

    Re: Remove set of texts or numbers or anything after certain string

    if your text is in D4
    place this is the cell you want the answer

    =LEFT(D4,FIND(",",D4,FIND(",",D4)+1)-1)

  3. #3
    Registered User
    Join Date
    11-22-2012
    Location
    Bahrain
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Remove set of texts or numbers or anything after certain string

    Thanks a lot

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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