Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have two types of data on which to perform multiplication:
Type 1: C D E 1.175 * 975 = 1145.625 where 1145.625 rounds to 1145.63 and if 1145.626 then round to 1145.63, but if 1145.624 then round to 1145.62 Type 2: 44.44 * 12.5% = 5.555 where 5.555 rounds to 5.56 and if 5.556 then round to 5.56, but if 5.554 then round to 5.55 Each calculated decimal place is included in the rounding, thus 1.23456789 would round to 1.24 but 1.23356789 would round to 1.23 I can differentiate between the 2 types of data. How can I use code to get the values in col E, please? Secondly, a SUM formula currently totals col E. If I permit a user to enter a value in col E (say in a row where code had not operated), then that new value is reflected in the new Summed cell. Can I ensure that the Summed cell is also rounding along the same lines? It does not matter that the user's entry might exceed 2 decimal places, just that the summed value is 'corrected'. Any help would be much appreciated. Thanks. Regards. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.655 / Virus Database: 420 - Release Date: 08/04/2004 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ROUNDING FORMULA =ROUND(B12/$B$10,1) ROUNDING TO HIGH | Excel Worksheet Functions | |||
I need a formula with rounding up & rounding down to the nearest . | Excel Worksheet Functions | |||
2 questions - Creating a TimeBomb - Securing Code | Excel Programming | |||
Urgent questions regarding the code below | Excel Programming | |||
Two Questions about the Following Block of Code | Excel Programming |