What is the syntax for INDEX/MATCH from ranges on two Sheets?
I am trying to match data from two different Sheets into a third Sheet. I know vlookup will not work for this, so I am trying my hand at index/match and can't get the syntax right. How do you write a formula that can return results from ranges on two different Sheets?
Answers
-
MATCH( search_value, range, [ search_type ])
- search_value — The value to search for.
- range — The cell range (lookup table) to be searched.
- search_type —[optional] The default is 1. The manner in which to search, depending on whether the range is sorted ascending (1), not sorted (0), or sorted descending (-1).
INDEX( range, row_index, [ column_index ])
- range — The group of cells that you want to evaluate
- row_index — The row position (used in a one-dimensional collection such as a list) of the item to return
- column_index —[optional] The column position (used in a two-dimensional collection such as a table) of the item to return
The range variable can be a {{cross sheet reference}}. Does this help? As far as I can tell, each function only accepts a single range value. If you need to looking up values from two different cross sheet references then you'd need to write separate functions and find another way to accomplish your goal.
-
Hi @Kelsey K
To add to @SolutionSal's explanation, there are a few other threads in the Community with examples of how to look into multiple sheets that you may find helpful:
- Double Index Match
- Index Match using two sheets
- INDEX and MATCH across two sheets: a detailed explanation (this is to explain the single Index(Match structure)
Cheers,
Genevieve
Join us for Jumpstart 2025 with Community on 23 January (in two time zones)! 🎉 Register here.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!