#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RNeducator
 
Posts: n/a
Default Masking numbers

I need to remove or hide the first 5 digits in a string of 9 numbers for a
column. Any easy way to do this?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj
 
Posts: n/a
Default Masking numbers

If you need it to be a number try
=value(right(A1,4))
if it can be text don't use the value()

"RNeducator" wrote:

I need to remove or hide the first 5 digits in a string of 9 numbers for a
column. Any easy way to do this?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Masking numbers

Hello,

=--MID(A1,6,LEN(A1)-5)
to get result as a number

=MID(A1,6,LEN(A1)-5)
to get it as a string

If you are sure that it's a number and 9 digits you can take
=MOD(A1,10000)
or
=--RIGHT(A1,4)

HTH,
Bernd

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
formulas to numbers Steve New Users to Excel 2 September 16th 05 12:07 AM
Count comma separated numbers, numbers in a range with dash, not t Mahendra Excel Discussion (Misc queries) 0 August 8th 05 05:56 PM
Checking Winning Numbers in the Lottery. Ann Excel Discussion (Misc queries) 4 May 18th 05 10:55 AM
Match Last Occurrence of two numbers and Return Date Sam via OfficeKB.com Excel Worksheet Functions 6 April 5th 05 12:40 PM
Count and Sum Total occurrances of two specific numbers Sam via OfficeKB.com Excel Worksheet Functions 10 March 29th 05 08:13 PM


All times are GMT +1. The time now is 12:24 PM.

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"