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 INDEX Excel function

The INDEX function in Excel returns the value of a specified cell within an array. You essentially tell the function the array and the coordinates of the cell within the array, and the function returns the value of that cell. INDEX is useful on its own to pull data out of a larger dataset, or in combination with other functions like the MATCH function.

Syntax

=INDEX(array, row_num, [column_num])
  • array is the range of cells the function will reference
  • row_num is the row number, within the array, of the cell to reference
  • column_num is the column number of the cell to reference. If left blank, the function will default to column 1

How to use the INDEX Excel function

In its most basic form, the INDEX function takes coordinates in the form of a row and column number, and uses those coordinates to find a cell within the specified array.

This is demonstrated in the example below.

INDEX Excel 1 basic example

Here I’ve used the formula =INDEX(A2:B6,3,2) to return the depth of the Atlantic Ocean. The function looks within the array A2:B6, and finds the cell in the third row and second column. As you can see, it properly returns the value in that cell!

It’s important to note that the INDEX function is a reference function, which means it doesn’t perform any calculation of its own.

Basically, all it does is locate a cell and reference the value within that cell. To demonstrate this, watch what happens when I change the value in the referenced cell.

INDEX Excel 2 reference cell

I changed the Atlantic depth to 100, and the reference cell reflected the change. I didn’t touch the formula in E3, but it updated all on its own!

Reference form

The INDEX function is most commonly used in Array form, which is what I just showed. However, there’s an alternative form of this function called the Reference form.

In Reference form, the INDEX function can take multiple input arrays.

In order to do this, you have to specify which array you want to search. You can do this by adding a fourth parameter to the function:

=INDEX(reference, row_num, [column_num], [area_num])

The area_num parameter tells the function which reference array to look in. If left blank, it defaults to the first array.

To get a better idea of how INDEX works in Reference form, take a look at the next example.

I now have three tables of data. I can use the Reference form of the INDEX function to incorporate all three within a single function by typing =INDEX((A2:B6,D2:E6,G2:H6),5,2,2).

INDEX Excel 3 reference form

As you can see from the formula, you can enter all three arrays for the reference parameter. Make sure you enclose them in brackets and separate them with commas.

Next, specify the row and column numbers to reference, just like in the earlier example.

Finally, there’s the area_num parameter at the end. This parameter (2) tells the function to look in the second array. After typing all this in, I get the correct result pulled from the data!

INDEX with COUNTA

As shown in the examples above, the INDEX function is very useful on its own. But like many functions, it really hits its stride when combined with other functions.

One useful example is combining INDEX with COUNTA.

This combination lets you automatically reference the last entry in a dataset, so that your INDEX function will always reference the most recent data. This is handy when you have a live spreadsheet that is updated regularly.

In the example below, I have some data on weekly rainfall. This table is updated every week, and I want to quickly have a reference to the latest numbers. I achieve this by typing =INDEX(A:B,(COUNTA(A:A)),2).

INDEX Excel 4 index with counta

Now how does this work? The function uses the entire A and B columns as its reference array, which means anything added to those columns will fall within the array.

To specify which row I want to reference, I use the COUNTA function to count how many rows are populated. If 5 rows are populated, then I want to reference row 5 – COUNTA makes this happen.

Now comes the real test: does the function automatically update when I add new data? In the screenshot below I’ve added week 5, and you can see that the function automatically changed to show this new data!

INDEX Excel 5 index with counta

Final thoughts

Clearly, the INDEX function in Excel is quite powerful when combined with other functions.

Another common combination is INDEX and MATCH, which combines to form a more flexible version of the VLOOKUP function. I encourage you to check it out!

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.