Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 343
Default Limit returned value to last digit

In cell A4 is a 4 digit number in cell A1 I want only the last number
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Limit returned value to last digit

=IF(ISNUMBER(A4),IF(LEN(A4)=4,RIGHT(A4),""),"")

--
__________________________________
HTH

Bob

"Patrick C. Simonds" wrote in message
...
In cell A4 is a 4 digit number in cell A1 I want only the last number



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,696
Default Limit returned value to last digit

=RIGHT(A4,1)

"Patrick C. Simonds" wrote:

In cell A4 is a 4 digit number in cell A1 I want only the last number

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default Limit returned value to last digit

Hi,

And a little shorter:

=RIGHT(A1)

1 is the default value and you don't neet to enter it.


--
Thanks,
Shane Devenshire


"Patrick C. Simonds" wrote:

In cell A4 is a 4 digit number in cell A1 I want only the last number

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
Limit returned value Patrick C. Simonds Excel Worksheet Functions 5 September 27th 08 02:29 PM
How do I limit a cell to one digit and have it automatically tab? HJB1954 Excel Discussion (Misc queries) 5 June 17th 08 06:32 PM
limit characters returned a cell reference Lila Excel Worksheet Functions 8 September 6th 06 03:33 AM
Color a single digit in a mult-digit number cell Phyllis Excel Discussion (Misc queries) 6 November 17th 05 12:46 AM
Can I change the 15-digit limit in Excel for numbers ? Johan Excel Worksheet Functions 2 January 11th 05 01:17 PM


All times are GMT +1. The time now is 05:56 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"