Just alter daddylonglegs formula
From =REPLACE(A1,LEN(A1)-3,4,"xxxx") Last 4
To =REPLACE(A1,1,4,"xxxx") First 4
George
davids wrote:
Apologies I need it to replace the first four digits with X
eg Account number = 123456 outcome I require is XXXX56
"daddylonglegs" wrote:
one way would be
=REPLACE(A1,LEN(A1)-3,4,"xxxx")
--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=522896