Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
dec 2 bin conversion
I need to calculate the binary conversion of numbers 511. Is there any
option for it as I am getting a #NUM error whenever i try to calculate that. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
dec 2 bin conversion
Hi,
Dec2bin runs out of steam at 511 try this for larger No's =DEC2BIN((MOD(A1,4294967296)/16777216),8) & DEC2BIN(MOD(A1,16777216)/65536,8) & DEC2BIN(MOD(A1,65536)/256,8) & DEC2BIN(MOD(A1,256),8) Mike "sai" wrote: I need to calculate the binary conversion of numbers 511. Is there any option for it as I am getting a #NUM error whenever i try to calculate that. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
dec 2 bin conversion
Excel Help tells you that the range of numbers that can be used is
limited to -512 up to +511, as a maximum of 10 places is available for output (2^10 = 1024). If you need to show more places then you could split the number by repeated division by, say, 256, and combine the output strings together, or you could use a UDF to do the conversion. Hope this helps. Pete On Oct 29, 6:52*pm, sai wrote: I need to calculate the binary conversion of numbers 511. Is there any option for it as I am getting a #NUM error whenever i try to calculate that. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Conversion to value between 1 to 10 only! | New Users to Excel | |||
Conversion | Excel Worksheet Functions | |||
conversion help | Excel Discussion (Misc queries) | |||
PDF CONVERSION | Excel Discussion (Misc queries) | |||
Conversion | Excel Worksheet Functions |