Lesson 43 of 92 · Free Excel Course
Excel
How to Create a Database in Excel: Build a Tracker (Free Template)
Create a database or tracker in Excel: design the columns, make a table, add drop-downs, flag duplicate IDs and build XLOOKUP, FILTER and COUNTIFS reports.
A database in Excel is just a well-built list: every row is one record, every column is one fact about it, and Excel can then sort it, filter it, look things up and count it for you. In this lesson you'll build a customer request tracker that works that way. You'll design the columns, turn them into an Excel table, add drop-downs fed from a Lists sheet, catch duplicate IDs in red, and build a Reports sheet that looks up a record by ID, lists one person's open requests and counts everything by status. The same build works for job applications, customers, orders or anything else you track. At the end you'll see when it's time to move to Access or an online database.
Design the columns first
Most broken trackers are broken before the first formula. Follow five rules and every later step gets easier:
- One record per row. One request, one customer, one job application. Never two on one row.
- One fact per column. Owner in one column, status in another. Don't write "Ben – waiting" in a single cell.
- A unique ID in column A. Names repeat and get misspelled. An ID like REQ-1004 never changes, so lookups and reports can rely on it.
- One type per column. Dates only in date columns, numbers only in number columns, and the same spelling every time ("Closed", not "closed" or "Done").
- No merged cells, blank rows, subtotals or titles inside the data. Headings go in row 1 only. Blank rows and merged cells stop sorting, filtering and formulas from seeing the whole list.
Here's the tracker you'll build, with nine columns and 12 requests from November:
| A | B | C | D | E | F | G | H | I | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID | Opened | Due | Customer | Request | Category | Priority | Owner | Status |
| 2 | REQ-1001 | 11/2/2026 | 11/4/2026 | Brightside Cafe | Invoice shows wrong total | Billing | High | Ana | Closed |
| 3 | REQ-1002 | 11/3/2026 | 11/6/2026 | Lopez Dental | Order arrived damaged | Delivery | High | Ben | Closed |
| 4 | REQ-1003 | 11/5/2026 | 11/6/2026 | Green Leaf Gym | Reset account password | Account | Low | Chloe | Closed |
| 5 | REQ-1004 | 11/9/2026 | 11/12/2026 | Harbor Books | Missing item in order | Delivery | High | Ben | Open |
| 6 | REQ-1005 | 11/10/2026 | 11/17/2026 | Lopez Dental | Question about warranty | Product | Medium | Ana | In progress |
| 7 | REQ-1006 | 11/11/2026 | 11/18/2026 | Maple Pet Care | Change billing address | Billing | Low | Chloe | Waiting |
| 8 | REQ-1007 | 11/12/2026 | 11/21/2026 | Brightside Cafe | Late delivery | Delivery | Medium | Ben | Open |
| 9 | REQ-1008 | 11/13/2026 | 11/16/2026 | Summit Auto | Refund request | Billing | High | Ana | Open |
| 10 | REQ-1009 | 11/16/2026 | 11/19/2026 | Green Leaf Gym | Product not working | Product | High | Ben | In progress |
| 11 | REQ-1010 | 11/17/2026 | 11/24/2026 | Harbor Books | Add a second user | Account | Medium | Chloe | Open |
| 12 | REQ-1011 | 11/18/2026 | 11/23/2026 | Summit Auto | Wrong size shipped | Delivery | Medium | Ben | Open |
| 13 | REQ-1011 | 11/19/2026 | 11/20/2026 | Maple Pet Care | Invoice copy needed | Billing | Low | Ana | Closed |
Notice the last two rows: someone typed REQ-1011 twice. You'll catch that in a minute.
Step 1: turn the list into an Excel table
- Type the nine headings in row 1 and your records below, with no blank rows.
- Click any cell in the list and press Ctrl+T (or go to Insert > Table).
- Check that the range is right and My table has headers is ticked, then click OK.
- On the Table Design tab, type a name such as Requests in the Table Name box.
The table adds filter arrows, banded rows and, most usefully, it grows by itself: type in the row under the last record and the formatting, drop-downs and rules follow. On a Mac, press Cmd+T or use Home > Format as Table. In Excel for the web, use Insert > Table (the shortcut is Ctrl+L). Excel tables covers tables in depth.
Step 2: a Lists sheet for the drop-downs
Free typing is how "In progress", "in progess" and "Working" end up meaning the same thing. Put every allowed value on its own sheet:
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Status | Owner | Category | Priority |
| 2 | Open | Ana | Account | High |
| 3 | In progress | Ben | Billing | Medium |
| 4 | Waiting | Chloe | Delivery | Low |
| 5 | Closed | Product |
Now connect each column to its list:
- On the tracker, select I2:I13 (Status).
- Go to Data > Data Validation.
- Under Allow, choose List. In Source, type
=Lists!$A$2:$A$5. - On the Error Alert tab, keep the Stop style so Excel refuses anything that isn't on the list. Click OK.
- Repeat for Owner (H2:H13,
=Lists!$B$2:$B$4), Category (F2:F13,=Lists!$C$2:$C$5) and Priority (G2:G13,=Lists!$D$2:$D$4).
Tip: turn each list on the Lists sheet into a table too. Microsoft notes that drop-downs based on a table update automatically when you add or remove items. On a Mac the command is the same (Data > Data Validation); in Excel for the web it's also Data > Data Validation. More options are in drop-down lists.
Step 3: flag duplicate IDs
A duplicate ID means a lookup could return the wrong record. Make Excel shout about it:
- Select A2:A200, starting from A2.
- Go to Home > Conditional Formatting > New Rule.
- Choose Use a formula to determine which cells to format and type
=COUNTIF($A$2:$A$200,A2)>1. - Click Format, choose a light red fill on the Fill tab, and click OK twice.
COUNTIF counts how many times this row's ID appears in the whole column; more than 1 means a repeat. Both REQ-1011 cells turn red. Change the second one to REQ-1012 and the red disappears. The $ signs keep the column range fixed while A2 moves down row by row. On a Mac, set Style to Classic in the New Rule box first; in Excel for the web, New Rule opens a pane where you pick Formula as the rule type. Conditional formatting explains more.
Step 4: a Reports sheet with XLOOKUP, FILTER and COUNTIFS
Keep the tracker for typing and put every summary on a separate Reports sheet, so nobody types over a formula. In the download, the finished tracker is on the Answers sheet, so the formulas point there.
Look up one record by ID. Type REQ-1004 in B2. In B3 type:
=XLOOKUP($B$2,Answers!$A$2:$A$200,Answers!$D$2:$D$200,"ID not found")
It finds REQ-1004 in the ID column and returns the customer, Harbor Books. Copy it to B4:B7 and change the return column to E (request), H (owner), I (status) and C (due date). Type an ID that doesn't exist and you see "ID not found" instead of #N/A. See XLOOKUP and INDEX/MATCH.
List one owner's open requests. Type Ben in B10, then in A12:
=IFERROR(SORT(FILTER(Answers!A2:E200,(Answers!H2:H200=B10)*(Answers!I2:I200<>"Closed")),3,1),"No open requests")
FILTER keeps rows where the owner is Ben and the status isn't Closed (the * means "and"). SORT puts them in order of column 3, the due date, soonest first. If nothing matches, FILTER returns a #CALC! error, and IFERROR swaps it for a friendly message. The result spills into as many rows as it needs:
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 2 | Request ID | REQ-1004 | |||
| 3 | Customer | Harbor Books | |||
| 4 | Request | Missing item in order | |||
| 5 | Owner | Ben | |||
| 6 | Status | Open | |||
| 7 | Due | 11/12/2026 | |||
| 8 | |||||
| 9 | Open requests for one owner | ||||
| 10 | Owner | Ben | |||
| 11 | ID | Opened | Due | Customer | Request |
| 12 | REQ-1004 | 11/9/2026 | 11/12/2026 | Harbor Books | Missing item in order |
| 13 | REQ-1009 | 11/16/2026 | 11/19/2026 | Green Leaf Gym | Product not working |
| 14 | REQ-1007 | 11/12/2026 | 11/21/2026 | Brightside Cafe | Late delivery |
| 15 | REQ-1011 | 11/18/2026 | 11/23/2026 | Summit Auto | Wrong size shipped |
Type Ana in B10 and the list changes to her two open requests. FILTER, SORT and UNIQUE need Excel for Microsoft 365, Excel 2021 or later, or Excel for the web. Sort and filter has more examples.
Count by status and owner. Type the four statuses in A19:A22 and the owners in B18:D18, then in B19:
=COUNTIFS(Answers!$I$2:$I$200,$A19,Answers!$H$2:$H$200,B$18)
Fill it across to D and down to row 22, and add =SUM(B19:D19) totals. The mixed references ($A19, B$18) let one formula fill the whole grid. Details in COUNTIF, SUMIF and AVERAGEIF.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 18 | Status | Ana | Ben | Chloe | Total |
| 19 | Open | 1 | 3 | 1 | 5 |
| 20 | In progress | 1 | 1 | 0 | 2 |
| 21 | Waiting | 0 | 0 | 1 | 1 |
| 22 | Closed | 2 | 1 | 1 | 4 |
| 23 | Total | 4 | 5 | 3 | 12 |
To list the owners automatically instead of typing them, =SORT(UNIQUE(FILTER(Answers!H2:H200,Answers!H2:H200<>""))) returns Ana, Ben and Chloe. The Reports sheet also has three data checks: records =COUNTA(Answers!A2:A200) (12), duplicate IDs =SUMPRODUCT((Answers!A2:A200<>"")*(COUNTIF(Answers!A2:A200,Answers!A2:A200)>1)) (0, or 2 before you fix REQ-1011), and requests with no owner. Glance at them before you trust a report.
When to move to Access, Airtable or a real database
An Excel tracker is perfect for one flat list that a few people update. It's time to look further when:
- You're running out of rows or speed. A worksheet holds 1,048,576 rows, but formulas and lookups slow down long before that.
- Your data is relational. Customers, their orders and each order's items belong in separate linked tables. Microsoft points out that Excel can't enforce "referential integrity" (for example, refusing an order for a customer who doesn't exist). Access can.
- Many people edit at once. Co-authoring works when the file is in OneDrive or SharePoint, but when two people change the same cell the last save wins. Access locks only the record being edited; online database apps such as Airtable are built for shared editing.
- You need forms, permissions or an audit trail for who changed what.
You don't have to choose just one. Microsoft suggests storing data in Access and analyzing it in Excel, and Power Query and Power Pivot can pull a database into Excel for reports.
Try it yourself
Download the practice workbook. The Practice sheet is the request tracker with the planted duplicate; Lists has the allowed values.
- Turn A1:I13 into a table and name it Requests.
- Add the four drop-downs from the Lists sheet.
- Add the duplicate-ID rule, find the two red REQ-1011 cells and change row 13 to REQ-1012.
- On a new sheet, build the XLOOKUP record card for REQ-1004 (Harbor Books, Ben, Open, 11/12/2026).
- Build Ben's open-requests list with FILTER and SORT (four rows, REQ-1004 first).
- Build the COUNTIFS grid (grand total 12).
Check your work against the Answers and Reports sheets. For your own records, the Blank template has 500 rows of drop-downs, the duplicate rule and a status count ready to go.
Common mistakes
- No ID column. Without a unique ID you can't reliably look up, update or count a record.
- Merged cells or a title row inside the data. Sorting and filtering break. Keep titles above or on another sheet.
- Typing statuses freehand. "closed" and "Closed " (with a space) are counted separately by COUNTIFS. Use drop-downs.
- Dates stored as text. If dates line up on the left, Excel sees text, and sorting by due date fails. See dates and times.
- Reports on the data sheet. A FILTER spill next to the data blocks new columns and gets typed over. Use a Reports sheet.
- Forgetting the
$signs in the duplicate rule or COUNTIFS, so the ranges slide as you fill.
You've built a small database with a table, drop-downs, a duplicate check and live reports. Before this, you mapped processes in diagrams: fishbone, decision tree, WBS and flowchart. Next, use the same design rules for money in Project: accounting and bookkeeping, and for stock in Project: inventory.
Frequently asked questions
Can Excel be used as a database?
For one list of records, yes. Excel works well as a simple flat database: one table, one record per row, with filters, lookups and reports. Microsoft's own guidance says Excel suits data that fits in one table, while Access is built for several related tables, many people editing at once and rules that keep the tables in step. Many people store data in a database and analyze it in Excel.
How many rows can an Excel database hold?
A worksheet holds 1,048,576 rows and 16,384 columns, according to Microsoft's Excel specifications. In practice a tracker gets slow and hard to manage long before that, especially with lots of formulas. If you're heading into the hundreds of thousands of rows, look at Power Query, Access or a real database.
How do I make a searchable database in Excel?
Two easy ways. For one record, type its ID in a cell and use XLOOKUP to pull the details: `=XLOOKUP($B$2,Answers!$A$2:$A$200,Answers!$D$2:$D$200,"ID not found")`. For a list, use FILTER with your search value, for example all requests for the owner typed in B10. Or simply use the filter arrows of an Excel table.
What's the difference between Excel and Access?
Excel is a spreadsheet: great for calculations, charts and one flat list. Access is a database program: it stores data in several related tables, lets many people work in the same data at once, and can refuse a record that breaks a rule (such as an order for a customer who doesn't exist). Microsoft suggests using each for what it does best, and they work together.
How do I stop duplicate IDs in an Excel tracker?
Give the ID column a conditional formatting rule that turns a cell red when its ID appears more than once: select A2:A200 and use the formula `=COUNTIF($A$2:$A$200,A2)>1`. A count of duplicates in a check cell helps too. See find and remove duplicates for other methods.
Can more than one person edit an Excel tracker at the same time?
Yes, with co-authoring: save the file to OneDrive or SharePoint and open it in Excel for Microsoft 365 or Excel for the web. If two people change the same cell, the last change wins, so it works best when each person updates their own rows. For many people entering data all day, a real database is safer.