+ Reply to Thread
Results 1 to 8 of 8

Delete numbers in cell

  1. #1
    Registered User
    Join Date
    06-21-2012
    Location
    The Hague
    MS-Off Ver
    Excel 2003
    Posts
    3

    Delete numbers in cell

    Hello,

    I have a long list of cells like this:

    BRITISH AIRWAYS FI
    ONTEX IV 7.5% 04/15/18 /EUR/
    DUBAI HOLDING 6% 2/1/17 /GBP/
    BES FINAN 3% 05/19/15 /EUR/
    UPCB FINA 6.375% 07/01/20 /EUR
    BANCO ESPIRITO 1.625% 04/15/13
    AGROKOR D 10% 12/07/16 /EUR
    CET 21 SP 9% 11/01/17 /EUR/
    EUROPCAR 9.375% 04/15/18 /EUR
    LAFARGE S 5.375% 11/29/18 /EUR
    SPCM SA 8.25% 06/15/17 /EUR/
    EUROPCAR BOND FUNDING LTD
    TUI AG V/R /PERP/EUR/
    UNITYMEDIA GMBH 9.625% 12/01/19/EUR
    UNITYMEDIA H 9.5% 3/15/21/EUR
    UNITYMEDI 7.5% 03/15/19 /EUR/
    HEIDELBER 9.25% 04/15/18 /EUR/
    MOL MAGYAR 3.875% 10/5/15/EUR/

    I am searching for a formula or macro that only shows the name of the company. Can someone please help me?

    Thanks,
    Rick

  2. #2
    Valued Forum Contributor
    Join Date
    04-30-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    547

    Re: Delete numbers in cell

    can you describe the rules in simple words that identify what constitutes the company name? Is it UNITYMEDIA or UNITYMEDIA H or UNITYMEDIA GMBH? Is it AGROKOR D or just AGROKOR? If you can come up with a logical explanation, then someone here will be able to come up with a function or macro.

    But if the recognition of the company name involves human interaction, then you're pretty much out of luck.
    Like a post? Click the star below it!

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Delete numbers in cell

    Hi Rick and welcome to the forum

    If your words are always in the left side of the string, then you can use this Array formula(Control+Shift+Enter) NOT just Enter.
    Please Login or Register  to view this content.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    06-21-2012
    Location
    The Hague
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Delete numbers in cell

    It is the name until the start of the percentage. So it should be AGROKOR D.
    I think I have to find a way to delete the right part of the cell when the numbering is starting.

  5. #5
    Valued Forum Contributor
    Join Date
    04-30-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    547

    Re: Delete numbers in cell

    what about

    TUI AG V/R /PERP/EUR/

    there's no % sign. Is that the name then? Or is it TUI? Or TUI AG?

    My point is, there will probably not be a formula, since it's almost impossible to describe the logic. One has to be familiar with the brand names to recognise where a company name ends.

  6. #6
    Valued Forum Contributor
    Join Date
    04-30-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    547

    Re: Delete numbers in cell

    Fotis, I can't get your formula to produce anything but #N/A (yes, I array entered). Can you post a file where it works as you expect?

  7. #7
    Registered User
    Join Date
    06-21-2012
    Location
    The Hague
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Delete numbers in cell

    Thanks for the help everybody but I think i have found the best possible solution.
    I have searched with FIND function for the first number to appear. Then with LEFT function I get the correct name in 99% of the cases, except for the ones you mention above.

    But anyway,
    thanks for the help

  8. #8
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Delete numbers in cell

    Sure! Here it is
    Attached Files Attached Files

+ 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