Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
when working out the answer to 111111111111 X 111111111111 in excel the
answer ends in 0 but it should end in 1 we have played with lots of combinations of 1111 X 1111 sums and it seems to go wrong when you get to 111111111 X 111111111 Anyone got any ideas? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Because Excel will only go to 15 significant places.
After the 15th place it will start substituting zeros. Gord Dibben MS Excel MVP On Thu, 15 Mar 2007 14:49:13 -0700, soomat wrote: when working out the answer to 111111111111 X 111111111111 in excel the answer ends in 0 but it should end in 1 we have played with lots of combinations of 1111 X 1111 sums and it seems to go wrong when you get to 111111111 X 111111111 Anyone got any ideas? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm just stabbing in the dark here, but are you using new math? 1x1 is 1,
11x11 is 121... how do you get 1 from 111111111111 X 111111111111 ?? "soomat" wrote: when working out the answer to 111111111111 X 111111111111 in excel the answer ends in 0 but it should end in 1 we have played with lots of combinations of 1111 X 1111 sums and it seems to go wrong when you get to 111111111 X 111111111 Anyone got any ideas? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
END in 1
"Wood Grafing" wrote in message ... I'm just stabbing in the dark here, but are you using new math? 1x1 is 1, 11x11 is 121... how do you get 1 from 111111111111 X 111111111111 ?? "soomat" wrote: when working out the answer to 111111111111 X 111111111111 in excel the answer ends in 0 but it should end in 1 we have played with lots of combinations of 1111 X 1111 sums and it seems to go wrong when you get to 111111111 X 111111111 Anyone got any ideas? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Excel only accomodates 15 significant digits. Everything after the 15th
number is converted to 0. You might look at VBA for some help to get the answer. Copy/Paste the function into a general module, then enter =MyProduct(A1,A1) where A1 = 111111111111. The answer is text-which is the only way to see the digits after 15. Note the decimal data type is limited (for positive numbers) to 79,228,162,514,264,337,593,543,950,335 Option Explicit Function MyProduct(dbl1, dbl2) As String Dim dec1 As Variant Dim dec2 As Variant Dim dec3 As Variant dec1 = CDec(dbl1) dec2 = CDec(dbl2) dec3 = dec1 * dec2 MyProduct = CStr(dec3) End Function "soomat" wrote: when working out the answer to 111111111111 X 111111111111 in excel the answer ends in 0 but it should end in 1 we have played with lots of combinations of 1111 X 1111 sums and it seems to go wrong when you get to 111111111 X 111111111 Anyone got any ideas? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|