Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I use XL97 and Windows 2000. Try this:
In cell A1, put 13547. In cell B1, put =LEN(A1). It returns 5, which I would expect. In cell C1, put =RIGHT(A1,LEN(A1-2)). This returns 13547, which I would NOT expect. Why doesn't it return 547? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
It's a misplaced parenthesis. Try
=RIGHT(A1,LEN(A1)-2) James |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Zone wrote:
It's a misplaced parenthesis. Try =RIGHT(A1,LEN(A1)-2) James Thanks to everybody. This is my Homer Simpson moment for today (I hope). |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this: =RIGHT(A1,LEN(A1)-2)
you need to put the -2 outside of the LEN bracket "Brian" wrote: I use XL97 and Windows 2000. Try this: In cell A1, put 13547. In cell B1, put =LEN(A1). It returns 5, which I would expect. In cell C1, put =RIGHT(A1,LEN(A1-2)). This returns 13547, which I would NOT expect. Why doesn't it return 547? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Wouldn't you want
=RIGHT(A1,LEN(A1)-2). "Brian" wrote: I use XL97 and Windows 2000. Try this: In cell A1, put 13547. In cell B1, put =LEN(A1). It returns 5, which I would expect. In cell C1, put =RIGHT(A1,LEN(A1-2)). This returns 13547, which I would NOT expect. Why doesn't it return 547? |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() It's all about brackets! Try this.. =RIGHT(A1,(LEN(A1)-2)) Colin -- Colin Vicary ------------------------------------------------------------------------ Colin Vicary's Profile: http://www.excelforum.com/member.php...o&userid=10472 View this thread: http://www.excelforum.com/showthread...hreadid=543789 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I use Excel to solve an equation? | Excel Worksheet Functions | |||
Date & Time | New Users to Excel | |||
Hyperlinks using R[1]C[1] and offset function in its cell referenc | Excel Worksheet Functions | |||
Conversion | Excel Worksheet Functions | |||
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. | Excel Worksheet Functions |