#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default refer to text

Hi,

I have a text, e.g. "Finished" in A1, if I want the 3rd word from left "n"
be displayed in B1, how to make the formula? and if A1 is a number, e.g.
12,520.70, how can a formula to display "5" in B1?

thanks in advance.
--
Lowan
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default refer to text

Try this:

=MID(A1,3,1)

--
Biff
Microsoft Excel MVP


"Lowan Chan" wrote in message
...
Hi,

I have a text, e.g. "Finished" in A1, if I want the 3rd word from left
"n"
be displayed in B1, how to make the formula? and if A1 is a number, e.g.
12,520.70, how can a formula to display "5" in B1?

thanks in advance.
--
Lowan



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default refer to text

Use MID()

=MID(A1,3,1)

If this post helps click Yes
---------------
Jacob Skaria


"Lowan Chan" wrote:

Hi,

I have a text, e.g. "Finished" in A1, if I want the 3rd word from left "n"
be displayed in B1, how to make the formula? and if A1 is a number, e.g.
12,520.70, how can a formula to display "5" in B1?

thanks in advance.
--
Lowan

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default refer to text

thanks. How about if I want to count it from right?

thanks.
--
Lowan


"Jacob Skaria" wrote:

Use MID()

=MID(A1,3,1)

If this post helps click Yes
---------------
Jacob Skaria


"Lowan Chan" wrote:

Hi,

I have a text, e.g. "Finished" in A1, if I want the 3rd word from left "n"
be displayed in B1, how to make the formula? and if A1 is a number, e.g.
12,520.70, how can a formula to display "5" in B1?

thanks in advance.
--
Lowan

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 118
Default refer to text

Use MID() and LEN()

=MID(A1,Len(A1)-5,1)

Where 5 is the number from the right.

If this helps, please click "Yes"
<<<<<<<<<<

"Lowan Chan" wrote:

thanks. How about if I want to count it from right?

thanks.
--
Lowan


"Jacob Skaria" wrote:

Use MID()

=MID(A1,3,1)

If this post helps click Yes
---------------
Jacob Skaria


"Lowan Chan" wrote:

Hi,

I have a text, e.g. "Finished" in A1, if I want the 3rd word from left "n"
be displayed in B1, how to make the formula? and if A1 is a number, e.g.
12,520.70, how can a formula to display "5" in B1?

thanks in advance.
--
Lowan



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default refer to text

thanks a lot. It helps. But seems doesn't work on my case. For example:
12,345.60 in A1, in b1, I want to display "0", which is the last digit of
12,345.60. so I set

=mid(a1, len(a1)-0, 1)

the answer comes to "6" in stead of "0". How can I change the formula to get
"0"?

thanks in advance.
--
Lowan


"Jacob Skaria" wrote:

Use MID()

=MID(A1,3,1)

If this post helps click Yes
---------------
Jacob Skaria


"Lowan Chan" wrote:

Hi,

I have a text, e.g. "Finished" in A1, if I want the 3rd word from left "n"
be displayed in B1, how to make the formula? and if A1 is a number, e.g.
12,520.70, how can a formula to display "5" in B1?

thanks in advance.
--
Lowan

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default refer to text

Try this:

=RIGHT(TEXT(A1,"###0.00"))

--
Biff
Microsoft Excel MVP


"Lowan Chan" wrote in message
...
thanks a lot. It helps. But seems doesn't work on my case. For example:
12,345.60 in A1, in b1, I want to display "0", which is the last digit of
12,345.60. so I set

=mid(a1, len(a1)-0, 1)

the answer comes to "6" in stead of "0". How can I change the formula to
get
"0"?

thanks in advance.
--
Lowan


"Jacob Skaria" wrote:

Use MID()

=MID(A1,3,1)

If this post helps click Yes
---------------
Jacob Skaria


"Lowan Chan" wrote:

Hi,

I have a text, e.g. "Finished" in A1, if I want the 3rd word from left
"n"
be displayed in B1, how to make the formula? and if A1 is a number,
e.g.
12,520.70, how can a formula to display "5" in B1?

thanks in advance.
--
Lowan



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default refer to text

Thanks T. Valko. The answer only let me get "0", but cannot get 6, 5.... as
I need to get each digit seperately. Can you help what should I do?

Thanks a lot.
--
Lowan


"T. Valko" wrote:

Try this:

=RIGHT(TEXT(A1,"###0.00"))

--
Biff
Microsoft Excel MVP


"Lowan Chan" wrote in message
...
thanks a lot. It helps. But seems doesn't work on my case. For example:
12,345.60 in A1, in b1, I want to display "0", which is the last digit of
12,345.60. so I set

=mid(a1, len(a1)-0, 1)

the answer comes to "6" in stead of "0". How can I change the formula to
get
"0"?

thanks in advance.
--
Lowan


"Jacob Skaria" wrote:

Use MID()

=MID(A1,3,1)

If this post helps click Yes
---------------
Jacob Skaria


"Lowan Chan" wrote:

Hi,

I have a text, e.g. "Finished" in A1, if I want the 3rd word from left
"n"
be displayed in B1, how to make the formula? and if A1 is a number,
e.g.
12,520.70, how can a formula to display "5" in B1?

thanks in advance.
--
Lowan



.

  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default refer to text

Excel doesn't recognize terminating 0s in decimal numbers.

The only way you can see them is if you use a number format set to a certain
number of decimal places. For example:

10.00

To Excel, the .00 does not exist. It is only there for *display purposes* IF
you format the cell to display the 2 decimal places. If you select the cell
that contains 10.00 and look in the formula bar you will see10 not 10.00.
That's because those .00 don't really exist.

So, with this in mind perhaps we need a better idea of what you're trying to
do.

--
Biff
Microsoft Excel MVP


"Lowan Chan" wrote in message
...
Thanks T. Valko. The answer only let me get "0", but cannot get 6, 5....
as
I need to get each digit seperately. Can you help what should I do?

Thanks a lot.
--
Lowan


"T. Valko" wrote:

Try this:

=RIGHT(TEXT(A1,"###0.00"))

--
Biff
Microsoft Excel MVP


"Lowan Chan" wrote in message
...
thanks a lot. It helps. But seems doesn't work on my case. For
example:
12,345.60 in A1, in b1, I want to display "0", which is the last digit
of
12,345.60. so I set

=mid(a1, len(a1)-0, 1)

the answer comes to "6" in stead of "0". How can I change the formula
to
get
"0"?

thanks in advance.
--
Lowan


"Jacob Skaria" wrote:

Use MID()

=MID(A1,3,1)

If this post helps click Yes
---------------
Jacob Skaria


"Lowan Chan" wrote:

Hi,

I have a text, e.g. "Finished" in A1, if I want the 3rd word from
left
"n"
be displayed in B1, how to make the formula? and if A1 is a number,
e.g.
12,520.70, how can a formula to display "5" in B1?

thanks in advance.
--
Lowan



.



  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default refer to text

You had the answer earlier. Use MID instead of right.
--
David Biddulph

Lowan Chan wrote:
Thanks T. Valko. The answer only let me get "0", but cannot get 6,
5.... as I need to get each digit seperately. Can you help what
should I do?

Thanks a lot.

Try this:

=RIGHT(TEXT(A1,"###0.00"))

--
Biff
Microsoft Excel MVP


"Lowan Chan" wrote in message
...
thanks a lot. It helps. But seems doesn't work on my case. For
example: 12,345.60 in A1, in b1, I want to display "0", which is
the last digit of 12,345.60. so I set

=mid(a1, len(a1)-0, 1)

the answer comes to "6" in stead of "0". How can I change the
formula to get
"0"?

thanks in advance.
--
Lowan


"Jacob Skaria" wrote:

Use MID()

=MID(A1,3,1)

If this post helps click Yes
---------------
Jacob Skaria


"Lowan Chan" wrote:

Hi,

I have a text, e.g. "Finished" in A1, if I want the 3rd word
from left "n"
be displayed in B1, how to make the formula? and if A1 is a
number, e.g.
12,520.70, how can a formula to display "5" in B1?

thanks in advance.
--
Lowan



.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to refer to a text piece in a VBA custom function? FARAZ QURESHI Excel Discussion (Misc queries) 2 January 27th 08 03:11 PM
How can I refer to a worksheet using text in a cell? Preston Excel Discussion (Misc queries) 3 October 13th 06 01:35 PM
Refer to value strikeuk Excel Discussion (Misc queries) 8 May 17th 06 08:42 AM
refer JE McGimpsey Excel Discussion (Misc queries) 2 November 28th 05 06:55 PM
Using 'If' refer to specific words in a cell containing text Casino Guy Excel Worksheet Functions 5 August 10th 05 02:02 PM


All times are GMT +1. The time now is 06:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"