Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

excel spreadsheet question

Status
Not open for further replies.

jsty

Technical User
Joined
Jan 7, 2005
Messages
65
Location
US
Have a collumn of numbers, with cells formated as text.

Is there a way to edit many cells at once ? I want to add 00 in front of the value in many cells. I've tried using the replace command to no avail.


Example:

1000
1050
1191
1222
1234
1590
1999

change to 001000, 001050, 001191, etc.
 
It sounds like you want everything to be forced to 6 figures. If that's what you want to do:
[ul][li]Highlight the entire column[/li]
[li]right click anywhere in the column[/li]
[li]select Format cells[/li]
[li]he right box, select Custom (at the bottom)[/li]
[li]he field at the top right, type in 000000[/li]
[li]k OK[/li][/ul]
Now all cells in the column will be forced to 6 digits, adding leading zeros if needed.



[tt]_____
[blue]-John[/blue]
[/tt][red]"If you're flammable and have legs, you are never blocking a fire exit."[/red] R.I.P Mitch Hedberg

Help us help you. Please read FAQ181-2886 before posting.
 
- select the cells to change
- right click ---> format cells
- choose custom and create format as follows : 00####
( with as many # as the longest number)
And you are in business
 
Great ! Thats it brother
 

jsty,

Just a thought, my friend, but how about casting a few Stars about?

Seriously, the wizards here who help folks like you and me are not being paid to help us, they do it out of altruism, etc. The only way you and I can Thank them is to click on the link in the lower left corner of any post, the one that says "Thank So-n-So for this Valuable Post."

Hope you'll use it. Also, welcome to Tek-Tips. It's a cool place.

Tim




[blue]_____________________________________________________
If you need immediate assistance, please raise your hand.
If you are outside of Raleigh, raise your hand and say
[/blue] [red]Ooh! Ooh![/red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top