Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default extract last 2 characters from the right?

Need to obtain in one cell the 2 right most characters from another
cell. Can anybody here help with a formula?

in other words:
A1=ASW232.1
result would be: .1

Thanks in advance.
Pierre
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,533
Default extract last 2 characters from the right?

Hi Pierre

Try this:

=MID(A1,LEN(A1)-1,2)

Regards
Per

"Pierre" skrev i meddelelsen
...
Need to obtain in one cell the 2 right most characters from another
cell. Can anybody here help with a formula?

in other words:
A1=ASW232.1
result would be: .1

Thanks in advance.
Pierre


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default extract last 2 characters from the right?

Per, thanks for the reply. . .that soultion returns "TRUE".
Looking for the last 2 characters.

Got a plan B?

Thanks.

Pierre


On Dec 21, 2:50*pm, "Per Jessen" wrote:
Hi Pierre

Try this:

=MID(A1,LEN(A1)-1,2)

Regards
Per

"Pierre" skrev i ...



Need to obtain in one cell the 2 right most characters from another
cell. *Can anybody here help with a formula?


in other words:
A1=ASW232.1
result would be: .1


Thanks in advance.
Pierre- Hide quoted text -


- Show quoted text -


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default extract last 2 characters from the right?

=RIGHT(A1,2)
--
David Biddulph

"Pierre" wrote in message
...
Need to obtain in one cell the 2 right most characters from another
cell. Can anybody here help with a formula?

in other words:
A1=ASW232.1
result would be: .1

Thanks in advance.
Pierre



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default extract last 2 characters from the right?

Have you looked in the help index for RIGHT

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Pierre" wrote in message
...
Need to obtain in one cell the 2 right most characters from another
cell. Can anybody here help with a formula?

in other words:
A1=ASW232.1
result would be: .1

Thanks in advance.
Pierre




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default extract last 2 characters from the right?

On Dec 21, 3:04*pm, "David Biddulph" <groups [at] biddulph.org.uk
wrote:
=RIGHT(A1,2)
--
David Biddulph

"Pierre" wrote in message

...



Need to obtain in one cell the 2 right most characters from another
cell. *Can anybody here help with a formula?


in other words:
A1=ASW232.1
result would be: .1


Thanks in advance.
Pierre- Hide quoted text -


- Show quoted text -


Too cool!!

Thank you.

Pierre

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CM CM is offline
external usenet poster
 
Posts: 136
Default extract last 2 characters from the right?

=right(a1,2)
--
hope to help,
cm


"Pierre" wrote:

Need to obtain in one cell the 2 right most characters from another
cell. Can anybody here help with a formula?

in other words:
A1=ASW232.1
result would be: .1

Thanks in advance.
Pierre
.

  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default extract last 2 characters from the right?

On Dec 21, 3:26*pm, "Don Guillett" wrote:
btw, Per's did work.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software
"Pierre" wrote in message


I agree. It started working after a few minutes, when I adjusted a
cell reference. Sorry about the erronious post.
Thank you Don, and Per.

Pierre
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
Extract characters from cell Juan Marin Excel Worksheet Functions 2 October 28th 09 04:40 PM
extract characters from filename Steve[_16_] Excel Worksheet Functions 7 October 7th 08 12:41 AM
Extract characters from a cell JBasch Excel Discussion (Misc queries) 2 March 10th 06 02:27 AM
Extract the first few characters MC_blur Excel Worksheet Functions 6 January 13th 06 05:18 PM
HOW DO I EXTRACT ALL CHARACTERS AFTER 5 CHARACTERS ON LEFT GRYSYF Excel Worksheet Functions 5 October 12th 05 10:58 AM


All times are GMT +1. The time now is 04:40 AM.

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

About Us

"It's about Microsoft Excel"