BITRSHIFT Function in Excel: Excel is a spreadsheet program that is developed for Windows, Mac, Android, and iOS. It helps to perform calculations on your PC. The purpose of this software is to do complicated calculations which are difficult to do manually. In your worksheet, to shift bits by the specified number of times to the right, you can use the BITRSHIFT function.
In this tutorial, we will guide you to learn the usage of the BITRSHIFT Function in Excel with its basic syntax, explanation, and examples. Get the official version of MS Excel from the following link:
https://www.microsoft.com/en-in/microsoft-365/excel.
Definition of BITRSHIFT Function
- It is one of the built-in functions in Microsoft Excel.
- BITRSHIFT means it will shift bits by the specified number of times to the right. This function is similar to the BITLSHIFT function, but the only difference is BITLSHIFT is used to shift bits to the left.
- You can specify the shift_amount to the input number either as a positive number or a negative number.
Syntax
- Here, you will see the syntax of the BITRSHIFT 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.
=BITRSHIFT(number, shift_amount)
Argument Description:
- number – The input number to be bit-shifted.
- shift_amount – The number of bits to shift to the right, if negative shifts bits to the left instead.
Note:
1) If the value of shift_amount is greater than 53, it returns #NUM! Error value.
2) If you give any arguments as non-numeric value, it returns #VALUE! Error.
3) You can assign a negative value to the shift_amount argument, but it will shift the bits to the left.
4) You can give a positive number to the shift_amount, and it will move bits to the right.
Examples
See the following examples to understand this function efficiently.
- 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 BITRSHIFT 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.
Closure
In the above article, you can learn the usage of the BITRSHIFT Function in Excel with its syntax, description, and examples. Leave your feedback in the comment section. To learn more about Excel functions, then visit our webpage Aawexcel.com.
Video Tutorial
The following video will show you how to apply the BITRSHIFT function in the worksheet.
Keep Reading:
- 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?
Deepak is an Excel enthusiast and data analyst with over 5 years of experience in the field. I’m a renowned author for AAW Excel who connects with a committed group of Excel users by imparting his professional knowledge and helpful advice. No matter your level of Excel proficiency, my articles and tutorials will teach you something new and beneficial. Connect me via my social links!… Mastodon & More!