Formulas > =HEX2DEC()

How To Use HEX2DEC() Function in Google Sheets


Converts a signed hexadecimal number to decimal format.

Common questions about the HEX2DEC formula include: How is the HEX2DEC formula used? What does the HEX2DEC formula do?

The HEX2DEC formula can be used to convert a hexadecimal number to a decimal number in Google Sheets.

The HEX2DEC formula can be commonly mistyped as HEXDEC2.

Common ways that the HEX2DEC formula is used inappropriately include using the formula to convert a number that is already in decimal format or attempting to use it to calculate values when the formula only serves to convert between hex and decimal.

Common pitfalls when using the HEX2DEC formula include forgetting the quotation marks when inputting the hexadecimal value to convert and forgetting to select the cell with the output number.

Common mistakes when using the HEX2DEC Formula include not understanding the purpose of the formula or misunderstanding how the formula works.

Common misconceptions people might have with the HEX2DEC Formula include thinking that the formula is used to calculate a value and not realizing that it is simply used to convert between hex and decimal formats.

How To Actually Use HEX2DEC() in Sheets


Looking for a video tutorial? Members can email me anytime! Check out the blogs below for more info on this formula. Or generate your formula. Find more formulas here at

Learn more about the HEX2DEC() formula:

Google Sheet: Number Base Functions

How to convert numbers between different number bases in Google Sheet. The video looks at the generic functions - DECIMAL and BASE which convert from any number base between 2 & 36 and decimal. The video focuses on conversions between the most common number bases using the functions DEC2BIN, DEC2OCT, DEC2HEX, HEX2DEC, OCT2DEC and BIN2DEC. The video demonstrates that Google Sheet can only add, subtract etc numbers in base 10 and shows how sometimes Google Sheet can give the incorrect impression that it can add and subtract numbers in other number bases. Finally the video looks at the maximum and minimum values allowed by each conversion.

Generate a HEX2DEC() formula for your needs with AI

Google Sheets Formula Generator

Whatever you need to do in sheets, you can generate a formula. Use the Better Sheets Formula generator to create a formula for any need. Completely free for members.


Looking for more help inside sheets get the free Add-on: Asa. Ask Sheets Anything. Go ahead, ask it any problem you migth have. Bring your own APIKEY and generate formulas inside of Google Sheets.