Solved

EXCEL - Zero filling

Posted on 2016-09-27
5
68 Views
Last Modified: 2016-09-30
Can someone show me how I can zero fill an excel column.  I need the decimal value to be zero filled so it is always 3 bytes long.

ColumnA                 Zero filled

4.5                     ---->  4.500
4                       -----> 4.000
4.51                  -----> 4.510
4.560               ------> 4.560
4.000               ------> 4.000
0
Comment
Question by:tmajor99
  • 3
5 Comments
 
LVL 33

Expert Comment

by:Rob Henson
ID: 41817916
Simply apply formatting to increase the number of decimal places. On the Home Ribbon in the Number group.
0
 
LVL 50

Expert Comment

by:Rgonzo1971
ID: 41817919
Hi
select the numbers

Goto
Home / Number / Increase decimal Button
<-.0
.00
click 3 times

Regards
0
 
LVL 33

Expert Comment

by:Rob Henson
ID: 41817924
As per both comments, screen shot below:
Decimal Places
If these values are needed for subsequent export to a system that needs the full value, use the following formula:

=TEXT(A1,"0.000")  then copy and paste values over the original to replace.
0
 
LVL 7

Accepted Solution

by:
D Patel earned 500 total points
ID: 41819116
Select the Column for which you wanted to format numbers
Select Data Column
Next Choose the More Number Formats..... in the Number Group portion in ribbon. (or you can open Format Cells window)
More Number Formats...
Now from the Number tab choose Custom in the left pane.
Custom
Go to the Type text box and enter it as "0.000"

Now you will see the result which you wanted.
Result
Enjoy...!
0
 
LVL 33

Expert Comment

by:Rob Henson
ID: 41823067
Not even assistance points for Rgonzo and me??? We gave the same solution just a different route to applying it.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

749 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