Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Can I reduce (101.25) to only what's *right* of decimal? (25)
Can I reduce (101.25) to only what's *right* of decimal? (25)
Is there a function or a series of steps to accomplish this within an excel spreadsheet? |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Can I reduce (101.25) to only what's *right* of decimal? (25)
hi
=MOD(A1,1) this will get you what is right of the decimal which is .25. however your example was 25 so just multiply by 100. =MOD(A1,1)*100 adjust cell reference to suit. regards FSt1 "jay45940" wrote: Can I reduce (101.25) to only what's *right* of decimal? (25) Is there a function or a series of steps to accomplish this within an excel spreadsheet? |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Can I reduce (101.25) to only what's *right* of decimal? (25)
FSt1 wrote...
hi =MOD(A1,1) this will get you what is right of the decimal which is .25. however your example was 25 so just multiply by 100. =MOD(A1,1)*100 .... Probably OK, but MOD will fail when A1 2^29. Safer to use =A1-TRUNC(A1) or =SUBSTITUTE(A1-TRUNC(A1),"0.","") The latter returns a text string which would retain leading zeros. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How can I convert decimal commas to decimal points? | Excel Discussion (Misc queries) | |||
Subtracting two 2-decimal place numbers gives result 13-decimal places? | Excel Worksheet Functions | |||
Batch converting CSV files from comma-decimal to period-decimal | Excel Discussion (Misc queries) | |||
Converting 2-place decimal value to floating point decimal number with leading zero | Excel Discussion (Misc queries) | |||
FIXED 2 DECIMAL PLACES, MUST ENTER ALL ZEROES AFTER DECIMAL POINT. | Excel Discussion (Misc queries) |