Build an Excel 2013 CRM Workbook with Customer Lookup Formulas
Question details
Expand an Excel 2013 sales call log into a CRM-style workbook that retrieves customer contact and telephone details.

- Product
- Microsoft Excel 2013
- Device & OS
- not provided
- Scenario
- A sales user wants separate customer, call, visit, and lead worksheets linked to a customer list.
- Observed behavior
- Entering a company name should populate the matching customer ID, contact, and telephone information.
Prepare a customer list with a unique customer ID, company name, contact, and telephone number for each record. The company-name lookup below assumes each company name is unique; if names repeat, select customers by ID instead.
Create Linked CRM Tables with INDEX and MATCH
Use Excel tables, a company dropdown, and lookup formulas to populate customer details in each activity log.
On a Customers worksheet, enter the headers Customer ID, Company, Contact, and Telephone. Select the list, choose Insert > Table, and confirm that the table has headers. On the Table Tools Design tab, set the table name to Customers.
Add Calls, Visits, and Leads worksheets. On each sheet, create a table with Company, Customer ID, Contact, and Telephone columns, plus activity-specific columns such as Date and Notes. Use Insert > Table to convert each list to a table.
Select the data cells in an activity table's Company column. Choose Data > Data Validation, set Allow to List, and enter =INDIRECT("Customers[Company]") in Source. Repeat for the other activity tables.
In the first data row of the activity table's Customer ID column, enter =IFERROR(INDEX(Customers[Customer ID],MATCH([@Company],Customers[Company],0)),""). Select a company from the dropdown to test the result.
In the Contact column, enter =IFERROR(INDEX(Customers[Contact],MATCH([@[Customer ID]],Customers[Customer ID],0)),""). In Telephone, enter =IFERROR(INDEX(Customers[Telephone],MATCH([@[Customer ID]],Customers[Customer ID],0)),""). Repeat the formulas in the Calls, Visits, and Leads tables.

Create a Customer Lookup Workbook in WPS Spreadsheets
Use customer IDs and lookup formulas in WPS Spreadsheets to populate company and contact details across your CRM logs.
- 1. Set up the customer list: Open WPS Spreadsheets and create a Customers worksheet. Put Customer ID, Company, Contact, and Telephone in columns A through D, with records beginning in row 2.
- 2. Create an activity log: Add a Calls worksheet with Customer ID, Company, Contact, and Telephone in columns A through D. Enter a customer ID in cell A2.
- 3. Add lookup formulas: In B2, enter =IFERROR(INDEX(Customers!$B$2:$B$1000,MATCH($A2,Customers!$A$2:$A$1000,0)),""). In C2 and D2, use the same formula but replace the first lookup range with Customers!$C$2:$C$1000 and Customers!$D$2:$D$1000, respectively.
- 4. Extend and save the workbook: Copy the formulas down the Calls sheet and create similar Visits and Leads sheets. Choose File > Save As and select the Excel workbook format (.xlsx).

Frequently Asked Questions
Why does my customer lookup return a blank cell?
The IFERROR formulas return a blank when MATCH cannot find a value. Check that the selected company or customer ID exists in the Customers table and that its spelling and spacing match.
Can I use a customer ID instead of a company name?
Yes. Select or enter the unique Customer ID in each activity table, then use INDEX and MATCH to retrieve the company, contact, and telephone values from the Customers table.
What happens when two customers have the same company name?
MATCH returns the first matching name, which may retrieve the wrong record. Use a unique customer ID as the selection and lookup value when company names repeat.
Will these formulas work in Excel 2013?
Yes. Excel 2013 supports INDEX, MATCH, IFERROR, and table structured references. The formulas do not require newer functions such as XLOOKUP.




