Forum Discussion
Reboot
Oct 22, 2019Copper Contributor
Decimal Places Difficulty
Hi As can be seen in the attachment, I have the display set to currency and to two decimal places but the values show as .00 instead, such as 10/3 should read 3.33 but displays 3.00. So, how can ...
- Oct 23, 2019Hi
So per the screenshot you would type
=F55/G55
Reboot
Oct 23, 2019Copper Contributor
OK, thanks.
I am just a basic user of Excel and used quotient because it's the first one I came across that would divide one number into another.
So, is there a function I can use in currency that will include the decimal portion?
Thanks.
R
I am just a basic user of Excel and used quotient because it's the first one I came across that would divide one number into another.
So, is there a function I can use in currency that will include the decimal portion?
Thanks.
R
mathetes
Oct 23, 2019Silver Contributor
The exchange between you and Wyn Hopkins points up a real irony here. You describe yourself as a basic user of Excel, yet you were assuming that there had to be a "fancy" solution to the division of one number by another. In fact, at the most basic level you've got all of the basic arithmetic functions we learned in primary school:
ADDITION by =A1+B1
SUBTRACTION by =A1-B1
MULTIPLICATION by =A1*B1 (granted, in primary school we used "x")
DIVISION by =A1/B1
Now, because it's very common to add a whole series of numbers, usually in a column, they've included a fairly basic function called SUM, as in =SUM(A1:Z1)
Anyway, I'm writing just to say, Excel has a lot of power, a LOT, but as you've discovered, it can backfire if you don't take the time to actually read a little bit. When you get a result that doesn't make sense--as you were--go back and look at the description (use the "Help" menu and search for the name of the function used)....
To make you feel better here, I've been using Excel since (in a sense) before it existed. I began programming on mainframes in the early '70s, moved quickly to PCs when they became available, used in succession, Lotus 1-2-3, Quattro (few remember it), and then Excel in all its generations. BUT, here's where you can find some relief, until your question was posted here, I'd never heard of the QUOTIENT function (it's relatively new). So thank you for adding to my knowledge of Excel.
ADDITION by =A1+B1
SUBTRACTION by =A1-B1
MULTIPLICATION by =A1*B1 (granted, in primary school we used "x")
DIVISION by =A1/B1
Now, because it's very common to add a whole series of numbers, usually in a column, they've included a fairly basic function called SUM, as in =SUM(A1:Z1)
Anyway, I'm writing just to say, Excel has a lot of power, a LOT, but as you've discovered, it can backfire if you don't take the time to actually read a little bit. When you get a result that doesn't make sense--as you were--go back and look at the description (use the "Help" menu and search for the name of the function used)....
To make you feel better here, I've been using Excel since (in a sense) before it existed. I began programming on mainframes in the early '70s, moved quickly to PCs when they became available, used in succession, Lotus 1-2-3, Quattro (few remember it), and then Excel in all its generations. BUT, here's where you can find some relief, until your question was posted here, I'd never heard of the QUOTIENT function (it's relatively new). So thank you for adding to my knowledge of Excel.
- PeterBartholomew1Oct 25, 2019Silver Contributor
'Relatively new' is, by definition, a relative term! I found a list of functions that indicates that QUOTIENT existed and was not newly introduced in 2010. Like you, I only came across the function much later and it took a while to realise that it performs an integer divide. Now it is a regular part of my repertoire used to unpivot crosstab tables and arrays. Used with a base 1 index k, the formulas
= 1 + QUOTIENT( k-1, n )
= 1 + MOD( k-1, n )
provide row and column indices for the 2D lookup.