#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default Mask Account Number

I have a spreadsheet with tons of accounts numbers, and I need them to show
up as 1234567 on my spreadsheet, but need them to show up XXX4567

how do I do this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Mask Account Number

="XXX"&RIGHT(A1,4)
--
David Biddulph


"Need help" <Need wrote in message
...
I have a spreadsheet with tons of accounts numbers, and I need them to
show
up as 1234567 on my spreadsheet, but need them to show up XXX4567

how do I do this?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Mask Account Number

Hi,

One way. Say these numbers are in column A starting in A2. Put this in B2

="XXXX"&RIGHT(A2,4)

Drag down as required and then hide column A

You could even have the numbers on another sheet and use the formula

="XXXX"&RIGHT(Sheet2!A2,4)

You could then hide the entire worksheet with the numbers on.


--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Need help" wrote:

I have a spreadsheet with tons of accounts numbers, and I need them to show
up as 1234567 on my spreadsheet, but need them to show up XXX4567

how do I do this?

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 do I mask a Social Security Number ###-##-nnnn? Ed H[_2_] Excel Worksheet Functions 3 April 4th 23 10:53 AM
Insert Name based on the account number Vic Excel Discussion (Misc queries) 2 June 22nd 09 04:21 PM
Combination text/number input mask Travel Guy Excel Discussion (Misc queries) 1 June 7th 09 09:13 PM
How account duplicated number if condition is met? Jon Excel Discussion (Misc queries) 1 March 7th 09 04:38 PM
I want to put a bank account number that begins with 00 in Excel. Kbrookfi Excel Worksheet Functions 1 March 9th 06 05:32 AM


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