Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formula needed

Status
Not open for further replies.

bbbenaway

Technical User
Feb 14, 2008
2
In MS Excell, am needing a formula whereas I can enter a complete social security number in one cell, and it would then propogate to other areas (cells)of the form, but only showing the last for digits. Example: 555-55-5555 to ******5555. I would need this to propogate to several different cells throughout the form.
 
Something like:
Code:
=REPT("*",LEN($A$1)-4)&RIGHT($A$1,4)
in those cells, replacing $A$1 with the cell ref of where the SS number is.

Cheers, Glenn.

Did you hear about the literalist show-jumper? He broke his nose jumping against the clock.
 
Or as long as the original SS# is entered in the ###-##-#### format:
Code:
=REPLACE(A1,1,6,"***-**")
where A1 is the cell containg the SS#
(for the sake of this conversation, we're ignoring the security related issues)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top