How to create and use Data Entry Form in Excel (2024)

In this tutorial, you will learn how to activate a built-in input form in Excel and how to add a special button to your worksheet to open the form.

When it comes to inputting information in Excel spreadsheets, most people do it the traditional way - cell by cell, row by row. To make the process more use-friendly and less time-consuming, you can use a special data entry form. It will help you focus on individual records, one at a time, without having to scroll horizontally between columns.

Excel data entry form

You may not know it, but Excel has a special form for entering data in a spreadsheet that makes the input process faster, more user-friendly and less error-prone, especially in large worksheets.

How do users normally populate Excel tables? By typing data directly into cells. Sometimes, you scroll up to see the column headings and sometimes scroll to the right and then come back to the beginning of the table. With large data sets, there is a possibility to mix up something and enter information in a wrong cell.

To facilitate input, you can ask Excel to display one row of information in a handy dialog box. Here, you can accurately add new records as well as update and edit the existing ones. You can also set up Data Validation to ensure that only the entries meeting certain criteria are accepted.

Data entry forms are supported in Excel 365, Excel 2019, Excel 2016, Excel 2010 and Excel 2007, but not available in Excel Online (Excel for the web).

Here's how Excel's Data Entry Form works:
How to create and use Data Entry Form in Excel (1)

Notes:

  • A data form is limited to a maximum of 32 columns / fields.
  • Since a data form is a modal dialog window, it cannot be printed. Moreover, you cannot print a worksheet until you close the data form.

Although the Form tool exists in all versions of Excel 2007 through Excel 365, it is hidden by default. So, first you need to make it visible by adding the From button to the ribbon or the Quick Access Toolbar, or both.

To add the Form tool to the Quick Access Toolbar (QAT), these are the steps to perform:

  1. Click the small down arrow at the far-right of the QAT, and then choose More Commands in the pop-up menu.How to create and use Data Entry Form in Excel (2)
  2. In the Excel Options dialog box that opens, under Choose commands from, select All Commands or Commands Not in the Ribbon.
  3. Scroll down the list of command on the left until you see Form… and click on it.
  4. Click the Add button in the middle to move the Form to the list of QAT commands on the right.
  5. Click OK to save the changes and close the dialog.How to create and use Data Entry Form in Excel (3)

The Form icon will immediately appear in your Quick Access Tollbar and will be available in all your workbooks.How to create and use Data Entry Form in Excel (4)

Believe it or not, you've successfully coped with the main challenge. Once the Form tool is in your Excel, creating a data entry form for any table (a new or existing one) takes just a single button click.

Tip. In a similar fashion, you can place the Form tool on the ribbon. For the detailed instructions, please see How to add a button to Excel ribbon.

How to make data entry form in Excel

A data entry form is only available for a fully functional Excel table. To get the form, you just need to put your data in a table and the click the Form button. The detailed steps follow below:

  1. In your worksheet, type the column headings in the topmost row as usual. If you want an input form for an existing data set, skip this step.
  2. Select any cell in your dataset and click the Ctrl + T keys simultaneously. This will select all the data and convert it to a table.
  3. Place the cursor anywhere within the table and click the Form button. Done!

To keep things simple, let's make this small table as an example:How to create and use Data Entry Form in Excel (5)

Clicking the Form button automatically creates a data entry form for your table with fields corresponding to the column headings:How to create and use Data Entry Form in Excel (6)

As you can see, the Excel input form has a handful of different buttons. Here's a brief explanation of what each button does:How to create and use Data Entry Form in Excel (7)

Aside from the buttons, you can use the following keys for navigation:

  • Tab - get to the next field.
  • Shift + Tab - get to the previous field.
  • Enter - save the current record and start a new one.

How to add a new record

To add a new record to your table using the data entry form, perform these steps:

  1. Select any cell in your table.
  2. Click on the Form button on the Quick Access Toolbar or on the ribbon.
  3. In the input form, click the New button.
  4. Type the information in the appropriate fields.
  5. When done, hit the Enter key or click the New button again. This will add the record to the table and get a blank form for the next record.How to create and use Data Entry Form in Excel (8)

Tip. To quickly enter specific information, you can use the same shortcuts that you use in your worksheets. For example:

  • Press Ctrl + ; to insert today's date.
  • Press Ctrl + Shift + ; to enter the current time.

How to search for records

To go through the records one by one, you can use the Find Prev and Find Next buttons or the vertical scroll bar. To find records that meet certain conditions, use the Criteria button.

For example, to locate all the projects assigned to the Design dept., type Design in the Department field, and press Find Next:How to create and use Data Entry Form in Excel (9)

The wildcard characters can help you broaden the search. For instance, to discover the projects that contain "skill" anywhere in the project name, type *skill* in the Project field.How to create and use Data Entry Form in Excel (10)

When dealing with numbers and dates, the logical operators such as greater than (>), less than (<), equal to (=), not equal to (<>) and others come in handy. For example, to view the records where the start date is prior to 1-Mar-2021, use "<1-Mar-2021" or "<3/1/2021" for the criteria:How to create and use Data Entry Form in Excel (11)

Note. Criteria on a data form are not case sensitive. Say, when searching for the Design dept., "DESIGN" and "design" will also be found.

How to update and restore records

If some entry is outdated or contains wrong information, you can use the Criteria or navigation buttons to get to the record, update the incorrect field, and press Enter to commit the updated data to the table.

If you made some accidental changes but have not pressed the Enter key yet, you can revert to the original record by clicking the Restore button. If you've already hit Enter and the changes were passed over to the table, press Ctrl + Z to undo.How to create and use Data Entry Form in Excel (12)

How to use Data Validation with data entry form

To restrict user input to a specific data type, you can set up a data validation rule for one or more columns in your table, and your rules will be automatically carried over to the data entry form.

For example, to limit the Budget to numbers in a given range, we create this rule:How to create and use Data Entry Form in Excel (13)

If someone tries to enter a value that does not conform to the rule you've set, an error alert will be displayed (either the standard or your custom one):How to create and use Data Entry Form in Excel (14)

Limitation: drop down lists are unavailable on a form

The use of data validation with input forms has one limitation - drop down lists do not appear in data entry fields. But even though a drop-down list does not show up inside the form, its restrictions are still in effect. If you enter a value that is not in the list, the form will reject it just as Data Validation normally would.How to create and use Data Entry Form in Excel (15)

Formulas in data entry forms

In case one or more columns in your table are calculated by formulas, you won't be able to alter those formulas using the form because the formula result appears as text, not as an editable field. Although that may sound like another limitation, in fact it is done for a reason. When you change a table formula in one cell, the formulas in all other cells in the same column change automatically. To avoid messing up your data, formula editing on the input form is blocked.

For example, you could use the following formula to find out if the actual cost is under, over or within the budget based on the 5% threshold:

=IF(ABS([@[Actual cost]]/ [@Budget] - 1)<=5%, "Within budget", IF([@[Actual cost]]/ [@Budget]- 1>5%, "Over budget", IF([@[Actual cost]]/ [@Budget]- 1<5%, "Under budget", "")))

If you are using a Microsoft 365 subscription, then you could wrap the above formula in the LET function like shown below. This will make your formula more compact, easier-to-understand and faster-to-calculate:

=LET(dif, E2/D2-1, IF(ABS(dif)<=5%, "Within budget", IF(dif>5%, "Over budget", IF(dif<5%, "Under budget", ""))))How to create and use Data Entry Form in Excel (16)

On the data entry form, you will only see a non-editable calculated result, not the formula:How to create and use Data Entry Form in Excel (17)

How to open data entry form with VBA

If you are setting up a table for someone else, your users may not know where to look for the Form button. Moreover, they may not know that such a thing even exists :) To bring it to focus, you can open the input form using a macro. And to run that macro, place a special button directly in the worksheet.

Assuming the current sheet has a table, you need just a single code line to open the form:

Sub OpenDataEntryForm() ActiveSheet.ShowDataFormEnd Sub

However, there is a crucial caveat - the above code only works if either:

  • Your table begins in A1, or
  • There is a name "Database" referring to your table (a defined name, not a table name!).

To overcome these limitations, you can use the advanced version of the code that specifies the cell where your table begins (B2 in our case), gives the name "database" to the current region, opens the form, and then deletes the name:

Sub OpenDataEntryForm() Dim nName As Name Range("B2").CurrentRegion.Name = "database" ActiveSheet.ShowDataForm For Each nName In ActiveWorkbook.Names If "database" = nName.Name Then nName.Delete Next nNameEnd Sub

Note. If you don't delete the name "database" in the code, you won't be able to open the form (even manually) for any other table in that particular workbook.

To open a data entry form for a table in another sheet, activate the target worksheet (Sheet1 in the below example) before executing the main code:

Sub OpenDataEntryForm() Dim nName As Name Worksheets("Sheet1").Activate Range("B2").CurrentRegion.Name = "database" ActiveSheet.ShowDataForm For Each nName In ActiveWorkbook.Names If "database" = nName.Name Then nName.Delete Next nNameEnd Sub

After inserting the code, you can place a button form control onto your worksheet and assign a macro to it. Or you can create a button from a shape or another object. The detailed instructions are here: How to create a macro button in Excel.

And now, you users can comfortably open the input data form by clicking a colorful vivid button. They do not even have to bother about putting the cursor within the table - the form will open no matter which cell is active at the moment.How to create and use Data Entry Form in Excel (18)

If you have little experience with VBA, a couple of end-to-end tutorials may prove helpful:

  • How to insert and run VBA code
  • How to run macro in Excel

Excel data entry form not working

If a data form does not launch in your Excel, the following troubleshooting tips may help determine the reason.

Too many fields in the data form

When attempting to create a data form for a table containing more than 32 columns, you will get this error message:How to create and use Data Entry Form in Excel (19)

In this case, you will have to either reduce the number of columns in the source table or insert one or more empty columns breaking your big table into a few smaller ones. And then, you can create a separate data form for each smaller table.

Cannot extend list or database

If you are trying to add a new row of data, but Excel says that it cannot extend a list or database, that means there is some other data below your table and adding a new record would overwrite that existing data.How to create and use Data Entry Form in Excel (20)

To resolve this error, remove any data below your table, so it can extend downward. If you do not see anything underneath the last row, the problem is most likely in spaces, empty strings or non-printing characters. In this case, use the Clear All command to clear the workspace.

The cursor is outside the table

When clicking the Form button results in the below error message, most likely the cursor is not within the table. Simply click any cell in the table, and then try to open the form again.How to create and use Data Entry Form in Excel (21)

There is a named range "Database"

In case there is a range named "database" in your workbook, the form will always refer to that range, even when you open it for a table. Weird! If the "database" range is on another sheet, the following error will occur. To fix it, just give some other name to the range.How to create and use Data Entry Form in Excel (22)

That is how to create and use a data entry form in Excel. I thank you for reading and hope to see you on our blog next week!

Practice workbook for download

Excel Data Entry Form (.xlsm file)

You may also be interested in:

  • Excel Data Validation
  • Custom data validation rules and formulas
  • How to make a data table in Excel
  • How to create a dropdown list in Excel
  • How to edit, copy and delete drop down list in Excel
How to create and use Data Entry Form in Excel (2024)

FAQs

How to create an Excel data entry form? ›

Steps to Create a Form in Excel
  1. Step 1: Add Data Entry Form Option. You will notice that there actually is no option or tab to create a data entry form on the toolbar at the top. ...
  2. Step 2: Create a Table. ...
  3. Step 3: Enter Form Data. ...
  4. Step 4: Data Validation. ...
  5. Step 5: How to Search for Records. ...
  6. Step 6: Data Collection.
Jan 10, 2023

How do I create a fillable form in Excel? ›

Follow these steps:
  1. Select the Developer tab in the top menu.
  2. Under Control, select Insert and choose the form element you need.
  3. Place the element on the spreadsheet.
  4. Right-click the element and select Format Controls to change its settings.
  5. Most Excel form elements read information from spreadsheet cells.

How do I convert an Excel file to a fillable form? ›

Create forms that users complete or print in Excel
  1. Step 1: Show the Developer tab. On the Excel menu, click Preferences. ...
  2. Step 2: Add and format content controls. On the Developer tab, click the control that you want to add. ...
  3. Step 3: Protect the sheet that contains the form. ...
  4. Step 4: Test the form (optional)

What are data entry examples? ›

What are data entry skills?
  • Compiling and sorting data.
  • Transcribing audio files into text.
  • Fact-checking articles and manuscripts.
  • Reviewing data for incomplete or inconsistent information.
  • Entering raw data into a spreadsheet, document or database.
  • Merging files to update outdated or incomplete data.
Feb 7, 2023

How to enter data in Excel step by step? ›

On the active worksheet, select the cell or range in which you want to edit existing or enter new data. In the active cell, type new data or edit the existing data, and then press Enter or Tab to move the selection to the next cell. The changes are applied to all the worksheets that you selected.

How do I create an interactive Excel spreadsheet? ›

Select your data, go to Insert > Table. In the pop-up that opens, tick the box - 'My table has headers,' and click OK. Your table will look something like this: Next, convert the table into Pivot table; this will help you create interactive charts to put in your dashboard in Excel.

How to create a drop-down list in a data entry form? ›

Create a drop-down list
  1. In a new worksheet, type the entries you want to appear in your drop-down list. ...
  2. Select the cell in the worksheet where you want the drop-down list.
  3. Go to the Data tab on the Ribbon, and then Data Validation. ...
  4. On the Settings tab, in the Allow box, select List.

How to do data entry work for beginners? ›

How do you learn data entry? Practice typing until you reach a speed of at least 30 WPM, and familiarize yourself with computers, common computer programs, printers, and scanners. To get professional certification, take a certificate course in data entry to learn the basics, which can take between 3 and 12 months.

Is Excel enough for data entry? ›

All in all, Excel is an invaluable tool for freelancers looking to quickly and accurately enter and analyze data. Accuracy is essential when it comes to data entry and data analysis, and Microsoft Excel has several features that make this easier.

How can I improve data entry in Excel? ›

Tips to Prevent Data Entry Errors in Excel
  1. Use data validation. It's easy enough to type a value into the wrong column, or to miss or misplace a decimal point. ...
  2. Create drop-down lists. ...
  3. Generate a list as you go. ...
  4. Use AutoComplete (and know when NOT to use it) ...
  5. Color-code your columns.

Can I make a form in Excel for data entry? ›

How to make data entry form in Excel
  1. In your worksheet, type the column headings in the topmost row as usual. ...
  2. Select any cell in your dataset and click the Ctrl + T keys simultaneously. ...
  3. Place the cursor anywhere within the table and click the Form button.
Mar 13, 2023

Can Excel automatically enter data? ›

Microsoft Office Excel completes text entries that you start to type in a column of data — if the first few letters that you type match an existing entry in that column. If you want to stop automatic completion, you can turn this option off. Click File > Options.

Can you automate Excel data entry? ›

Excel has several native features that make it possible to automate data entry. Custom drop-down lists present users with several options when entering data. This can be useful when using Excel for inventory management or to build a customer database.

How do I create an access form for entering data? ›

Create a form from an existing table or query in Access. To create a form from a table or query in your database, in the Navigation Pane, click the table or query that contains the data for your form, and on the Create tab, click Form. Access creates a form and displays it in Layout view.

How do I create an entry table in Excel? ›

You can create and format a table to visually group and analyze data.
  1. Select a cell within your data.
  2. Select Home and choose. Format as Table under Styles.
  3. Choose a style for your table.
  4. In the Create Table dialog box, confirm or set your cell range.
  5. Mark if your table has headers, and select OK.

How do I create a unique entry in Excel? ›

To filter for unique values, click Data > Sort & Filter > Advanced. To remove duplicate values, click Data > Data Tools > Remove Duplicates.

How do I create a data entry form in Excel without VBA? ›

Putting in the Form Command: On the left side of the dialog, look for 'Choose commands from. ' Select 'All Commands' from this dropdown. You'll see a list of all Excel's commands. Scroll to find 'Form...' and add it to your chosen tab or group using the 'Add >>' button.

Top Articles
Latest Posts
Article information

Author: Edwin Metz

Last Updated:

Views: 5846

Rating: 4.8 / 5 (78 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Edwin Metz

Birthday: 1997-04-16

Address: 51593 Leanne Light, Kuphalmouth, DE 50012-5183

Phone: +639107620957

Job: Corporate Banking Technician

Hobby: Reading, scrapbook, role-playing games, Fishing, Fishing, Scuba diving, Beekeeping

Introduction: My name is Edwin Metz, I am a fair, energetic, helpful, brave, outstanding, nice, helpful person who loves writing and wants to share my knowledge and understanding with you.