Solved

How to change 2 decimal by default is excel ?

Posted on 2014-09-08
5
152 Views
Last Modified: 2014-09-09
i have the CSV file with this following value

-99.80
-188.00
-16.50
19.00

But when I open this file in excel it is showing only one decimal places like this
-99.8  (One decimal )
-188   (No decimal )
-16.5   (No decimal )
18  (No decimal


In the advances option I have selected the check box "Automatically Insert a decimal place"  and the number of decimal places is 2.
But I need two decimal places irrespective of any number , how do I change this in excel ? if open any excel sheet it should show 2 decimal place by default.
0
Comment
Question by:Varshini S
  • 3
  • 2
5 Comments
 
LVL 50

Expert Comment

by:teylyn
ID: 40310826
Hello,

the option to "Automatically insert a decimal place" will apply when a number is manually entered. It will not format an existing number when a file is opened.

If you want two decimal places with all your Excel file, open a new, empty workbook, select all cells and format them with two decimals. Then save this file as an XLTX (template) and use it to create new files. You can also save it as Book1.XLTX in the Excel template path (where exactly that is depends on your operating system and version) and new files will be created from this template automatically.

With all existing files you will need to format the cells manually once, then save.

cheers, teylyn
0
 

Author Comment

by:Varshini S
ID: 40311153
I am using office 365 . I could not open the XLTX file in this version.
0
 
LVL 50

Expert Comment

by:teylyn
ID: 40311173
Office 365 is a licensing model and sales channel for MS Office. It means you pay a monthly subscription instead of paying once for a license that does not expire. You can license Office with a 365 subscription.

What you are referring to (I think) is Web Excel, or Excel online.  The features of the browser based Excel are only a subset of the desktop Excel. Install Excel on your desktop if you want to use all its features.

If you only use Excel in the browser, you will need to format the cells manually.
0
 

Author Comment

by:Varshini S
ID: 40311182
I am using desktop version. I have the same issue in office 2010
0
 
LVL 50

Accepted Solution

by:
teylyn earned 500 total points
ID: 40311220
So what do you mean by "I am using office 365 . I could not open the XLTX file in this version." Please understand that I cannot see your screen. You need to describe what is happening and what you see.  Otherwise I don't know how to help.

When you open a CSV file, Excel will show the numbers in General format. This will show only as many decimals as required for the precision. Trailing zeros will not be shown. You must format the cells manually.

Select all cells by clicking above row 1 and to the left of column A. Then set the format to 2 decimals.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

A2 = A1 That kind of cell reference is relative.  If you copy it from A2 to B2, then B2 will get this: B2 = B1 That's all fine and good, but if you then insert a new row above row 2, you'll find: A3 = A1 B3 = B1 This is intentional. …
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 will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

760 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

17 Experts available now in Live!

Get 1:1 Help Now