Solved

How to change 2 decimal by default is excel ?

Posted on 2014-09-08
5
155 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
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 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…

776 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