BITRSHIFT function
a value number shifted right by shift_amount bits.
Engineering · Excel 2013+
Where can you use it?
Engineering and technical analysis teams. If the calculation needs a number base, unit, complex number or special mathematical operation, check the input format against the example.
Scenario in the workbook
Shift bits right. Bits that fall off are discarded.
A worked example from the workbook
| Row | A | B |
|---|---|---|
| 6 | First value | Second value |
| 7 | 12 | 2 |
| 8 | 17 | 3 |
| 9 | 7 | 0 |
Record 1
=BITRSHIFT(A7,B7)Expected result3
See the inputs and instructions for all 3 examplesSyntax
BITRSHIFT(number, shift_amount)
Copyable formulas
English Excel · en-US
=BITRSHIFT(12,2)Turkish Excel · tr-TR
=BİTSAĞAKAYDIR(12;2)Expected result
3
Worked examples
Shift bits right. Bits that fall off are discarded.
Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.
| Row | A | B |
|---|---|---|
| 6 | First value | Second value |
| 7 | 12 | 2 |
| 8 | 17 | 3 |
| 9 | 7 | 0 |
| Case | Formula | Expected result |
|---|---|---|
| Record 1 | =BITRSHIFT(A7,B7) |
3 |
| Record 2 | =BITRSHIFT(A8,B8) |
2 |
| Record 3 | =BITRSHIFT(A9,B9) |
7 |