BITLSHIFT Function in Excel: Microsoft Excel is a powerful data visualization and analysis program used worldwide. It uses spreadsheets to store, organize, or perform operations with formulas and functions. This application is developed for Windows, Mac, Android, and iOS.
In this article, we will see how to use BITLSHIFT Function in the Excel worksheet with its syntax, explanation, and examples. Get an official version of MS Excel from the following link:
https://www.microsoft.com/en-in/microsoft-365/excel
Description of BITLSHIFT Function
- It is one of the built-in functions in Microsoft Excel.
- This function will shift the number (binary value) by the specified number of bits you want to move.
- You can assign a shift_amount either a positive number or a negative number.
Syntax
- Here, you will see the syntax of the BITLSHIFT function.
- To apply this function on your spreadsheet, you must select a cell and enter the formula in the following format.
- Once you enter the formula, click the Enter button to get the result.
=BITLSHIFT(number, shift_amount)
Argument Explanation:
- Number – The input number to be shifted. It should be greater than or equal to 0.
- Shift_amount – Give the number of bits to be shifted. It should be an integer value.
Note:
1) If the value of shift_amount is greater than 53, it returns #NUM! Error value.
2) If you give any arguments as a non-numeric value, it returns #VALUE! Error.
3) You can assign a negative value to the shift_amount argument, but the bits will shift to the right.
4) You can give a positive number to the shift_amount, and it will move bits to the left.
Examples
Let’s look at some practical examples of the BITLSHIFT Function and explore how to use it in Microsoft Excel.
- Initially, you have to open your Excel workbook on your PC and launch the worksheet with data.
- For instance, we have given the input values and shift amount in the range B3:C6. And we will shift the number by the specified number of bits using the BITLSHIFT function.
- Then, you have to enter the formula in the cell as shown below to get the result.
- After entering the formula, you need to click the Enter button to get the output.
- Once you get the output for the first cell, then you need to drag down that cell to fill the remaining cells, as shown in the below screenshot.
Input that Causes Error
- If the value of shift_amount is greater than 53, it returns #NUM! Error value.
- If you give any of the arguments a non-numeric value, it returns #VALUE! Error.
Verdict
In this article, you can understand how to use BITLSHIFT Function in Excel 365 with its syntax, description, and examples. Drop your feedback in the below comment section. To learn more about Excel functions, then visit our webpage Aawexcel.com.
Video Tutorial
The following video will help you to know how to apply the BITLSHIFT function in the worksheet.
Read Also:
- How to Use Excel FLOOR.MATH Function?
- How to Use Excel FLOOR Function?
- How to Use Excel CEILING.PRECISE Function?
- How to Use Excel CEILING Function?
- How to Use Excel GCD Function?
Hi there, I’m Sridhar – an Excel enthusiast with over 10 years of experience working with software. I’m passionate about using Excel to solve complex problems and streamline business processes. Over the years, I have helped businesses of all sizes to improve their operations and save time and money.
Aside from working with Excel, I also enjoy writing and sharing my knowledge with others. You’ll often find me contributing to the AAW Excel blog, where I provide tips, tricks, and tutorials that are easy to understand for readers of all skill levels.