Slateman Posted July 8, 2008 Share Posted July 8, 2008 So, I have one of my rosters set up to show social security numbers. Is there a way to X out the first five numbers? So, 123-45-6789 becomes xxx-xx-6789 Now, I don't want to create a new column. I just want the first five numbers to either be deleted, or become Xs. Can this even be done? Link to comment Share on other sites More sharing options...
Brad89 Posted July 8, 2008 Share Posted July 8, 2008 So, I have one of my rosters set up to show social security numbers.Is there a way to X out the first five numbers? So, 123-45-6789 becomes xxx-xx-6789 Now, I don't want to create a new column. I just want the first five numbers to either be deleted, or become Xs. Can this even be done? I'd say you have to do in and do it individually for each number. Just copy "xxx-xx-" and paste it in each cell right before the final 4 numbers. Link to comment Share on other sites More sharing options...
Corcaigh Posted July 8, 2008 Share Posted July 8, 2008 I don't think so. You could always hold the first five digits in one column and hide that. If you needed to produce the whole SSN it would be easy to create it from the two cells. Link to comment Share on other sites More sharing options...
The 12th Commandment Posted July 8, 2008 Share Posted July 8, 2008 Do find and replace with ???-?? replace with XXX-XX Added: I gotta laugh because even Microsoft help is useful. On occasion. Link to comment Share on other sites More sharing options...
skinfan2k Posted July 8, 2008 Share Posted July 8, 2008 run a macro to replace the first five digits. Link to comment Share on other sites More sharing options...
Corcaigh Posted July 8, 2008 Share Posted July 8, 2008 Do find and replace with ???-?? replace with XXX-XX I miss-read the OP. If you are happy deleting the data then this works. Link to comment Share on other sites More sharing options...
Slateman Posted July 8, 2008 Author Share Posted July 8, 2008 I miss-read the OP. If you are happy deleting the data then this works. No, it doesn't. It says that "Microsoft Office Excel cannot find a match" Link to comment Share on other sites More sharing options...
Corcaigh Posted July 8, 2008 Share Posted July 8, 2008 No, it doesn't. It says that "Microsoft Office Excel cannot find a match" It works for me. Are you sure the '-' characters are the same? Link to comment Share on other sites More sharing options...
skinfan2k Posted July 8, 2008 Share Posted July 8, 2008 Corcaigh its easier when the characters are the same, but he actually has different digits Link to comment Share on other sites More sharing options...
skinfan2k Posted July 8, 2008 Share Posted July 8, 2008 You can also split columns based on characters and then replace that column with the XXX and then recombine the columns Link to comment Share on other sites More sharing options...
The 12th Commandment Posted July 8, 2008 Share Posted July 8, 2008 ???-?? will replace anything with three a hyphen and then two. It'll leave the last -1234. I'm using office 2000 Link to comment Share on other sites More sharing options...
Forehead Posted July 8, 2008 Share Posted July 8, 2008 I believe there is some sort of masking command you can use, but I'm not sure. Link to comment Share on other sites More sharing options...
Corcaigh Posted July 8, 2008 Share Posted July 8, 2008 Corcaigh its easier when the characters are the same, but he actually has different digits If the format is aaa-bb-cccc then Replace works fine. Link to comment Share on other sites More sharing options...
Slateman Posted July 8, 2008 Author Share Posted July 8, 2008 If the format is aaa-bb-cccc then Replace works fine. I don't. Its like a thousand different social security numbers. Link to comment Share on other sites More sharing options...
The 12th Commandment Posted July 8, 2008 Share Posted July 8, 2008 What version of office do you have? I even tried it with a list of different made up socials and it worked fine. Link to comment Share on other sites More sharing options...
Corcaigh Posted July 8, 2008 Share Posted July 8, 2008 I don't. Its like a thousand different social security numbers. Are you using the actual question mark characters? It works in Office 2003 too. i.e Link to comment Share on other sites More sharing options...
skinfan2k Posted July 8, 2008 Share Posted July 8, 2008 Your right, Coraight it even works in office 2007 Link to comment Share on other sites More sharing options...
The 12th Commandment Posted July 8, 2008 Share Posted July 8, 2008 What am I? Chopped liver? Link to comment Share on other sites More sharing options...
Mufumonk Posted July 8, 2008 Share Posted July 8, 2008 If the above suggestions (???-??-) don't work you can always parse the last 4 characters into a separate field (Data|Text to Columns|Fixed Width). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.