[Solved] Two separate functions in a cell

Discuss the spreadsheet application
Locked
Pinkmen
Posts: 16
Joined: Fri Sep 06, 2024 4:11 am

[Solved] Two separate functions in a cell

Post by Pinkmen »

Hello Calc users! I have a hectic problem but it seems fairly simple, I just don't know the language we are using here lol.

All I want to accomplish is to run a "=sumproduct" and after that subtract a value from another box. My code looks like this currently.
=Sumproduct();-A2. However it gives me the error:509.

I have also tried =sumproduct()&-a2
But that ends up saying "x - a2." I would like to search around for this problem, but i have no idea what this is even called in english.


Well I hope there is an actual solution to this! Hope yall the best day today!
Last edited by floris v on Fri Sep 20, 2024 9:53 pm, edited 2 times in total.
OpenOffice 3.1 on Windows 10
User avatar
floris v
Volunteer
Posts: 4635
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Re: Two seperate functions in a box?

Post by floris v »

If you want the difference of those two, you should use =Sumproduct()-A2 instead. That will give you a single value.
LibreOffice 25.8.4.2 on Ubuntu Linux
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
Pinkmen
Posts: 16
Joined: Fri Sep 06, 2024 4:11 am

Re: Two seperate functions in a box?

Post by Pinkmen »

Thank you!!
OpenOffice 3.1 on Windows 10
Locked