[Solved] Add or subtract percentages

Discuss the spreadsheet application
Post Reply
BVCorp
Posts: 5
Joined: Tue Nov 09, 2021 7:10 pm

[Solved] Add or subtract percentages

Post by BVCorp »

How to do percentages in OpenOffice Calc?

Example:

A2 = 10 (random number)
E2 = 15% (fixed percentage)
E3 = 3.5% (fixed percentage)
A5 = Total (What would be the formula?)

A2 (10) + E2 (15%) - C2 (3.5%) = A5 (11.0975)

How would I make formula for E2/E3 for percentages in case I wanted to change it to
E2 = 17%
E3 = 2.98%
Attachments
Formula.jpg
Last edited by BVCorp on Wed Nov 10, 2021 7:53 pm, edited 1 time in total.
OpenOffice 3.1 on Windows 10
FJCC
Moderator
Posts: 9653
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Percentages?

Post by FJCC »

I have set up the attached spreadsheet to do the calculation you describe. You can change the percentages in E2 and E3 to any values an the caluclations will adjust automatically. Is this what you need?
Attachments
Percentages.ods
(9.23 KiB) Downloaded 207 times
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
BVCorp
Posts: 5
Joined: Tue Nov 09, 2021 7:10 pm

Re: Percentages?

Post by BVCorp »

Yes, But now how would I erase B2 using the same the formula?

A2 (10) + E2 (15%) - E3 (3.5%) = C2 (11.0975)

and also how to subtract 2 percentages

A2 (10) - E2 (15%) - E3 (3.5%) = C2 (8.2025)
OpenOffice 3.1 on Windows 10
FJCC
Moderator
Posts: 9653
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Percentages?

Post by FJCC »

You can do the calculation in a single formula with

Code: Select all

=A2+ (A2*E2)+(A2 + (A2*E2))*E3
That could be simplified but that form shows the two steps of the calculation as it was done previously.
If you want a percentage to be subtracted, enter it as a negative number in E2 or E3.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
BVCorp
Posts: 5
Joined: Tue Nov 09, 2021 7:10 pm

Re: Percentages?

Post by BVCorp »

Attached file

But the row 2 line is incorrect

The correct number is 11.0975 but the line shows 11.0925?
Attachments
percentages.ods
(9.07 KiB) Downloaded 150 times
OpenOffice 3.1 on Windows 10
FJCC
Moderator
Posts: 9653
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Percentages?

Post by FJCC »

11.0975 is the result when E2 = 15% and E3 = -3.5%. If E2 = 15% and E3 = 3.5%, the result is 11.9025.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
BVCorp
Posts: 5
Joined: Tue Nov 09, 2021 7:10 pm

Re: Percentages?

Post by BVCorp »

Thank you for your help, Just one more fix the D2 formula to display (D2*A2) (attached file)

A2: 450

D2:
=B2+ (B2*E2)+(B2 + (B2*E2))*F2-B2


100 (B2) + 15% (E2) - 3.5% (F2) - 100 (B2) = 10.975

How to fix D2 to display "4938.75" instead of "10.975"

10.975 x 450 = 4938.75
Attachments
Calc.ods
(9.9 KiB) Downloaded 152 times
OpenOffice 3.1 on Windows 10
FJCC
Moderator
Posts: 9653
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Percentages?

Post by FJCC »

D2 should be

Code: Select all

=(B2+ (B2*E2)+(B2 + (B2*E2))*F2-B2)*A2
You may have to make the column wider to display the result becasue D2 is formatted to display many digits.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
Post Reply