+ Reply to Thread
Results 1 to 3 of 3

Taking character up to special sign (-)

  1. #1
    Registered User
    Join Date
    03-09-2016
    Location
    Europe
    MS-Off Ver
    2010
    Posts
    23

    Taking character up to special sign (-)

    Hi,

    How can I take characters up to the special sign i have in column "A".

    I using left formula to take the 1st five digit, but I would like to set the formula to take all digits up to the special character (-)

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Taking character up to special sign (-)

    Try this: =TRIM(LEFT(A2,FIND("-",A2)-1))
    Click the * to say thanks.

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Taking character up to special sign (-)

    Please try B2
    =LEFT(A2,FIND("-",A2)-1)

    or
    =LEFT(A2,FIND(" -",A2)-1)

+ 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] special sign of inequities in code of VBA
    By jpol in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-06-2018, 11:04 AM
  2. Replies: 1
    Last Post: 06-27-2017, 05:01 PM
  3. Need to highlight special character and the cells contains special character
    By dhilipan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-26-2013, 01:36 AM
  4. compile error: invalid character - seems to be on the dollar sign
    By dogguy2010 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-02-2013, 12:14 PM
  5. Charts Not Taking Alpha Character from Formula
    By Excellerameter in forum Excel General
    Replies: 2
    Last Post: 11-11-2011, 12:09 PM
  6. Excel Special Sign Removal Help
    By defy in forum Excel General
    Replies: 9
    Last Post: 05-28-2009, 06:27 AM
  7. Concatenate formula not taking decimal places/currency sign
    By woodsonline in forum Excel General
    Replies: 4
    Last Post: 05-27-2009, 03:34 AM

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