Solved

Convert numbers to text in excel 2012

Posted on 2014-07-24
5
344 Views
Last Modified: 2014-07-24
I have a CSV which I transfer to exel. I format the column as text but some lines still show as numeric or float - how can I convert these to text as these are telphone numbers
Main Phone

0017 325 486 100
0060 326 879 020
+1300 762 762
1283563357  <------------------------ this shows as a number want this as text
001 843 412 3743
9.66533E+11   <------------------- this shows as a float  want this as text  (966532709562 which shows in the formula bar)
1253675695 <------------------------ this shows as a number
0
Comment
Question by:Chris Michalczuk
  • 2
  • 2
5 Comments
 
LVL 13

Expert Comment

by:duncanb7
ID: 40216495
You can change cell format by select a cells or  drag many cells and right-click it  and click "format cell" from which  there is  a lot option you can choose for any different  number, date ,format,etc ..
If it is not completely to meet your need, you need to do it on VBA

Duncan
0
 
LVL 6

Expert Comment

by:johnb25
ID: 40216531
Alternatively, you can try to change the file extension to .txt before opening it, and in the Text Import wizard, specify that column as being a Text column.

John
0
 

Author Comment

by:Chris Michalczuk
ID: 40216624
is there no other way to convert this - I have used the format cell as text type but it ignores these specifics as if it doesnt understand how to convert to text !
0
 
LVL 6

Accepted Solution

by:
johnb25 earned 500 total points
ID: 40216675
If you select the column/range with the phone numbers, and do Data/Text to Columns from the ribbon.
Select Fixed Width, and then chose Text as the Column Data Format.


John
0
 

Author Closing Comment

by:Chris Michalczuk
ID: 40216815
you are a star !
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question