Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Joe
 
Posts: n/a
Default Convert Social Security text to number?

I would like to convert a text social security number (###-##-####) to a
numerical format (#########) so that it can search using vlookup functions.
Any help is greatly appreciated.

-Joe
  #2   Report Post  
bj
 
Posts: n/a
Default

it depends on whether it is numeric formated with the dashes or Text with the
dashes embedded.
goto <format<cells<number and select general
if the dashes are still there it is text.
select the cells and use find replace (Find the dash replace with nothing)
the cells will still be text, so enter 1 in a cell copy it select the SSN
cells and paste special Multiply

"Joe" wrote:

I would like to convert a text social security number (###-##-####) to a
numerical format (#########) so that it can search using vlookup functions.
Any help is greatly appreciated.

-Joe

  #3   Report Post  
bigwheel
 
Posts: n/a
Default

One way would be as follows:-

A1 contains SS number so in B1 enter the following
=(LEFT(A1,3)&MID(A1,5,2)&RIGHT(A1,4))*1

"Joe" wrote:

I would like to convert a text social security number (###-##-####) to a
numerical format (#########) so that it can search using vlookup functions.
Any help is greatly appreciated.

-Joe

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
convert number to text in Spanish Language Jara Excel Worksheet Functions 2 May 27th 05 03:51 AM
convert number to text and format it. Goda Excel Worksheet Functions 2 February 7th 05 04:37 PM
Convert Numeric into Text Monty Excel Worksheet Functions 0 December 18th 04 09:25 PM
Convert text file to MS_Excel Aqua Flow Excel Discussion (Misc queries) 1 November 30th 04 02:55 AM
convert number into corrseponding text mustafa Excel Discussion (Misc queries) 1 November 29th 04 12:50 PM


All times are GMT +1. The time now is 11:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"