Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
DonJackson
 
Posts: n/a
Default truncate ssn to first four digits

Truncate column of social security numbers to the first four digits.
  #2   Report Post  
bj
 
Posts: n/a
Default

I assume you want to have just the first four digits
try
=LEFT(SUBSTITUTE(A1,"-",""),4)

"DonJackson" wrote:

Truncate column of social security numbers to the first four digits.

  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

Are they really numbers just formatted as SSN's?
=INT(A1/100000)

Or did you enter them as text?
123-45-6789
=substitute(left(a1,5),"-","")



DonJackson wrote:

Truncate column of social security numbers to the first four digits.


--

Dave Peterson
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
Sort by last 2 digits mbparks Excel Worksheet Functions 4 February 17th 05 06:11 PM
15 digits??? muckali Excel Discussion (Misc queries) 1 February 15th 05 05:21 AM
Least number of digits in Y-axis labels Charley Kyd Charts and Charting in Excel 9 February 6th 05 03:03 PM
How do I format cells to a specific number of digits? Gabriele Excel Discussion (Misc queries) 3 February 5th 05 03:17 PM
Using a IF formula, I would like to drop the 2 digits in front of. osuhoosier Excel Discussion (Misc queries) 2 January 6th 05 08:21 PM


All times are GMT +1. The time now is 02:44 AM.

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"