[Solved] How to subtract from 1 cell only

Help with installation and general system troubleshooting questions concerning the office suite LibreOffice.
Post Reply
usmdesigner
Posts: 5
Joined: Fri Jan 21, 2022 6:36 pm

[Solved] How to subtract from 1 cell only

Post by usmdesigner »

I have a value in A1.

I want to type in values in A2 through A30. Each value I type in, I want it to subtract from the value in A1. The total where it is calculated would be in A31.

Anyone that can help me figure out what the formula is?
Last edited by usmdesigner on Wed Feb 16, 2022 6:51 pm, edited 1 time in total.
OpenOffice 6.3.3.2 on Windows 10
User avatar
robleyd
Moderator
Posts: 5087
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: How to subtract from 1 cell only

Post by robleyd »

One solution if I understand your question correctly; in A31 put

Code: Select all

=A1-SUM(A2:A30)
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
User avatar
Zizi64
Volunteer
Posts: 11365
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: How to subtract from 1 cell only

Post by Zizi64 »

usmdesigner,

please upload your ODF type sample file here.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
usmdesigner
Posts: 5
Joined: Fri Jan 21, 2022 6:36 pm

Re: How to subtract from 1 cell only

Post by usmdesigner »

robleyd wrote:One solution if I understand your question correctly; in A31 put

Code: Select all

=A1-SUM(A2:A30)
Thanks! This worked perfectly!
OpenOffice 6.3.3.2 on Windows 10
Post Reply