Solved

How to change 2 decimal by default is excel ?

Posted on 2014-09-08
5
154 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:Ingeborg Hawighorst
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:Ingeborg Hawighorst
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:
Ingeborg Hawighorst 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

863 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

25 Experts available now in Live!

Get 1:1 Help Now