OFFSET function
a reference offset from a given reference.
Lookup and reference
Where can you use it?
Reporting and operations teams. Use functions in this group to retrieve a field from an item, employee or order list, select the right record, or move values into another report.
Scenario in the workbook
Move the specified number of rows from an anchor. A zero column offset stays in the same column.
A worked example from the workbook
| Row | A | B |
|---|---|---|
| 6 | Input | Comparison |
| 7 | 0 | 7 |
| 8 | 1 | 8 |
| 9 | 2 | 9 |
Record 1
=OFFSET($B$7,A7,0)Expected result7
See the inputs and instructions for all 3 examplesCopyable formulas
English Excel · en-US
=OFFSET($B$7,A7,0)Turkish Excel · tr-TR
=KAYDIR($B$7;A7;0)Worked examples
Move the specified number of rows from an anchor. A zero column offset stays in the same column.
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 | Input | Comparison |
| 7 | 0 | 7 |
| 8 | 1 | 8 |
| 9 | 2 | 9 |
| Case | Formula | Expected result |
|---|---|---|
| Record 1 | =OFFSET($B$7,A7,0) |
7 |
| Record 2 | =OFFSET($B$7,A8,0) |
8 |
| Record 3 | =OFFSET($B$7,A9,0) |
9 |