Share via

Bin

Anonymous
2024-11-07T21:15:50+00:00

111111

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

14 answers

Sort by: Most helpful
  1. Vijay A. Verma 104.9K Reputation points Volunteer Moderator
    2024-11-09T12:53:09+00:00

    But Excel can handle a 32,767 length text entry in a cell. So one can enter a 1023-digit text entry such as: **'**1111111111... and so on, or as I did =REPT(1,1023), this is the formula in A1.

    Actually, the formula will not support more than 50 characters long binary numbers as till 2^49, precision is supported by Excel. But 2 ^ 50 will be more than 15 significant digits, hence, you will lose precision.

    =REPT(1, 49) is OK but for REPT(1, 50), your formula will not give your correct answer.

    You can check it in Python which support unlimited lengths (limited by available memory)

    Alternatively, you can check on any online calculator such as https://www.rapidtables.com/convert/number/binary-to-decimal.html

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-11-08T19:48:23+00:00

    We have no idea what is in either A1, or L20. Perhaps you used helper cells?

    > ... binary (1's) to the decimal 8.98846567431158E+307

    Binary digits as you are using represent an Integer, not a machine precision number. You don't have enough precision to display the integers. You have to use other excel functions to display the integers.

    ( A random binary digit in B1, and the decimal "Integer" in B3 )

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Vijay A. Verma 104.9K Reputation points Volunteer Moderator
    2024-11-08T05:43:37+00:00

    Hi Shane,

    Please check on following

    1. The title of says BIN2HEX but looks like there is no HEX in any formula.
    2. Your both formulas carry reference to L20, hence both formulas are not working.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2024-11-09T10:06:43+00:00

    Thanks for pointing out these issues. I have edited the original post, hopefully addressing all the issues.

    Again thanks,

    Shane

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2024-11-09T10:03:44+00:00

    Thanks for pointing out these issues. I have edited the original post and hopefully corrected all issues.

    Thanks,

    Shane

    Was this answer helpful?

    0 comments No comments