Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Decimal places and subtracting
I have a payroll spreadsheet. In the first cell I have gross pay. The next
cell FICA tax with a formula that takes gross pay times .062. I have that rounded to two decimal places. After the other cells for deductions, I have a net pay cell that subtracts all the cells from gross pay. The problem is that Excel is subtracting the actual answer in the cells that have a formula, not the dollar amount that shows. For example, if the FICA is 84.56584, it shows as $84.57 in the cell. But the net pay cell subtracts 84.56584. The end result is that since I have two of these formula cells, one for FICA and one for Medicare, net pay is sometimes off by a penny. I go through and check the math each time. Is there any way I can get around this? |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Decimal places and subtracting
Changing the decimals with formatting alters only what is DISPLAYED not what
is STORED in the cell. Rather than =B5*0.062 use =ROUND(B5*0.062,2) to get a stored value rounded to 2 decimal places There is an alternative way in which Excel is configured to use the displayed values as the stored values but many Excel experts warn against using it. best wishes -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "bjscheel" wrote in message ... I have a payroll spreadsheet. In the first cell I have gross pay. The next cell FICA tax with a formula that takes gross pay times .062. I have that rounded to two decimal places. After the other cells for deductions, I have a net pay cell that subtracts all the cells from gross pay. The problem is that Excel is subtracting the actual answer in the cells that have a formula, not the dollar amount that shows. For example, if the FICA is 84.56584, it shows as $84.57 in the cell. But the net pay cell subtracts 84.56584. The end result is that since I have two of these formula cells, one for FICA and one for Medicare, net pay is sometimes off by a penny. I go through and check the math each time. Is there any way I can get around this? |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Decimal places and subtracting
Terrific! Thanks for the fast reply!
"Bernard Liengme" wrote: Changing the decimals with formatting alters only what is DISPLAYED not what is STORED in the cell. Rather than =B5*0.062 use =ROUND(B5*0.062,2) to get a stored value rounded to 2 decimal places There is an alternative way in which Excel is configured to use the displayed values as the stored values but many Excel experts warn against using it. best wishes -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "bjscheel" wrote in message ... I have a payroll spreadsheet. In the first cell I have gross pay. The next cell FICA tax with a formula that takes gross pay times .062. I have that rounded to two decimal places. After the other cells for deductions, I have a net pay cell that subtracts all the cells from gross pay. The problem is that Excel is subtracting the actual answer in the cells that have a formula, not the dollar amount that shows. For example, if the FICA is 84.56584, it shows as $84.57 in the cell. But the net pay cell subtracts 84.56584. The end result is that since I have two of these formula cells, one for FICA and one for Medicare, net pay is sometimes off by a penny. I go through and check the math each time. Is there any way I can get around this? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
trouble with subtracting cells and adding text... | Excel Discussion (Misc queries) | |||
accounting format for zero show 0.00 in one cell "-" in another | Excel Discussion (Misc queries) | |||
Subtracting decimals | Excel Discussion (Misc queries) |