Skip to Content

BIN2HEX

Converts a binary number to hexadecimal

Syntax

BIN2HEX(number, [places])

Parameters

  • number: Required. The binary number you want to convert
  • places: Optional. The number of characters to use. If omitted, uses the minimum number of characters necessary

Example

=BIN2HEX(11111011, 4)
Returns: StringSince: Excel 2003