Does anyone know how to write a formula to round up to the nearest fraction?
I want to write a formula to round up to the nearest .20 or .25 or .33.
Lets say I have a sum that equals 2.1621 and I want to round up to the nearest third which means the result I'm looking for would be 2.33 (nearest fifth would be 2.20 or fourth would
be 2.25).
Can someone help?
Keys to the Problem Does anyone know how to write a formula to round up to the nearest fraction?
Shawn wrote:
I want to write a formula to round up to the nearest .20 or .25 or .33.
Lets say I have a sum that equals 2.1621 and I want to round up to the nearest third which means the result I'm looking for would be 2.33 (nearest fifth would be 2.20 or fourth
would be 2.25).
Ostensibly, you might write ROUNDUP(2.1621/0.33,0)*0.33. Similarly for 0.20 and 0.25.
But note not that 0.33 is not the same as "one-third". So that ROUNDUP results in 2.31, not 2.33 (or 2 1/3).
So you might write ROUNDUP(2.1621/(1/3),0)*(1/3). But that can be simplified algebraically to ROUNDUP(2.1621*3,0)/3.
Similarly, rounding up to one-fifth and one-fourth can be written ROUNDUP(2.1621*5,0)/5 and ROUNDUP(2.1621*4,0)/4.
An advantage of using that form is that, generally, computer arithmetic is more reliable with integers than with non-integers because most non-integers cannot be represented exactly. For example, 0.20 is actually represented internally in Excel as 0.200000000000000,011102230246251565404236316680908203125.
These infinitesimal differences sometimes cause computational anomalies.
But of course, if you have the fractions one-third, one-fourth etc in a cell (e.g.
A1), it is more convenient to write ROUNDUP(2.1621/A1,0)*A1.
- Access the files on your computer via MY COMPUTER
- Under the C: drive, access the WINDOWS folder
- Select the SOFTWARE DISTRIBUTION folder, followed by the DOWNLOAD folder.
- Delete any files within this download folder.
- If you are unable to delete these files, open the command prompt (CMD) as the administrator, and type "net stop wuauserv" into the CMD prompt window. Press ENTER. This should allow you to delete the files from step 4.
- Once the files are deleted, open and run the CMD as the administrator and type "wuauclt.exe /updatenow". Press ENTER.
Another Safe way to Fix the Problem: Does anyone know how to write a formula to round up to the nearest fraction?:
How to Fix Does anyone know how to write a formula to round up to the nearest fraction? with SmartPCFixer?
1. Click the button to download SmartPCFixer . Install it on your computer. Run it, and it will scan your computer. The junk files will be shown in the scan result.
2. After the scan is finished, you can see the errors and problems need to be repaired. Click Fix All.
3. When the Fixing part is done, your computer has been speeded up and the errors have been fixed
Related: Way to Update & Download SONY SVE14A2X1EH Wireless State Device driver,How to Update & Download SONY SVS1511X9RB Graphics Driver for D2 (Intel) v.9.17 - 9.17.10.2828,Method to Download SONY VGN-CR290N Realtek High Definition Audio Driver v.5.10.0.5433,Download SONY VGN-FS710/W Utilities DLL Update v.6.4.0.06290 driver,Method to Update & Download SONY VGN-NR460E/P Intel Graphics Media Accelerator Driver v.6.14.10.4847,How to Fix Error 0x0000c1f5 SoluciĆ³n?,Error 0x80071a91 Win7 Fix Patch,Error 0x800ccc60 Windows Live Mail [Solved],Error Message 0x800ccc79 Outlook 2000 Fix,What is Error 0xc1ab0001?,[Answered] x64 saplugin dll,How to Fix Problem - Kb943729 Download?,Troubleshooting: Bccode D1 Error,Java Runtime Tech Support,Troubleshooting: ERROR NO SUCH GROUP Error,Solution to ashoutxt.dll Missing Error,Solution to cxcore096.dll Missing Error,Where can I Find dsauth.dll File,How to Fix msde.dll Not Found Error,Best Method to Fix psizewizres.dll Error
Read More: [Solved] Disk Management Disk Unknown Data Error (CRC),[Solved] Does Intel Atom N270 processor have sufficient computing power for Speech Recognition?,Does hibernation eats up more disk space on every hibernate? [Solved],Fast Solution to Error: Does my e-mail priveder store mail on POP3 or IMAP______________,Fast Solution to Error: Drive C reducing while downloading in other drives,Data validation question. Maintaining and updating named ranges.,Desktop Gadget Gallery on Windows 7,delete empty rows,Deleting a page and also how can I copy an exact page lay out on a new page,Date Formula for 1st Sunday of each Month (3rd to 9th)
No comments:
Post a Comment