INDEX / Inventory Manager

Extracting All Details for a Specific Item

An Inventory Manager needs to quickly retrieve all associated details (Description, Quantity, Location) for a specific Item ID. Manually copying and pasting multiple cells for each item is tedious and error-prone, especially when managing a large catalog.

formula.xlsx
=INDEX(A2:D5, MATCH("ITEM-003", A2:A5, 0), 0)

How it works: This formula uses MATCH to locate the row number for 'ITEM-003' within the A2:A5 range, which returns 3. This row number is then passed to INDEX. By setting the col_num argument of INDEX to 0, we instruct it to return all columns for that specific row. In modern Excel, this will 'spill' the values 'Doodad C', '75', and 'Warehouse 1' into adjacent cells.

Data Setup

Item ID Description Quantity Location
ITEM-001 Widget A 150 Warehouse 1
ITEM-002 Gadget B 200 Warehouse 2
ITEM-003 Doodad C 75 Warehouse 1
ITEM-004 Thingamajig D 120 Warehouse 3

Step-by-Step Guide

1

Define the full data range that contains all item details (e.g., A2:D5). This will be the array argument for INDEX.

2

Determine the specific Item ID you want to look up (e.g., "ITEM-003").

3

Identify the range where your Item IDs are listed (e.g., A2:A5). This will be the lookup_array for MATCH.

4

Construct the formula: =INDEX(A2:D5, MATCH("ITEM-003", A2:A5, 0), 0).

5

Enter the formula into a cell. In modern Excel, this will spill the entire row's data into adjacent cells.

Explore More