Question

My csv file will not save with 2 decimals keeping the sum out of balance when I save and go back in to upload the GL. Ho...

My csv file will not save with 2 decimals keeping the sum out of balance when I save and go back in to upload the GL. How do I fix this? when I format it, all the sum is zero, when I go back it's weird sum.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The CSV file is a plain text file that has comma-separated values with the first line containing the headers.

For example, consider below CSV content:

StudentID, Name, Age, Points
1, John Smith, 22, 3.5
2, Maria Joseph, 21, 4.9
3, Steve Warner, 32, 7.8

It can't store any text format or any formulae.

When we would open in any MS Excel, it would appear as:

A C 1 StudentID Name Age Points 1 John Smith 2 22 3.5 2 Maria Joseph 3 21 4.9 4 3 Steve Warner 32 7.8 LO

MS Excel has the functionality to add format and formula. Suppose, we formatted the header to bold and put a cell below Points to have the sum of all columns. It would appear as below:

A B C D 1 StudentID Name Points Age 2 1 John Smith 22 3.5 2 Maria Joseph 4.9 21 4 3 Steve Warner 32 7.8 5 16.2 CO LC

But when we try to save it, it gives us the below warning:

Microsoft Excel X Some features in your workbook might be lost if you save it as CSV (Comma delimited) i Do you want to keep

If we keep that format, it would ask to save it in a different format other than CSV, it won't save the formula and text format in CSV file. If we don't wish to keep the features of the workbook, it will get saved as CSV and we will lose all the formatting and formula.

Hence, CSV file can't store formats and formula as it is a plain text file having comma-separated values. If you want to keep the formatting and formula, you need to save it in different formats like .xls or .xlsx.

I hope, this answers your question. If you have any queries, let me know.

Thanks!

Add a comment
Know the answer?
Add Answer to:
My csv file will not save with 2 decimals keeping the sum out of balance when I save and go back in to upload the GL. Ho...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • --------__--------__Python--------__--------__ You will be reading in the data from the file SalesJan2009.csv. When you do, you...

    --------__--------__Python--------__--------__ You will be reading in the data from the file SalesJan2009.csv. When you do, you need to save all the items from the PRICE field into a list called amtCollected. After you get them all in that list, you will need to create a variable called total that holds the sum of all the numbers in the list. Then create a variable called avg that holds the average of the numbers in the list. Now, print the following strings:...

  • Please help me with my discussion board. What do people feel like when they are out of balance i...

    please help me with my discussion board. What do people feel like when they are out of balance in their lives, and how does following God’s will bring them back into “homeostatic balance”?

  • I am having trouble figuring out what should go in the place of "number" to make...

    I am having trouble figuring out what should go in the place of "number" to make the loop stop as soon as they enter the value they put in for the "count" input. I am also having trouble nesting a do while loop into the original while loop (if that is even what I am supposed to do to get the program to keep going if the user wants to enter more numbers???) I have inserted the question below, as...

  • Use the csv file on spotify from any date Code from lab2 import java.io.File; import java.io.FileNotFoundException;...

    Use the csv file on spotify from any date Code from lab2 import java.io.File; import java.io.FileNotFoundException; import java.io.PrintWriter; import java.util.Arrays; import java.util.Scanner; public class SongsReport {    public static void main(String[] args) {               //loading name of file        File file = new File("songs.csv"); //reading data from this file        //scanner to read java file        Scanner reader;        //line to get current line from the file        String line="";       ...

  • How do I correct this error in my code? When it got to the file type...

    How do I correct this error in my code? When it got to the file type I can only go "null" from a certain point and I'm wondering how to correct this error. Also can I get a word document on this coding strategy for this problem? How much of this am I doing correctly? The original problem description: Create a program that provides a listing of all the files in a directory. The program should be a Java application...

  • Patient: I have blood in my urine. nurse: Do you feel pain when you urinate? patient:...

    Patient: I have blood in my urine. nurse: Do you feel pain when you urinate? patient: yes nurse: Does the urine has an extremely strong smell? Do you feel pain in your back, side, or groin? what is your temperature? Do you have a loss of appetite? Is your urine cloudy? Patient: I have pain in my back and down both legs. I couldn't tell if my urine was cloudy, I just saw blood and got upset. I'm not hungry....

  • Sample of CSV file tweet tweet_id airline_sentiment airline 567591480085463000 negative United 567588278875213000 neutral Delta 567590027375702000 negative...

    Sample of CSV file tweet tweet_id airline_sentiment airline 567591480085463000 negative United 567588278875213000 neutral Delta 567590027375702000 negative Delta 5 567592368451248000 negative United 6 567594449874587000 negative Southwest United United United @united yes. We waited in line for almost an hour to do so. Some passengers just left not wanting to wait past 1am. @JetBlue's new CEO seeks the right balance to please passengers and Wall ... - Greenfield Daily Reporter http://t.co/LM3opxkxch @JetBlue is REALLY getting on my nerves !! YOY#nothappy @united the...

  • In trying to apply my knowledge in the real world, I am trying to create a...

    In trying to apply my knowledge in the real world, I am trying to create a realistic retirement schedule. However, I am running into difficulties using both a financial calculator as well as our equations from class in doing this. I am trying to do the following: plan a retirement schedule between the ages of 25 and 70, in which I would deposit 20% of my income each year. The income starts at 80,000 with an annual growth rate of...

  • im writing a c++ code and getting stuck on two parts. The first part, when I...

    im writing a c++ code and getting stuck on two parts. The first part, when I go to write the customer order out to the file, it writes everything but the price out right. I'll get a weird number like 5.95828e-039 or nan. When I printout to the console it works fine so not sure what's wrong. Second After I write the order out to the file, I then have to go in and read the file and calculate the...

  • I need help with my coding for C++! The goal of this is to calculate the...

    I need help with my coding for C++! The goal of this is to calculate the total cost of a product by combining the products price and the amount of tax, then display it to the user. The numbers we have to test out is 100 for the price and 8.25 for the percentage. When I test is out, the formula works but it isn't rounding the 108.25 to 108.3, which is the total price we are supposed to display...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT