How can I compute the 2s complement of a binary number in Excel. Which Excel functions do I need?
For example, if I have the binary sequence 11101010, the 2s complement can be obtained as,
- Replace all 1's with 0's and 0's with 1's:
00010101 - add 1 to the result of step 1:
00010110
An excel implementation of the above is what I need.
