+ Reply to Thread
Results 1 to 4 of 4

left function without set number of characters

  1. #1
    Registered User
    Join Date
    12-22-2014
    Location
    Nebraska
    MS-Off Ver
    2010
    Posts
    16

    left function without set number of characters

    Hello! Hoping someone can help me with a quick question.

    I have a list that looks like below. I want to extract just the beginning portion (i.e. North, South, Western Hills, etc.). I tried the formula indicated below, but would like to trim it down further if possible.

    North 7:20 IN #7 - BUS
    South 8:45 IN BUS #3
    Western Hills 5:00 HM BUS #2
    Belvedere 3:55 HM BUS #3

    =LEFT(H7,LEN(H7)-FIND(" ",H7))

    That formula is returning Belvedere 3:55. Sometimes it includes more characters from the original. Any way to pull just the left most words?

    Any help is appreciated!!
    Thank you,
    Courtney

  2. #2
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: left function without set number of characters

    If your data starts in A1, enter this into B1 and copy down: =TRIM(LEFT(A1,MIN(FIND({0,1,2,3,4,5,6,7,8,9},A1&"0123456789"))-1))

    If this helps you, please mark as solved.

    Pete

  3. #3
    Registered User
    Join Date
    12-22-2014
    Location
    Nebraska
    MS-Off Ver
    2010
    Posts
    16

    Re: left function without set number of characters

    Thanks!!! :D

  4. #4
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: left function without set number of characters

    Glad to help.

    Pete

+ 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. Left Function to Stop at a Number
    By pat3white in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-24-2013, 10:20 AM
  2. [SOLVED] Extract left characters from string with exception of 2 right characters
    By sweetkel23 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-16-2012, 10:45 PM
  3. [SOLVED] Finding next available number with addition of Left function
    By Samba1 in forum Excel General
    Replies: 15
    Last Post: 07-03-2012, 03:22 PM
  4. Replies: 1
    Last Post: 01-16-2012, 04:03 AM
  5. How to force LEFT function to recognize a number?
    By Tommy1005 in forum Excel General
    Replies: 3
    Last Post: 07-29-2009, 10:44 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