Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Working With Tables in Excel
  • How to calculate current stock or inventory in Excel
  • How To Create Frequency Distribution in Excel
  • How To Perform and Interpret Regression Analysis in Excel
  • Conditional Formatting New Rule with Formulas in Excel

References

  • How to get last row in text data in Excel
  • Create hyperlink with VLOOKUP in Excel
  • Two-way lookup with VLOOKUP in Excel
  • Approximate match with multiple criteria in Excel
  • How to retrieve first match between two ranges in Excel

Data Validations

  • Excel Data validation exists in list
  • Data validation must not exist in list
  • Excel Data validation unique values only
  • Prevent invalid data entering in specific cells
  • Excel Data validation must not contain

BITLSHIFT function: Description, Usage, Syntax, Examples and Explanation

by

What is BITLSHIFT function in Excel?

BITLSHIFT function is one of Engineering functions in Microsoft Excel that returns a number shifted left by the specified number of bits.

Syntax of BITLSHIFT function

BITLSHIFT(number, shift_amount)

The BITLSHIFT function syntax has the following arguments.

  • Number    Required. Number must be an integer greater than or equal to 0.
  • Shift_amount    Required. Shift_amount must be an integer.

BITLSHIFT formula explanation

  • Shifting a number left is equivalent to adding zeros (0) to the right of the binary representation of the number. For example, a 2-bit shift to the left on the decimal value 4 converts its binary value (100) to 10000, or 16 in decimal.
  • If either argument is outside their constraints, BITLSHIFT returns the #NUM! error value.
  • If Number is greater than (2^48)-1, BITLSHIFT returns the #NUM! error value.
  • If the absolute value of Shift_amount is greater than 53, BITLSHIFT returns the #NUM! error value.
  • If either argument is a non-numeric value, BITLSHIFT returns the #VALUE! error value.
  • A negative number used as the Shift_amount argument shifts the number of bits to the right.
  • A negative number used as the Shift_amount argument returns the same result as a positive shift_amount argument for the BITRSHIFT function.

Example of BITLSHIFT function

Steps to follow:

1. Open a new Excel worksheet.

2. Copy data in the following table below and paste it in cell A1

Note: For formulas to show results, select them, press F2 key on your keyboard and then press Enter.

You can adjust the column widths to see all the data, if need be.

Formula Description Result How it works
=BITLSHIFT(4,2) Shifts bits left for the number by adding zeros (0) to the right of the number represented in binary. The number returned is represented in decimal. 16 4 is represented as 100 in binary. Adding two 0 digits to the right results in 10000, which is 16 in decimal.

Post navigation

Previous Post:

BITOR function: Description, Usage, Syntax, Examples and Explanation

Next Post:

BITAND function: Description, Usage, Syntax, Examples and Explanation

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • IFNA function: Description, Usage, Syntax, Examples and Explanation
  • IF function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel FALSE Function
  • How to use IFS function in Excel
  • NOT function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Convert Excel time to Unix time in Excel
  • Get days, months, and years between dates in Excel
  • Count day of week between dates in Excel
  • Get project end date in Excel
  • Convert date to month and year in Excel

Grouping

  • How to randomly assign data to groups in Excel
  • Group times into unequal buckets in Excel
  • Categorize text with keywords in Excel
  • Map inputs to arbitrary values in Excel
  • Running count group by n size in Excel

General

  • How to test a range for numbers in Excel
  • Excel Operators
  • How to calculate total from percentage in Excel
  • AutoFit Column Width, AutoFit Row Height in Excel
  • Find Most Frequently Occurring Word in Excel Worksheet
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning