# Formula to seperate values

1. ## Formula to seperate values

Hi i need to split up these numbers from a string of text, i have attached what the result should be but just not sure how to do it via a formula.

Any help would be great

2. ## Re: Formula to seperate values

This formulas will take into account any letter you may have and remove them
B1:
=NPV(-0.9,,IFERROR(MID(LEFT(A2,FIND("/",A2)-1),LEN(A2)-ROW(INDIRECT("1:"&LEN(A2)))+1,1)%,""))

c2
=NPV(-0.9,,IFERROR(MID(LEFT(TRIM(SUBSTITUTE(A2,F2&"/","")),FIND("/",A2)-1),LEN(B2)-ROW(INDIRECT("1:"&LEN(B2)))+1,1)%,""))
Confirm both with COntrol+Shift+Enter

3. ## Re: Formula to seperate values

Thanks the first formula works but the second doesn't return the vlaue i would expect as in my example in col E

4. ## Re: Formula to seperate values

Try this:
=--TRIM(MID(A2,4,FIND("/",A2)-4))
and
=--TRIM(MID(A2,FIND("/",A2)+5,100))

5. ## Re: Formula to seperate values

Or this:

Amount1

=1*MID(A2,4,FIND("/",A2)-5)

Amount2

=1*REPLACE(A2,1,FIND("/",A2)+4,"")

Apply format: Number

Many thanks

7. ## Re: Formula to seperate values

Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

We are waiting from a long time member like you to do this without no one to ask this as this is a part of our rules in this forum.

In future, to mark your thread as Solved, you can do the following -
Select Thread Tools-> Mark thread as Solved.

Incase your issue is not solved, you can undo it as follows -
Select Thread Tools-> Mark thread as Unsolved.

##### Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### 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