Spreadsheet help (LibreOffice Calc)


Recommended Posts

I have a spreadsheet with one column of just dollar amounts, and I simply want to total it, but when I use the SUM function, it comes back as 0 despite how I input it. I am using LibreOffice Calc, since I have no desire to pay for MS Office, can anyone help me out?

Link to comment
https://www.neowin.net/forum/topic/1414232-spreadsheet-help-libreoffice-calc/
Share on other sites

SUM should still work with money formatted cells as long as you are not adding the "$" manually as that would make it a string instead of a number value.

As a side note, may want to update the title from Excel help to Calc Help or LibreOffice Calc help.

  • jnelsoninjax changed the title to Spreadsheet help (LibreOffice Calc)
On 02/01/2022 at 16:02, Jester124 said:

SUM should still work with money formatted cells as long as you are not adding the "$" manually as that would make it a string instead of a number value.

As a side note, may want to update the title from Excel help to Calc Help or LibreOffice Calc help.

I changed the title, you were right about that. The formula I used is =SUM(A1:A165) since there are 165 lines but it still displays 0

On 02/01/2022 at 15:16, jnelsoninjax said:

I changed the title, you were right about that. The formula I used is =SUM(A1:A165) since there are 165 lines but it still displays 0

That is very strange. That is the correct format for SUM and it is weird that you are showing 0 instead. To be safe, remove all formatting on the cells and double check to make sure all values would be numbers. Possibly one may be incorrectly entered?

On 02/01/2022 at 16:23, Jester124 said:

That is very strange. That is the correct format for SUM and it is weird that you are showing 0 instead. To be safe, remove all formatting on the cells and double check to make sure all values would be numbers. Possibly one may be incorrectly entered?

The numbers are copied from another spreadsheet that was in read-only mode, but I don't see anything in the cell except $ and then numbers. I copied the numbers from it and put it on pastebin: https://pastebin.com/GS56KxVC can you try and see if you can get a total?

Last time I did that in LibreOffice it didn't support totaling an entire column infinitely, so you have to specify a range that you know will include all the cells you want.

 

So for example if your desired values are in column B and won't go past 100 rows, you could use this as the formula:

=SUM(B1:B100)
Edited by Gerowen

The data showed both having "$" and "," and were being treated as strings in mine. I removed those and re-pasted the data and it worked.
 

Thy to copy and paste the info in this:
https://pastebin.com/PYPh81Mw

On 02/01/2022 at 16:41, Gerowen said:

Last time I did that in LibreOffice it didn't support totaling an entire column infinitely, so you have to specify a range that you know will include all the cells you want.

 

So for example if your desired values are in column B and won't go past 100 rows, you could use this as the formula:

=SUM(B1:B100)

That was most likely the issue. But it doesn't seem to be, no mater what I limit it to, it still gives me Err:509, but when I take the data and put it in a new column it works, so IDK!

On 02/01/2022 at 18:19, Jester124 said:

The data showed both having "$" and "," and were being treated as strings in mine. I removed those and re-pasted the data and it worked.
 

Thy to copy and paste the info in this:
https://pastebin.com/PYPh81Mw

I took the text and put it a new column and then the formula worked, thanks!

No prob, glad it is working. Easiest way to get that kind of data formatted the way calc can handle it is just make sure all "$"'s and ","'s are removed. The SUM function expects raw numbers with only the "-" for negative and the "." for decimal work.

  • Like 2

  

On 02/01/2022 at 18:37, jnelsoninjax said:

That was most likely the issue. But it doesn't seem to be, no mater what I limit it to, it still gives me Err:509, but when I take the data and put it in a new column it works, so IDK!

I took the text and put it a new column and then the formula worked, thanks!

 

On 02/01/2022 at 18:43, Jester124 said:

No prob, glad it is working. Easiest way to get that kind of data formatted the way calc can handle it is just make sure all "$"'s and ","'s are removed. The SUM function expects raw numbers with only the "-" for negative and the "." for decimal work.

Yep.  Any time I'm working with currencies I just enter them as decimal number values, then "format" the cells to the proper currency format so things like $ are displayed, but they're not actually a part of the string/number value of the cell itself.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Build your own business with a Sellful lifetime plan now at 76% off by Steven Parker Today's deal from our Apps + Software section of the Neowin Deals store, lets you save 76% off Sellful: ERP Agency Plan lifetime deal. AI-Powered Software and Website Builder for Agencies Ever feel like a client’s needs simply can’t be met on a single platform? With Sellful, it’s all here, and all white labeled. Build anything from simple websites to complex workflows to automate your business in a few clicks. Manage everything from email & social media marketing, to payroll & invoicing. It’s got a white label website builder, online shop, CRM, ERP, marketing, memberships, invoicing, appointments, online courses, project manager, and point of sale functions. Sellful is the only white label platform in the world that is truly all in one, combining all aspects of your business in one place no matter the industry. What can you do with Sellful? Automatically generate amazing websites, funnels, & landing pages in seconds using AI Sell physical & digital products online Keep track of customers with native CRM Automate communication & outreach using AI Manage all aspects of your business in one place Collect emails & phone numbers via forms on your website, then send newsletters to customers with important updates, sales, and discounts Build membership programs with various levels of access for your customers Receive payments from your clients using any number of payment gateways including Paypal, Stripe, Authorize.net, Square & more Have your clients book appointments for services & meetings quickly Build powerful & robust online courses to sell to or instruct people Build communities on Sellful social networking sites with activity feeds, private messaging, & groups See & adjust a visual version of everything going on within your client projects Sync your online shop’s inventory with multiple offline store locations & registers Manage inventory, coupons, & sales through Sellful’s native POS app on your computer Manage employee recruitment, time clocks, payroll & leave requests Automate help desk tasks such as support ticket creation Communicate with your team on multiple chat channels Keep an accounting of your income & expenses Automate billing & website creation for your marketing agency What's in the ERP Agency Plan: White Label Unlimited 10 Sites/Sub Accounts Included 100% White Label For Your Brand Or Your Client's Brand Website Builder Sales Funnel Builder Online Shop Automation Builder CRM & Pipeline Management Email Marketing SMS Marketing Reputation Management 2 Way Communication (Email, SMS & Phone) Appointment Scheduler Memberships Subscriptions Forms, Surveys & Polls Client Portal AI Assistant & Chatbot Social Media Automation Legally Binding Contract Signing Project Management System Online Courses (LMS) Invoicing External CRM Connect Class Attendance & Event Booking Restaurant Builder Support Ticket System Team Chat AliExpress Drop Shipping Accounting Advanced Affiliate Program Community Builder Point Of Sale HR Suite (HR, Time Clock, Payroll & ATS) 5000+ App Integrations 20+ Payment Gateways (No Fees From Us) Custom Mobile App Agency Billing System Setup Wizard Builder Content Cloner Tool Digital Marketing Courses Actionable Marketing PDF Guides Unlimited Contacts Per Site/Sub Account Unlimited Pages Per Site/Sub Account Unlimited Blog Posts Per Site/Sub Account Unlimited Users Per Site/Sub Account Unlimited Products Per Site/Sub Account Unlimited Visitors Per Site/Sub Account 100 Gigs Of File Storage 50,000 Free Email Sends* Unlimited Domain Names Per Site/Sub Account *Email sending can be purchased in packs of 10,000 for $10/Month. You can also add your own external sending service to send without limits. Email sends are shared in a pool throughout all websites and email addresses on the account. System emails are always free. Good to know Length of access: lifetime Redemption deadline: redeem your code within 30 days of purchase Updates included Sellful: ERP Agency Plan (Lifetime) normally costs $1,497 but it can be yours for only $349.97, that's a saving of $1,147.03 (76%) off! For terms, and more details click the link below. Get a lifetime plan to Sellful at 76% off (was $1,497) Although priced in U.S. dollars, this deal is available for digital purchase worldwide. Support queries If you have queries or need support for any of the Neowin Deals, please use the contact form here. Neowin Deals are managed and sold by StackCommerce who represent Neowin on an affiliate basis. Why we post these deals We post these because we earn commission on each sale so as not to rely solely on advertising, which many of our readers block. It all helps toward paying staff reporters, servers and hosting costs. So for those that keep moaning and complaining, be thankful we're still online for you to even do that. Other ways to support Neowin Whitelist Neowin by not blocking our ads Create a free member account to see fewer ads Make a donation to support our day to day running costs Subscribe to Neowin - for $14 a year, or $28 a year for an ad-free experience Disclosure: Neowin benefits from revenue of each sale made through our branded deals site powered by StackCommerce.
    • No its not, there are ton of Youtube videos to get you started, what do you think people did before AI existed?
    • Read this in Humor Simpson 's voice, "Out of my way Moe".
  • Recent Achievements

    • One Year In
      B4dM1k3 earned a badge
      One Year In
    • One Year In
      DarkWun earned a badge
      One Year In
    • Dedicated
      Almohandis earned a badge
      Dedicated
    • Dedicated
      JuvenileDelinquent earned a badge
      Dedicated
    • First Post
      DrWankel earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      506
    2. 2
      +Edouard
      181
    3. 3
      PsYcHoKiLLa
      86
    4. 4
      Michael Scrip
      78
    5. 5
      Steven P.
      76
  • Tell a friend

    Love Neowin? Tell a friend!