Re: Pulling text from a cell

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Try...

=LEFT(A1,FIND(" ",A1)-1)

and

=MID(A1,FIND(" ",A1)+1,1024)

To return numerical values, try the following instead...

=LEFT(A1,FIND(" ",A1))+0

and

=MID(A1,FIND(" ",A1),1024)+0


Hope this helps!

In article <1163086558.418792.260580@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"jnasr" <nasr.joseph@xxxxxxxxx> wrote:

I copied some data down to excel from the internet (no .xls or .csv
download available, just a straight copy and paste, unfortunately).
The data is in the format below:

5,503,522 7,268,551

There is a space between the numbers. I have used right, left, find
and len formulas in the past to separate text like this, but I'm having
trouble with this one.

Assuming the above data was in cell A1, I initially tried using the
formula

=RIGHT(A1,FIND(" ",A1))

However, this returns 551. I checked this and running FIND(" ",A1)
returns a value of 3. This doesn't make sense to me either, but if
anyone could explain a solution or why the FIND formula I was using was
returning that particular value, I would appreciate it.

Thanks.
.



Relevant Pages

  • Re: Can NOT boot from Windows CD, Safe Mode,r Normal Mode but CAN get
    ... > Since I got into trouble by doing things that I was not familiar ... > computer and select the Boot from CD option (NOT boot from Hard ... Then download and install SP2. ... Use that should cleaning out your PC remove or damage your in-place winsock ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Bug with Inbox app and POP3 account
    ... I'd like to know if you get the same trouble on a MDA2/XDA2 device. ... when there are messages in the mailbox on the server. ... It seems that when the client sends a ... Messages download with no errors. ...
    (microsoft.public.pocketpc.phone_edition)
  • Re: Bug with Inbox app and POP3 account
    ... I'd like to know if you get the same trouble on a MDA2/XDA2 device. ... when there are messages in the mailbox on the server. ... It seems that when the client sends a ... Messages download with no errors. ...
    (microsoft.public.pocketpc)
  • Re: Is Windows Update really necessary?
    ... custom install to see what updates are being offered, ... then go into their own download site as per Rock - save to C: ... Can you get in trouble if you never download anything? ... applications other than online purchases. ...
    (microsoft.public.windowsxp.general)
  • Re: Removing characters from a cell (keeping only numbers) 2
    ... >I did try this but unable to complete the download ("keeps saying Compressed ... you could also use a fairly simple UDF to extract the digits. ... The formula returns the digits as a string. ... this may give unexpected results depending on the cell formatting ...
    (microsoft.public.excel.misc)