Solved

Excel - Change cell format

Posted on 2013-11-22
5
392 Views
Last Modified: 2013-11-25
Hello all,

I have a column which includes a list of telephone numbers.
All values are marked as numbers and data appears like " 3.0212212+11"

What I want to do it to make number appear as  "302101234567"
So, I change the format of all cells to text.
Although all the cell change their format to text, I have to enter each cell to update the value: this means that I have to click each cell, press F2, and move on to next cell.

Is there a way to update all cells automatically?
ctrl+shit+alt+f9 is not working!
0
Comment
Question by:ampranti
5 Comments
 
LVL 48

Accepted Solution

by:
Rgonzo1971 earned 350 total points
ID: 39668555
Hi,

Why not change the format to number  in Home / Number and then decrease the decimal with the button.

Or got to Other Formats / Number  
Choose decimal places 0

Regards
0
 
LVL 10

Author Comment

by:ampranti
ID: 39668573
This does work.

Any idea how to refresh all cells at once?
0
 
LVL 48

Expert Comment

by:Rgonzo1971
ID: 39668597
Hi,

Normally if you select all the cells that you want to update and follow the steps mentioned before just once

it should do it right

Or you can use find and replace  by format choose the format you want to find

Probably Scientific wit 7 decimal places

At replace use Number with 0 decimal places

then click Find all to ensure you've selected the right data then replace all

Regards
0
 
LVL 19

Expert Comment

by:regmigrant
ID: 39668668
Be careful using Number formats for Telephone Numbers as they tend to lose any leading zeros

Reg
0
 
LVL 23

Assisted Solution

by:DanCh99
DanCh99 earned 150 total points
ID: 39675282
I enter a Custom number format like this for phone numbers
00000 000 000
which displays numbers as
01795 123 456

BUT, you enter the number by *skipping* the initial zero, ie the actual cell contents are just
1795123456
 - this means that there is always one less digit in the actual number than is represented by the zeroes in the Format.  This makes it easier for sorting later, vlookups, etc.

Of course, you can vary the gaps in the numbers as you wish.  Or, use dashes, whatever....

if you want to use dots, you have to enclose them in quotes in the Custom number format as otherwise it will interpret them as decimal places.
ie
00000"."000"."000
gives
01795.123.456
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now