![]() |
calculations in MS excel
I think my first post failed; so i'm re-posting...sorry for cross posings...
Im working on a spreadsheet where I want Column E to be 1/5th of the dollar value in Column D. So far Ive had to enter =MOD(Dx,5) for each D cell (ie €śx€ť) value. This works for some of the values, yet others auto-calculate wrong. I.e. when I typed in $15.31 in cell D17, it showed $0.31 in E17; and $25.00 auto-calculated as $-. Yet it seems to work correctly for 12.41 and 12.50 values. The cells have been formatted to €ścurrency€ť. Can anybody tell me what Im doing wrong and how to correct this problem? Is there a way to format the entire column to reflect 1/5 of the previous columns value so I dont have to retype the formula in every column E cell? A BIG thanks to anyone who can help! |
calculations in MS excel
Hi MiniReefKeeper,
You are using the wrong formula. MOD(15.31,5) = 0.31 is correct for that formula. The MOD formula gives the REMAINDER after 15.31 is divided by 5. 15.31/5 = 3 remainder 0.31 To get one fifth of each column D value into the corresponding column E cell.. 1. Type this into E2.... =D2/5 2. Now, when you move the cursor (fat cross) so that it is positioned directly over cell E2's bottom right-hand corner you should see it turn into a skinny cross. When you see the cursor change double-click and you should see the formula automatically fill column E with the correct formula down to the row with the last column D value. Ken Johnson |
calculations in MS excel
His earlier post seems to have shown up with title of "MS excel incorrect
autocalc?" and has a couple of other replies in it also. "Ken Johnson" wrote: Hi MiniReefKeeper, You are using the wrong formula. MOD(15.31,5) = 0.31 is correct for that formula. The MOD formula gives the REMAINDER after 15.31 is divided by 5. 15.31/5 = 3 remainder 0.31 To get one fifth of each column D value into the corresponding column E cell.. 1. Type this into E2.... =D2/5 2. Now, when you move the cursor (fat cross) so that it is positioned directly over cell E2's bottom right-hand corner you should see it turn into a skinny cross. When you see the cursor change double-click and you should see the formula automatically fill column E with the correct formula down to the row with the last column D value. Ken Johnson |
calculations in MS excel
Thanks Ken! You just made my life alot easier! Cheers.
"Ken Johnson" wrote: Hi MiniReefKeeper, You are using the wrong formula. MOD(15.31,5) = 0.31 is correct for that formula. The MOD formula gives the REMAINDER after 15.31 is divided by 5. 15.31/5 = 3 remainder 0.31 To get one fifth of each column D value into the corresponding column E cell.. 1. Type this into E2.... =D2/5 2. Now, when you move the cursor (fat cross) so that it is positioned directly over cell E2's bottom right-hand corner you should see it turn into a skinny cross. When you see the cursor change double-click and you should see the formula automatically fill column E with the correct formula down to the row with the last column D value. Ken Johnson |
calculations in MS excel
Hi MiniReefKeeper, You're welcome, thanks for the feedback. Ken Johnson |
All times are GMT +1. The time now is 05:38 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com