+ Reply to Thread
Results 1 to 3 of 3

Extracting parts of a text string

  1. #1
    Registered User
    Join Date
    07-14-2006
    Posts
    50

    Extracting parts of a text string

    Hey all,

    This is how we get things emailed to us at work

    Jul 17, ‘08 10:22 Your accountant has received payment of $50,000 from Buisness1.

    Jul 18, ‘08 10:29 Your accountant has received payment of $5 from Buisness1675.

    As you can see the buisness names change as do the amounts.

    I need a very simple formula that when this is pasted into a cell (eg cell A1)...in its raw form...cell b1 shows the buisness and c3 shows the amount.

    Any ideas would be good. Thanks.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,730
    For the amount try

    =REPLACE(LEFT(A1,FIND(" from ",A1)-1),1,FIND("$",A1),"")+0

    and the business

    =REPLACE(A1,1,FIND(" from ",A1)+5,"")

  3. #3
    Registered User
    Join Date
    07-14-2006
    Posts
    50
    Works great...thanks x

+ 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