+ Reply to Thread
Results 1 to 4 of 4

Retrieving data from a cell

Hybrid View

  1. #1
    Forum Contributor CobraLAD's Avatar
    Join Date
    07-23-2007
    Location
    Boksburg, South Africa
    MS-Off Ver
    Office 2019
    Posts
    346

    Retrieving data from a cell

    Please help with formula. I have the following in Column A

    01. Artist - Title

    I manage to put 01 in Column B and Title in Column D
    I am struggling to split between the "." and the "-" to show Artist in Column C
    I am using in Column B
    =IF(A1="","",LEFT(A1,FIND(".",A1)-1))
    and in Column D
    =IF(A1="","",RIGHT(A1,LEN(A1)-FIND("-",A1)-1))
    Last edited by CobraLAD; 11-24-2009 at 04:31 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Retrieving data from a cell

    A plethora of options in truth, one (based on your existing logic) would be:

    C1: =IF(A1="","",TRIM(REPLACE(LEFT(A1,FIND("-",A1)-1),1,FIND(".",A1),"")))
    Last edited by DonkeyOte; 11-24-2009 at 04:09 AM. Reason: added the IF

  3. #3
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Retrieving data from a cell

    Try:

    
    =IF(A1="","",TRIM(MID(A1,FIND(".",A1)+1,LEN(A1)-FIND("-",A1)+1)))
    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  4. #4
    Forum Contributor CobraLAD's Avatar
    Join Date
    07-23-2007
    Location
    Boksburg, South Africa
    MS-Off Ver
    Office 2019
    Posts
    346

    Re: Retrieving data from a cell

    thanks DonkeyOte yours work 100%

+ 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