# How to Use Excel BITRSHIFT Function?

BITRSHIFT Function in Excel: Excel is a spreadsheet program that is developed for WindowsMacAndroid, 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:

## 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  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.