A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Yes
=BASE(255,16)
returns FF
Like Decimal, added in version 2013
--
Regards,
Tom Ogilvy
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
In Excel 2013 there is a function called =DECIMAL(string,base) that returns the decimal value for a character string. For example
=DECIMAL("FF",16)
will return 255.
Is there a built-in function to do the reverse of this??
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
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.
Answer accepted by question author
Yes
=BASE(255,16)
returns FF
Like Decimal, added in version 2013
--
Regards,
Tom Ogilvy
Gary's Student,
Your most welcome. Have a great day.
--
Regards,
Tom Ogilvy
Thanks Tom!
Thanks Mike!
Hi,
=DEC2HEX(255)
From Excel help.
Description
Converts a decimal number to hexadecimal.
Syntax
DEC2HEX(number, [places])
The DEC2HEX function syntax has the following arguments:
Remarks
For example, DEC2HEX(64,1) returns the error value because the result (40) requires two characters.