Is there anyway to change the base of numbers within a numbers spreadsheet? For example, express numbers in binary or base 4 instead of the traditional base 10?

Is there any way to change the base of numbers within a numbers spreadsheet? For example, express numbers in binary or base 4 instead of the traditional base 10?


I want to make a spreadsheet using different bases within the spreadsheet.

MacBook, OS X 10.11

Posted on Jan 17, 2022 7:26 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 17, 2022 8:28 PM

Yes. Check out the NUMTOBASE and BASETONUM functions.


The NUMTOBASE function converts a number from base 10 into a number in the specified base. NUMTOBASE(decimal-string, base, convert-length)


The BASETONUM function converts a number of the specified base into a number in base 10. BASETONUM(convert-string, base)


Also note the Numeral System Data Format for formatting the display of values in cells:



SG

2 replies
Question marked as Top-ranking reply

Jan 17, 2022 8:28 PM in response to kevlarpeters

Yes. Check out the NUMTOBASE and BASETONUM functions.


The NUMTOBASE function converts a number from base 10 into a number in the specified base. NUMTOBASE(decimal-string, base, convert-length)


The BASETONUM function converts a number of the specified base into a number in base 10. BASETONUM(convert-string, base)


Also note the Numeral System Data Format for formatting the display of values in cells:



SG

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Is there anyway to change the base of numbers within a numbers spreadsheet? For example, express numbers in binary or base 4 instead of the traditional base 10?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.