Solved

How to change 2 decimal by default is excel ?

Posted on 2014-09-08
5
162 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 50
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
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 (Microsoft MVP / EE MVE) 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This article describes a serious pitfall that can happen when deleting shapes using VBA.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

729 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