Google Sheets OFFSET Function

This post will guide you how to use Google Sheets OFFSET function with syntax and examples. Most of google spreadsheet users are very confusing and don’t know how this function works in google sheets. After leaning this function, you should know that this function is very useful and you can read the below guide to understand how and why this function is very useful.

Description


The Google Sheets OFFSET function returns a range reference shifted a specified number of rows and columns from a starting cell reference.

The OFFSET function can be used shift a range of a certain number of rows or columns in google sheets. The purpose of this function is to create a reference offset from a given starting cell reference and It’s returned value is a cell reference.

The OFFSET function is a build-in function in Google Sheets and it is categorized as a LOOKUP function.

Syntax


The syntax of the OFFSET function is as below:

= OFFSET(cell_reference, offset_rows, offset_columns, [height], [width])

Where the OFFSET function arguments are:

  • cell_reference -This is a required argument. The starting point from which to count the offset rows and columns.
  • offset_rows – This is a required argument. The number of rows to offset to shift by.
  • offset_columns – This is a required argument. The number of columns to offset to shift by.
  • height – This is an optional argument. The height of the range to return starting at the offset target.
  • width – This is an optional argument. The width of the range to return starting at the offset target.

Note:  

  • If offset_rows is a negative value, it is possible for the offset target to be outside of the spreadsheet. If this occurs, OFFSET function will return the #REF! error.
  • If offset_columns is a negative value, it is possible for the offset target to be outside of the spreadsheet. If this occurs, OFFSET function will return the #REF! error.
  • OFFSET function only returns a cell reference

Google Sheets OFFSET Function Examples


The below examples will show you how to use google sheets OFFSET Function to shift a range of a certain number of rows or columns.

#1 =OFFSET(A1,3,1)

This OFFSET Formula will return the forth value in the second column, see the below screenshot:

google sheets offset function1

 

Related Posts

Calculate Average Of Last 5 Or N Values In Columns in Google Sheets
Average last N values in columns in google sheets1

Suppose you come across a task where you need to calculate the average of the last 2 or 3 numeric values in google sheets, then what would you do? If you are new to google sheets, then your first attempt ...

Average Last N Values in Google Sheets
Average last 5 values in google sheets1

Average is a valuable function in google sheets that allows you to rapidly compute the average of the past N values in a column. However, you may need to insert new numbers beneath your original information from time to time, ...

Google Sheets EXP Function
google sheets exp function1

This post will guide you how to use Google Sheets EXP function with syntax and examples. Description The Google Sheets EXP function returns e raised to the power of a number.  The constant e is equal to 2.71828182845904, and it ...

Google Sheets FACT Function
google sheets FACT function1

This post will guide you how to use Google Sheets FACT function with syntax and examples. Description The Google Sheets FACT function returns the factorial of a given number.  The factorial of a given number is equal to 1*2*3…* number. ...

Google Sheets EVEN Function
google sheets even function1

This post will guide you how to use Google Sheets EVEN function with syntax and examples. Description The Google Sheets EVEN function rounds a given number up to the nearest even integer. You can use the EVEN function to return ...

Google Sheets COUNTBLANK Function
google sheets countblank function1

This post will guide you how to use Google Sheets COUNTBLANK function with syntax and examples. Description The Google Sheets COUNTBLANK function use to count the number of empty cells in a range of cells. You can use the COUNTBLANK ...

Google Sheets DEGREES Function
google sheets degrees function1

This post will guide you how to use Google Sheets DEGREES function with syntax and examples. Description The Google Sheets DEGREES function converts radians into degrees. And it will return a numeric value. For examples, if you pass the PI() function into ...

Google Sheets COSH Function
google sheets cosh function1

This post will guide you how to use Google Sheets COSH function with syntax and examples. Description The Google Sheets COSH function returns the hyperbolic cosine of a given angle. The purpose of this function is used to get hyperbolic ...

Google Sheets COS Function
google sheets cos function1

This post will guide you how to use Google Sheets COS function with syntax and examples. Description The Google Sheets COS function returns the cosine of a given angle. If you want to supply an angle to COS function in ...

Google Sheets COMBINA Function
google sheets combina function1

This post will guide you how to use Google Sheets COMBINA function with syntax and examples. Description The Google Sheets COMBINA function returns the number of combinations for a given number of items and it includes repetitions. You can use ...

Sidebar