Formulas > =DEC2HEX()

How To Use DEC2HEX() Function in Google Sheets

Description

Converts a decimal number to signed hexadecimal format.

How To Actually Use DEC2HEX() in Sheets

DEC2HEX(decimal_number, [significant_digits])

Try DEC2HEX yourself

In cells A1:A10, enter decimal numbers. Use the DEC2HEX formula in cell B1 to convert the decimal number in A1 to hexadecimal format. Drag the formula down to B10 to apply it to all numbers.

Hints (2)

1 Better Sheets Tutorial

5 Ways to Create Coupon Codes | Create UUIDs

5 Ways to Create Coupon Codes | Create UUIDs

Generate Coupon Codes with 5 Levels of Difficulty - From Copy-Pasting to Advanced Google Sheets Formulas. Get up to thousands of unique codes easily! Watch now for coupon mastery inside of Google Sheets.
CHAR() DEC2HEX() MID() RANDBETWEEN()

Learn more about the DEC2HEX() formula:

Generate a DEC2HEX() formula for your needs

Describe your task in plain English and get a paste-ready formula that uses DEC2HEX(). 2 free AI generations, no signup. Members get unlimited use.

Generate a DEC2HEX() formula