Skip to content

How to Use Excel BITRSHIFT Function?

Ads
Listen to this article.
BITRSHIFT Pin
BITRSHIFT

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: 

https://www.microsoft.com/en-in/microsoft-365/excel.

Excel BITRSHIFT FunctionPin
Excel BITRSHIFT Function

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.
Input RangePin
Input Range
  • Then, you have to enter the formula in the cell as shown below to get the result.
Enter the formulaPin
Enter the formula
  • After entering the formula, you need to click the Enter button to get the output.
Output ValuePin
Output Value
  • 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.
ResultPin
Result

Input that Causes Error

  • If the value of shift_amount is greater than 53, it returns #NUM! Error value.
Num ErrorPin
Num Error
  • If you give any of the arguments a non-numeric value, it returns #VALUE! Error.
Value ErrorPin
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:

Tags:

Leave a Reply

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

Share to...