View Single Post
  #14   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dan B
 
Posts: n/a
Default Need help with this formula...

yeah, I tried that....I got the same error. Weird!!


"Bob Phillips" wrote in message
...
Rather than selecting the cell and pasting it, select the cell, and go to
the formula bar and paste it. Just a thought.

--
HTH

RP
"Dan B" wrote in message
...
I got the same thing. Something is wrapping.....when I paste the formula

in
a cell, it splits it and puts the last third part of the formula in the

next
row. When pasting directly into the function bar, I get the #Value!

error.


"Bob Phillips" wrote in message
...
It might be NG wrap-around. Try this version and feed back

=--MID(A7,FIND("~",SUBSTITUTE(A7," ","~",LEN(A7)-
LEN(SUBSTITUTE(A7," ",""))))+1,99)

--
HTH

RP
"Dan B" wrote in message
...
I get a #Value! error with Bob's


"Dave Peterson" wrote in message
...
Try Bob's suggestion.

Dan B wrote:

Ok...I messed up....All of the lines don't say US Government
Bonds....I
was
just showing data layout. I should have been more specific. Every
row
says
something different in place of the US Government....
Sorry about that. Any other ideas?

Thanks

"Dan B" wrote in message
...
Hi,

My data is as follows, all in one cell:

10015200 US Government Bonds 18,369,423.52
10012301 US Government Bonds 10,232.21

There are many varying lengths of digits. I am trying split off

the
numbers to the right of US Government Bonds into another column.
Here
is
my formula:
=RIGHT(A7,IF(ISERROR(FIND(" ",A7)),LEN(A7),FIND(" ",A7)))

My result is 9,423.52. Its not pulling the whole number.

What do I need to change in the formula?

Thanks



--

Dave Peterson