Get help

Help center

Guides and answers

Contact support

Write to our team

Sign in to

Workflows

Build processes with your team

Automations

Connect files and automate tasks

One system, four parts

AI agents

Virtual Employees that work 24/7

Automations

Connect files and automate tasks

Workflows

Build processes with your team

Data Space

Trusted data sharing and control

Solutions by department

Finance

Reports, budgets, and reconciliations

Inventory and manufacturing

Stock, orders, and production in one view

HR

Timesheets, attendance, and reviews

Project management

Status and workload across projects

Sales and CRM

Leads and deals kept up to date

Education

Student records and school data

Finance

Turn manual finance work into reports that update themselves.

What Finance teams automate

  • Track payables and receivables
  • Build cash flow statements
  • Compare budget against actuals

Inventory and manufacturing

See stock levels and automate ordering.

What inventory and manufacturing teams automate

  • Track inventory across multiple sites
  • Connect sales, purchasing, and warehouse data
  • Link a barcode scanner to your sheet

HR

Run recruitment, attendance, and OKR tracking from your sheets.

What HR teams automate

  • Track recruitment and onboarding
  • Record team OKRs and results
  • Track check-ins, check-outs, and leave

Project management

Assign tasks and track hours without manual updates.

What project teams automate

  • Assign tasks and track status changes
  • Estimate effort and log hours worked
  • Track milestones across projects

Sales and CRM

Track leads and sales performance with automated reports.

What sales teams automate

  • Track and convert leads
  • Set sales goals and track team metrics
  • Monitor sales KPIs on dashboards

Education

Automate attendance, grades, and school purchasing.

What schools automate

  • Track attendance and notify parents
  • Record and compare class grades
  • Track inventory lent to students and staff

Find a use case

By department

How each team uses Sheetgo

By industry

How each industry uses Sheetgo

By company size

Small, medium-sized, or large

Learn

Blog

Guides and product news

Customer stories

How teams like yours use Sheetgo

Help center

Guides and answers

Why Sheetgo

Compare

How Sheetgo compares with other tools

Security

How we protect your data

Trust center

Our compliance details

Sign in to

Workflows

Build processes with your team

Automations

Connect files and automate tasks

One system, four parts

AI agents

Virtual Employees that work 24/7

Automations

Connect files and automate tasks

Workflows

Build processes with your team

Data Space

Trusted data sharing and control

Solutions by department

Finance

Reports, budgets, and reconciliations

Inventory and manufacturing

Stock, orders, and production in one view

HR

Timesheets, attendance, and reviews

Project management

Status and workload across projects

Sales and CRM

Leads and deals kept up to date

Education

Student records and school data

Find a use case

By department

How each team uses Sheetgo

By industry

How each industry uses Sheetgo

By company size

Small, medium-sized, or large

Get started

Templates

Ready-made workflows to start from

Learn

Blog

Guides and product news

Customer stories

How teams like yours use Sheetgo

Help center

Guides and answers

Why Sheetgo

Compare

How Sheetgo compares with other tools

Security

How we protect your data

Trust center

Our compliance details

Help center

Guides and answers

Contact support

Write to our team

Workflows

Build processes with your team

Automations

Connect files and automate tasks

How to use the Excel OFFSET function

The Excel OFFSET function returns a reference range of cells that are offset (hence the name) from a reference cell. In other words, you specify the offset in terms of the number of rows and columns, and you can also indicate the size of the array that you want to reference.

Syntax

=OFFSET(reference, rows, cols, [height], [width])
  • reference is the starting cell from which the results are offset
  • rows is the number of rows you want to offset from the reference cell
  • cols is the number of columns you want to offset from the reference cell
  • height is the height of the array you want to return. The default is 1
  • width is the width of the array you want to return. The default is 1

How to use the Excel OFFSET function

Now I’ll show the function in action. Take a look at the example below.

I have some data from a clothing store that indicates how many of each item has been sold, per size. I use the OFFSET function to reference data within this table.

Excel OFFSET function 1

As you can see, I type the function =OFFSET(A1,4,2) to pull the data I want from the table. In this case, I start with a reference cell of A1, then tell the function to move 4 rows down and 2 rows across. As a result, it performs that offset and returns the results from cell C5.

If I want to get the sales of large T-shirts, I can use the formula =OFFSET(A1,2,3). This function is the same as in the previous case, except I tell the function to offset 2 rows down and 3 columns to the right of cell A1.

Excel OFFSET function 2

Notice how I didn’t input the two optional parameters, [height] and [width]. This is because I only want to return 1 cell, so I don’t have to input anything for these since they default to 1.

If I wanted to return multiple cells however, I would specify the dimensions of the desired output.

Using OFFSET with other functions

The OFFSET Excel function can also be combined with other functions.

In this example, I combine OFFSET with the SUM function to get the total sales of Large clothing.

Excel OFFSET function 3

The formula here is =SUM(OFFSET(A1,2,3,7,1)). This time, I input 7 for the height parameter. This makes the function return the range D3:D9, which encompasses all the large items. It then adds them all up with the SUM function.

If you’re still confused about this example, here’s what we tell the function told to do: start at cell A1, then move 2 rows down, 3 rows across, and return the results from an array of 7 (height) by 1 (width).

Finally, the SUM function then adds up this array (D3:D9).

Using OFFSET to create a dynamic range

One of the main uses of the OFFSET function is to create a dynamic range. A dynamic range is a range that updates automatically when new data is added.

Take a look at the example below. Here, I use the OFFSET function to create a dynamic range of the entire table that will update if new data is inserted.

Lastly, I combine this with the AVG function to get the average sales per item.

Excel OFFSET function dynamic range 4

This is achieved with the formula =AVERAGE((A2:OFFSET(D10,-1,0,))). I use the OFFSET function to identify the lower bound of the range I want to average.

The range goes from cell A2 (fixed) to one cell above D10. The benefit here is that if I insert a new row, the function will automatically update:

Excel OFFSET function 5

The formula here is =AVERAGE((A2:OFFSET(D11,-1,0,))). The OFFSET updated from D10 to D11, which kept the entire table included in the average calculation. I didn’t change the formula – I just added a new row (shoes) and the function updated automatically!

I hope you now have an understanding of how and when to use the OFFSET function!

OFFSET function

And there you go! Use the OFFSET function to return a reference range of cells that are offset from a reference cell.

If you’d like to learn more about the various formulas of Google Sheets, why not take a look at our blog post on the ARRAY_CONSTRAIN formula in Google Sheets.

Alternatively, check out related blog posts below!

You may also like…

Excel INDIRECT function — Excel logo and fx icon above =INDIRECT on a light gray background

Excel INDIRECT function: formula and examples

Use the INDIRECT function Excel provides to turn text into a cell reference. See the syntax and examples with SUM, AVERAGE, ROW, and other sheets.

How to round off numbers in Excel — Excel icon next to .00 rounded to .0

How to round off numbers in Excel with the ROUND function

Learn to round off numbers in Excel with ROUND, ROUNDUP, and ROUNDDOWN, to any number of decimal places or to the nearest whole number.

Excel FILTER function — Excel logo next to a report icon with a red funnel on a blue background

Excel FILTER function and examples

Learn how to use the Excel FILTER function to filter data by text, number, and date, with multiple conditions, and together with UNIQUE and SORT.