+ Reply to Thread
Results 1 to 3 of 3

Help with Left function

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    02-14-2004
    Posts
    131

    Help with Left function

    A B
    1 10155.01299 10155.01299 7.50X27.50X1
    2 #VALUE! 10255.01816
    3 #VALUE! 10255.01820
    4 #VALUE! 10255.01830

    In cell A1 there is the formula =LEFT(B2,FIND(" ",B2)-1) Which returns the value I want from the combined value in B1. However the same formula in cell A2 returns a #value!. Is there a formula that could be used in A1-A4 that would return the first part number in B1 and the remaining part number in B2-B4?
    So the result would be

    A B
    1 10155.01299 10155.01299 7.50X27.50X1
    2 10255.01816 10255.01816
    3 10255.01820 10255.01820
    4 10255.01830 10255.01830
    Last edited by nander; 06-15-2011 at 12:14 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    10-13-2010
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2007 (Home) / 2003 (Work)
    Posts
    740

    Re: Help with Left function

    =if(iserror(left(b2,find(" ",b2)-1)),b2,left(b2,find(" ",b2)-1))

    ?

  3. #3
    Forum Contributor
    Join Date
    02-14-2004
    Posts
    131

    Re: Help with Left function

    PERFECT, thank you very much! brokenbiscuits

+ 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