Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


2012/3/3 Tom Davies <tomdavies04@yahoo.co.uk>:
Hi :)
Ahah, now i see the original question it makes more sense! :)  If A1 is going to contain a normal 
number and A2 a percentage then a 3rd cell such as A3 would be the best place for the answer.  It 
keeps the original number unchanged so that you can check the result.

In A3 type in the formula given earlier
=A1+(A1*A2/100)

This assumes the number in A2 is just written as a number without having the % mark after it.  
There is an inconsistency in that if you type in the number and then
Format - Cell - General - Percentage
then the number would be shown as 290%.  However if you format the relevant cells in advance, in 
the same way, and then type in the number 2.9 then it shows as 2.9%.  Also if you don't bother 
with any formatting and just use the % key on your keyboard to type in 2.9% then it is shown as 
2.9% in the cell and is treated as a number.  So, obviously it is wise to do a test-run first to 
see if you get the result you expect.

Oh man, you just made a very simple thing like percent to look very complicated…
It's very easy, most of us learned about it at the age of something
like ten, maybe earlier in some other countries, I don't know.
Just type 100 into A1, then 2.9% into A2 (LibreOffice Calc will
automatically convert it to 2.9/100 for you, but it still shows up as
”2.9%”, which is the same thing anyway), and finally =A1*(1+A2) in A3
and you'll get 102.9 as a result in A3, simple as that.

If you want it to be even more obvious what's going on, enter
=A1*(100%+A2) in A3. 100% will automatically be changed to 1, though,
so you'll get the same =A1*(1+A2) anyway.


Kind regards

Johnny Rosenberg
ジョニー・ローゼンバーグ


A percentage is really just a number "over" or "divided by" 100 of course.  So 2.9% is really 
2.9/100 which is obviously 0.029.  Typing in 0.029 can cause further confusion of course. lol

Regards from
Tom :)


--- On Fri, 2/3/12, PDA1 <peace@aleksandrsolzhenitsyn.net> wrote:

From: PDA1 <peace@aleksandrsolzhenitsyn.net>
Subject: [libreoffice-users] How do add percentage in Calc?
To: users@global.libreoffice.org
Date: Friday, 2 March, 2012,
 21:59

I have no idea how to add a percentage to a number in Calc.

Example;

Cell A1 has the number 100

Cell A2 has a percentage- 2.9%

I want to add 2.9% to the number in A1 so that the answer is in cell A1.
That is- 100  +2.9%
(just for your reference- the percentage in A2 is always changing from my
input)

How in the world do I do it?






--
View this message in context: 
http://nabble.documentfoundation.org/How-do-add-percentage-in-Calc-tp3794847p3794847.html
Sent from the Users mailing list archive at Nabble.com.

--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


-- 
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.