Wauvel

Excel like a finance pro.

← The library

Engineering function

BIN2HEX

Converts a binary number to hexadecimal.

Rarely usedDifficulty 1250 · ProficientUsage rank #363 of 520
Practice · 2 questions →

When to use it

Converts binary text to hexadecimal.

The shape of it

Syntax
=BIN2HEX(number, [places])

Worked examples

  • Padded

    =BIN2HEX("11111011",4) 00FB

    Padded to four characters.

  • Simple

    =BIN2HEX("1110") E

    Fourteen.

  • Negative

    =BIN2HEX("1111111111") FFFFFFFFFF

    Negative binary becomes ten-character negative hex.

Worth knowing

  • Up to 10 binary digits.
  • HEX2BIN reverses it.
  • Result is text.

Where it goes wrong

  • #NUM! for invalid digits or too many characters.
  • Places is ignored for negatives.

Related

Learn the moves here — or let Wauvel run them on your numbers.

Meet your AI CFO →

One CFO-grade Excel tip a week

A short, practical email for finance operators — functions, shortcuts, and the moves that save an afternoon. Free, unsubscribe anytime.