HEX2BIN

Converts a signed hexadecimal number to signed binary format. Learn more

Video field
Engineering

HEX2BIN is a Google Sheets function that converts a signed hexadecimal number into its equivalent binary representation. A signed hexadecimal number is a number that can be positive or negative, represented in the base-16 number system. The binary representation is a sequence of 0s and 1s that can be interpreted as machine language by the computer.

The function takes two arguments: the signed hexadecimal number and the number of significant digits (optional). The significant digits parameter determines the number of bits used to represent the binary number. If the significant digits parameter is not specified, the function uses the minimum number of bits required to represent the number.

For example, if we have the signed hexadecimal number "FF" and we want to convert it to binary with eight significant digits, we would use the function HEX2BIN("FF", 8). The result would be "11111111" which represents the binary equivalent of the signed hexadecimal number "FF".

Want even more from Google Sheets?


With Softr, you can turn your spreadsheets into powerful web apps.You can give advanced roles and permissions to each user, build advanced logic and automation flows, customize the design to your needs, and much more.


Softr also offers a growing library of templates for internal tools, client portals, community hubs, and more. The templates come with a Google Sheet or an Airtable base that you can use to store and manage your data easily.


Try Softr now and build your custom web apps in 10 minutes no code required!