Form input for excel

Data entry can sometimes be a big part of using Excel.

With near endless cells, it can be hard for the person inputting data to know where to put what data.

A data entry form can solve this problem and help guide the user to input the correct data in the correct place.

Excel has had VBA user forms for a long time, but they are complicated to set up and not very flexible to change.

In this blog post, we’re going to explore 5 easy ways to create a data entry form for Excel.

Video Tutorial

Excel Tables

We’ve had Excel tables since Excel 2007.

They’re perfect data containers and can be used as a simple data entry form.

Creating a table is easy.

  1. Select the range of data including the column headings.
  2. Go to the Insert tab in the ribbon.
  3. Press the Table button in the Tables section.

We can also use a keyboard shortcut to create a table. The Ctrl + T keyboard shortcut will do the same thing.

Make sure the Create Table dialog box has the My table has headers option checked and press the OK button.

We now have our data inside an Excel table and we can use this to enter new data.

To add new data into our table we can start typing a new entry into the cells directly below the table and the table will absorb the new data.

We can use the Tab key instead of Enter while entering our data. This will cause the active cell cursor to move to the right instead of down so we can add the next value into our record.

When the active cell cursor is in the last cell of the table (lower right cell), pressing the Tab key will create a new empty row in the table ready for the next entry.

This is a perfect and simple data entry form.

Data Entry Form

Excel actually has a hidden data entry form and we can access it by adding the command to the Quick Access Toolbar.

Add the form command to the Quick Access Toolbar.

  1. Right click anywhere on the quick quick access toolbar.
  2. Select Customize Quick Access Toolbar from the menu options.

This will open up the Excel option menu on the Quick Access Toolbar tab.

  1. Select Commands Not in the Ribbon.
  2. Select Form from the list of available commands. Press F to jump to the commands starting with F.
  3. Press the Add button to add the command into the quick access toolbar.
  4. Press the OK button.

We can then open up data entry form for any set of data.

  1. Select a cell inside the data which we want to create a data entry form with.
  2. Click on the Form icon in the quick access toolbar area.

This will open up a customized data entry form based on the fields in our data.

Microsoft Forms

If we need a simple data entry form, why not use Microsoft Forms?

This form option will require our Excel workbook to be saved into SharePoint or OneDrive.

The form will be in a browser and not in Excel, but we can link the form to an Excel workbook so that all the data goes into our Excel table.

This is a great option if multiple people or people outside our organization need to input data into the Excel workbook.

We need to create a Form for Excel in either SharePoint or OneDrive. The process is the same for both SharePoint or OneDrive.

  1. Go to a SharePoint document library or a OneDrive folder where the Excel workbook is going to be saved.
  2. Click on New and then choose Forms for Excel.

This will prompt us to name the Excel workbook and open up a new browser tab where we can build our form by adding different types of questions.

We first need to create the Form and this will create the table in our Excel workbook where the data will get populated.

Then we can share the form with anyone we want to input data into Excel.

When a user enters data into the form and presses the submit button, that data will automatically show up into our Excel workbook.

Power Apps

Power Apps is a flexible drag and drop formula based app building platform from Microsoft.

We can certainly use it to create a data entry from for our Excel data.

In fact, if we have a table of data set up, Power Apps will create the app for us based on our data. It can’t be any easier than that.

Sign in to the powerapps.microsoft.com service ➜ go to the Create tab in the navigation pane ➜ select Excel Online.

We’ll then be prompted to sign in to our SharePoint or OneDrive account where our Excel file is saved to select the Excel workbook and table with our data.

This will generate us a fully functional three screen data entry app.

  1. We can search and view all the records in our Excel table in a scroll-able gallery.
  2. We can view an individual record in our data.
  3. We can edit an existing record or add new records.

This is all connected to our Excel table, so any changes or additions from the app will show up in Excel.

Power Automate

Power Automate is a cloud based tool for automating task between apps.

But we can use the button trigger to make an automation that captures user input and adds the data into an Excel table.

We’ll need to have our Excel workbook saved in OneDrive or SharePoint and have a table already setup with the fields we want to populate.

To create our Power Automate data entry form.

  1. Go to flow.microsoft.com and sign in.
  2. Go to the Create tab.
  3. Create an Instant flow.
  4. Give the flow a name.
  5. Choose the Manually trigger a flow option as the trigger.
  6. Press the Create button.

This will open up the Power Automate builder and we can build our automation.

  1. Click on the Manually trigger a flow block to expand the trigger’s options. This is where we’ll find the ability to add input fields.
  2. Click on the Add an input button. This will give us options to add a few different types of input fields including Text, Yes/No, Files, Email, Number and Dates.
  3. Rename the field to something descriptive. This will help the user know what type of data to input when they run this automation.
  4. Click on the three ellipses to the right of each field to change the input options. We’ll be able to Add a drop-down list of option, Add a multi-select list of options, Make the field optional or Delete the field from this menu.
  5. After we have added all our input fields, we can now add a New step to the automation.

Search for the Excel connector and add the Add a row into a table action. If you’re on an Office 365 business account, use the Excel Online (Business) connectors, otherwise use the Excel Online (OneDrive) connectors.

Now we can set up our Excel Add a row into a table step.

  1. Navigate to the Excel file and table where we are going to be adding data.
  2. After selecting the table, the fields in that table will appear listed and we can add the appropriate dynamic content from the Manually trigger a flow trigger step.

Now we can run our Flow from the Power Automate service.

  1. Go to My flows in the left navigation pane.
  2. Go to the My flows tab.
  3. Find the flow in the list of available flows and click on the Run button.
  4. A side pane will pop up with our inputs and we can enter our data.
  5. Click Run flow.

We can also run this from our mobile device with the Power Automate apps.

  1. Go to the Buttons section in the app.
  2. Press on the flow to run.
  3. Enter the data inputs in the form.
  4. Press on the DONE button in the top right.

Whichever way we run the flow, a few seconds later the data will appear in our Excel table.

Conclusions

Whether we require a simple form or something more complex and customize-able, there is a solution for our data entry needs.

We can quickly create something inside our workbook or use an external solution that connects to and loads data into Excel.

We can even create forms that people outside our organization can use to populate our spreadsheets.

Let me know in the comments what is your favourite data entry form option.

About the Author

John MacDougall

John is a Microsoft MVP and qualified actuary with over 15 years of experience. He has worked in a variety of industries, including insurance, ad tech, and most recently Power Platform consulting. He is a keen problem solver and has a passion for using technology to make businesses more efficient.

Watch the Video on Using Data Entry Forms in Excel

Below is a detailed written tutorial about Excel Data Entry form in case you prefer reading over watching a video.

Excel has many useful features when it comes to data entry.

And one such feature is the Data Entry Form.

In this tutorial,  I will show you what are data entry forms and how to create and use them in Excel.

Why Do You Need to Know About Data Entry Forms?

Maybe you don’t!

But if data entry is a part of your daily work, I recommend you check out this feature and see how it can help you save time (and make you more efficient).

There are two common issues that I have faced (and seen people face) when it comes to data entry in Excel:

  1. It’s time-consuming. You need to enter the data in one cell, then go to the next cell and enter the data for it. Sometimes, you need to scroll up and see which column it is and what data needs to be entered. Or scroll to the right and then come back to the beginning in case there are many columns.
  2. It’s error-prone. If you have a huge data set which needs 40 entries, there is a possibility you may end up entering something that was not intended for that cell.

A data entry form can help by making the process faster and less error-prone.

Before I show you how to create a data entry form in Excel, let me quickly show you what it does.

Below is a data set that is typically maintained by the hiring team in an organization.

Data set for data entry form

Every time a user has to add a new record, he/she will have to select the cell in the next empty row and then go cell by cell to make the entry for each column.

While this is a perfectly fine way of doing it, a more efficient way would be to use a Data Entry Form in Excel.

Below is a data entry form that you can use to make entries to this data set.

Excel Data Entry Form dialog box

The highlighted fields are where you would enter the data. Once done, hit the Enter key to make the data a part of the table and move on to the next entry.

Below is a demo of how it works:

Data Entry Form in Excel - Demo

As you can see, this is easier than regular data entry as it has everything in a single dialog box.

Data Entry Form in Excel

Using a data entry form in Excel needs a little pre-work.

You would notice that there is no option to use a data entry form in Excel (not in any tab in the ribbon).

To use it, you will have to first add it to the Quick Access Toolbar (or the ribbon).

Adding Data Entry Form Option To Quick Access Toolbar

Below are the steps to add the data entry form option to the Quick Access Toolbar:

  1. Right-click on any of the existing icons in the Quick Access Toolbar.
  2. Click on ‘Customize Quick Access Toolbar’.Customize the Quick Access Toolbar option
  3. In the ‘Excel Options’ dialog box that opens, select the ‘All Commands’ option from the drop-down.Select All Commands from the drop down
  4.  Scroll down the list of commands and select ‘Form’.Select Form option in the Excel Options dialog box
  5. Click on the ‘Add’ button.Click on the Add button
  6. Click OK.

The above steps would add the Form icon to the Quick Access Toolbar  (as shown below).

Excel Data Entry Form icon in QAT

Once you have it in QAT, you can click any cell in your dataset (in which you want to make the entry) and click on the Form icon.

Note: For Data Entry Form to work, your data should be in an Excel Table. If it isn’t already, you’ll have to convert it into an Excel Table (keyboard shortcut – Control + T).

Parts of the Data Entry Form

A Data Entry Form in Excel has many different buttons (as you can see below).

Here is a brief description of what each button is about:

Buttons of the Entry Form in Excel

  • New: This will clear any existing data in the form and allows you to create a new record.
  • Delete: This will allow you to delete an existing record. For example, if I hit the Delete key in the above example, it will delete the record for Mike Banes.
  • Restore: If you’re editing an existing entry, you can restore the previous data in the form (if you haven’t clicked New or hit Enter).
  • Find Prev: This will find the previous entry.
  • Find Next: This will find the next entry.
  • Criteria: This allows you to find specific records. For example, if I am looking for all the records, where the candidate was Hired, I need to click the Criteria button, enter ‘Hired’ in the Status field and then use the find buttons. Example of this is covered later in this tutorial.
  • Close: This will close the form.
  • Scroll Bar: You can use the scroll bar to go through the records.

Now let’s go through all the things you can do with a Data Entry form in Excel.

Note that you need to convert your data into an Excel Table and select any cell in the table to be able to open the Data Entry form dialog box.

If you haven’t selected a cell in the Excel Table, it will show a prompt as shown below:

Table Not Selected Prompt

Creating a New Entry

Below are the steps to create a new entry using the Data Entry Form in Excel:

  1. Select any cell in the Excel Table.
  2. Click on the Form icon in the Quick Access Toolbar.Excel Data Entry Form icon in QAT
  3. Enter the data in the form fields.
  4. Hit the Enter key (or click the New button) to enter the record in the table and get a blank form for next record.

Data Entry Form in Excel - Demo

Navigating Through Existing Records

One of the benefits of using Data Entry Form is that you can easily navigate and edit the records without ever leaving the dialog box.

This can be especially useful if you have a dataset with many columns. This can save you a lot of scrolling and the process of going back and forth.

Below are the steps to navigate and edit the records using a   data entry form:

  1. Select any cell in the Excel Table.
  2. Click on the Form icon in the Quick Access Toolbar.
  3. To go to the next entry, click on the ‘Find Next’ button and to go to the previous entry, click the ‘Find Prev’ button.Navigating uing the Data Entry Form in Excel
  4. To edit an entry, simply make the change and hit enter. In case you want to revert to the original entry (if you haven’t hit the enter key), click the ‘Restore’ button.

You can also use the scroll bar to navigate through entries one-by-one.

Using Scroll Bar to Navigate

The above snapshot shows basic navigation where you are going through all the records one after the other.

But you can also quickly navigate through all the records based on criteria.

For example, if you want to go through all the entries where the status is ‘In-progress’, you can do that using the below steps:

Criteria is a very useful feature when you have a huge dataset, and you want to quickly go through those records that meet a given set of criteria.

Note that you can use multiple criteria fields to navigate through the data.

For example, if you want to go through all the ‘In-progress’ records after 07-08-2018, you can use ‘>07-08-2018’ in the criteria for ‘Date’ field and ‘In-progress’ as the value in the status field. Now when you navigate using Find Prev/Find Next buttons, it will only show records after 07-08-2018 where the status is In-progress.

Two criteria in data entry form

You can also use wildcard characters in criteria.

For example, if you have been inconsistent in entering the data and have used variations of a word (such as In progress, in-progress, in progress, and inprogress), then you need to use wildcard characters to get these records.

Below are the steps to do this:

  1. Select any cell in the Excel table.
  2. Click on the Form icon in the Quick Access Toolbar.
  3. Click the Criteria button.
  4. In the Status field, enter *progressUsing Wildcard characters in data entry form dialog box
  5. Use the Find Prev/Find Next buttons to navigate through the entries where the status is In-Progress.

This works as an asterisk (*) is a wildcard character that can represent any number of characters in Excel. So if the status contains the ‘progress’, it will be picked up by Find Prev/Find Next buttons no matter what is before it).

Deleting a Record

You can delete records from the Data Entry form itself.

This can be useful when you want to find a specific type of records and delete these.

Below are the steps to delete a record using Data Entry Form:

  1. Select any cell in the Excel table.
  2. Click on the Form icon in the Quick Access Toolbar.
  3. Navigate to the record you want to delete
  4. Click the Delete button.Delete a record in Excel

While you may feel that this all looks like a lot of work just to enter and navigate through records, it saves a lot of time if you’re working with lots of data and have to do data entry quite often.

Restricting Data Entry Based on Rules

You can use data validation in cells to make sure the data entered conforms to a few rules.

For example, if you want to make sure that the date column only accepts a date during data entry, you can create a data validation rule to only allow dates.

If a user enters a data that is not a date, it will not be allowed and the user will be shown an error.

Here is how to create these rules when doing data entry:

  1. Select the cells (or even the entire column) where you want to create a data validation rule. In this example, I have selected column A.
  2. Click the Data tab.Data Tab in the Ribbon
  3. Click the Data Validation option.Data Validation Option in the Ribbon
  4. In the ‘Data Validation’ dialog box, within the ‘Settings’ tab, select ‘Date’ from the ‘Allow’ drop down.Date Option in Data Validation Drop Down
  5. Specify the start and the end date. Entries within this date range would be valid and rest all would be denied.Start and End Date in Data Validation
  6. Click OK.

Now, if you use the data entry form to enter data in the Date column, and if it isn’t a date, then it will not be allowed.

You will see a message as shown below:

Data Validation Error when doing data entry with a form in Excel

Similarly, you can use data validation with data entry forms to make sure users don’t end up entering the wrong data. Some examples where you can use this is numbers, text length, dates, etc.

Here are a few important things to know about Excel Data Entry Form:

  1. You can use wildcard characters while navigating through the records (through criteria option).
  2. You need to have an Excel table to be able to use the Data Entry Form. Also, you need to have a cell selected in it to use the form. There is one exception to this though. If you have a named range with the name ‘Database’, then the Excel Form will also refer to this named range, even if you have an Excel table.
  3. The field width in the Data Entry form is dependent on the column width of the data. If your column width is too narrow, the same would be reflected in the form.
  4. You can also insert bullet points in the data entry form. To do this, use the keyboard shortcut ALT + 7 or ALT + 9 from your numeric keypad. Here is a video about bullet points.

You May Also Like the Following Excel Tutorials:

  • 100+ Excel Interview Questions.
  • Drop Down Lists in Excel.
  • Find and Remove Duplicates in Excel.
  • Excel Text to Columns.

Excel Form Controls are objects that we can insert into the worksheet to work with data and handle the data as specified. For example, using these form controls in Excel, we can create a drop-down list in excelA drop-down list in excel is a pre-defined list of inputs that allows users to select an option.read more, list boxes, spinners, checkboxes, and scroll bars.

Table of contents
  • Excel Form Controls
    • How to use Form Controls in Excel?
      • Form Control 1: Button
      • Form Control 2: Combo Box
      • Form Control 3: CheckBox
      • Form Control 4: Spin Button
      • Form Control 5: List Box
      • Form Control 6: Group Box
      • Form Control 7: Label
      • Form Control 8: Scroll Bar
    • Things to Remember
    • Recommended Articles

“Form Controls” is available in Excel under the “Developer” tab excel.

Form Controls in Excel Example 1

As we can see, we have two categories, “Form Controls” and “Active X Controls.” In this article, we are concentrating only on “Form Controls.” The below image describes all the “Form Controls”  in Excel.

Form Controls in Excel Example 1.1

How to use Form Controls in Excel?

Now, we will see how to work with each in detail.

You can download this Form Controls Excel Template here – Form Controls Excel Template

Form Control 1: Button

This option is to draw a button and assign any macro name to it so that the assigned macro can run when we click this button.

Form Controls in Excel Example 9

Form Control 2: Combo Box

The combo box is our drop-down list. It works the same as the drop-down list, but combo box excelCombo Box in Excel is a type of data validation tool that can create a dropdown list for the user to select from the pre-determined list. It is a form control which is available in the insert tab of the developer’s tab.read more is considered an object.

We must select the “ComboBox” and draw anywhere on the worksheet area.

Form Controls in Excel Example 1.2

To insert values, we must create a day list in column A.

Example 1.3

Now, select the “Combo Box,” right-click and choose “Format Control.”

Form Controls in Excel Example 1.4

Now in the “Format Control” window, choose “Control.” Then, in the “Input range,” choose the month names range of cells. Then, click on “OK.”

 Example 1.5

Now, we can see the selected day list in the combo box.

Form Controls in Excel Example 1.6

Form Control 3: CheckBox

The checkbox is used to display the item selection. If checked, we can link to a certain cell to show the selection as “TRUE” and “FALSE” if unchecked.

We must first draw the checkbox on the worksheet.

Example 2

Then, right-click and choose the “Edit Text” option.

Form Controls in Excel Example 2.1

Change the default name from “Check Box1” to “Option.”

 Example 2.2

Again, right-click and choose “Format Control.”

Form Controls in Excel Example 2.3

Under the “Control” tab, we must choose “Unchecked” and give the “Cell link” to the D3 cell. Click “OK.”

 Example 2.4

Now, check the box to see the “TRUE” value in cell D3.

Form Controls in Excel Example 2.5

And uncheck the box to see the “FALSE” value.

Example 2.6

Form Control 4: Spin Button

Using the “Spin Button,” we can increment and decrement the value in the linked cell. We need to draw the spin button to see options.

Form Controls in Excel Example 3

Then, right-click on the button and choose “Format Control.”

 Example 3.1

Under the “Control” tab, we can make all the settings. We can set a minimum value, maximum value, and current value. Also, we can configure what should be the incremental and decremented value when the spin button is clicked. Click “OK.”

Form Controls in Excel Example 3.2

Now, if we click up the arrow of the spin button in cell A2 one, we can see the incremental value.

Example 3.3

And if we click on the down arrow of a spin button in cell A2, we can see every time it will be decreased by one.

Form Controls in Excel Example 3.4

Another thing is in the “Format Control” window, we have set 1 as the “Minimum value” and 12 as the “Maximum value.”

 Example 3.5

So, when we press the up arrow, it will increment by 1 until it reaches 12. After that, it will not increase.

Form Controls in Excel Example 3.6

Form Control 5: List Box

Using the list box in excelThe list box in Excel VBA is a list assigned to a variable with a variety of inputs to select from. It allows multiple options to be selected at the same time and can be added on a UserForm using the list box option.read more, we can create a list of items. Let’s first draw the box and then configure it.

 Example 4

For this list box, we will create a list of days.

Form Controls in Excel Example 4.1

Then, right-click on the “List Box” and choose “Format Control.”

 Example 4.2

Now, under the “Control” tab for “Input range,” choose the day list, and for “Cell link,” choose C10 cell. Since we have selected “Single” under the “Selection type,” we can select only one item at a time. Then, click “OK.”

Form Controls in Excel Example 4.3.0

Now, see the list of days in the list box.

Example 4.3.4

Now select any item from the list to see what we get in linked cell C10.

Form Controls in Excel Example 4.4

As we can see above, we have 6 as the value in cell C10. From the list box, we have selected “Saturday,” which is the 6th item, so the result in cell C10 is 6.

Form Control 6: Group Box

Using the group box, we can create multiple controls. We cannot interact with this; rather, it allows us to group other controls under one roof.

We must first draw the group box on the sheet.

Example 5

Then, right-click on the “Group Box” and choose “Format Control.”

Form Controls in Excel Example 5.1

Insert the radio buttonsIn Excel, radio buttons or options buttons record a user’s input. They can be found in the developer’s tab’s insert section. read more that we want to group.

Example 5.2.0

Form Control 7: Label

The label does not have any interactivity with users. It will only display the value entered or cell referencedCell reference in excel is referring the other cells to a cell to use its values or properties. For instance, if we have data in cell A2 and want to use that in cell A1, use =A2 in cell A1, and this will copy the A2 value in A1.read more value, i.e., Welcome.

Form Controls in Excel Example 6

Form Control 8: Scroll Bar

Using the Scroll Bar in ExcelIn Excel, there are two scroll bars: one is a vertical scroll bar that is used to view data from up and down, and the other is a horizontal scroll bar that is used to view data from left to right.read more, can increment and decrement the linked cell value. It is similar to “Spin Button.” But in a scroll bar, we can see the scroll moving upon increasing and decreasing.

We need to draw the scroll bar first on the sheet.

Example 7

Then, right-click on the button and choose “Format Control.”

Form Controls in Excel Example 8

Under the “Control” tab, we can make all the settings.

 Example 8.1

So, when we press the up arrow, it will increment by 1 until it reaches 12; then, it will not increase.

Form Controls in Excel Example 8.2.0

Things to Remember

  • This article is just an introduction to how form controls work in Excel.
  • Using these form controls in Excel, we can create interactive charts and dashboards.
  • Active X Controls are used primarily with VBA codingVBA code refers to a set of instructions written by the user in the Visual Basic Applications programming language on a Visual Basic Editor (VBE) to perform a specific task.read more.

Recommended Articles

This article is a guide to Form Controls in Excel. Here, we discuss how to use form controls in Excel using the button, combo box, spin button, list box, etc., along with examples and a downloadable Excel template. You may also look at these useful functions in Excel: –

  • VBA Combo Box
  • Excel Interactive Chart
  • Insert Button in Excel
  • Control Excel Charts

How to make a user input form in Excel and have the data stored on another worksheet at the click of a button.

This method uses a simple-to-create input form that anyone can make and maintain within the worksheet and does not cover UserForms that are made in VBA and that can be quite tricky for users to create and maintain.

This tutorial does use a macro to get the data from the input form to the worksheet where it will be stored but don’t worry, I will cover that step-by-step.

Sections:

Create the Input Form

Create the Macro to Store the Data

Full Macro

Notes

Create the Input Form

First, we create the form where the user will input the data. You can spend a lot of time or a little doing this but the most important thing is that it is easy for the user to understand what to do.

Here are some steps for a basic form that I like.

  1. Create a title and give it a title-like format:
    80f6ea752e77fa2e9c1c89f3f6993107.jpg
  2. Skip a row and then input the form field’s titles. Skip a row between each form field. This allows you to control the spacing between the fields and that can make it easier to use.
    Also apply some basic formatting to the title; I just make them bold.
    bfafdfac9e5d347d73de325791ed6407.jpg
  3. Adjust the spacing between each field by selecting the empty row between them while holding the Ctrl button.
    f3ab19ba983b30def963222bef5d5b5b.jpg
    Then, change the height of one and all will change at the same time.
    922514e9e1dfcc56485eebcea7d6d1c1.jpg
  4. Make column A just big enough to show the titles for the form fields. Then make column B small; we will use this column as a separator between the form input field and title.
    4dd0a5b61a8466c8b01e438f178cf05a.jpg
  5. Click the square in the upper left of the rows and columns or just hit Ctrl + A to select everything.
    Click the paint bucket in the Font box on the Home tab and select a grayish color for the background.
    You will now have something like this:
    c5222bdd52164857df202dccd152a521.jpg
  6. Select the cells in column C that are in the same row as the form field titles and make their background white.
    2cdafcf2a2621f0fc49d69700877dd5f.jpg
    If you want, you can add a full border around each white cell; some people like that.
  7. Time to add the button.
    Go to the Insert tab and click Shapes and select a Rounded Rectangle from the list.
    206be19059af2a07abe41710899b58f0.jpg
    Then, left-click on the mouse, hold, and drag until you have the desired size for the button.
    baba992e2b60ac45b70b6fc72b278ed5.jpg
    Make sure the button is selected and then go to the Format tab that will appear and click the bottom arrow in the Shape Styles section and select a pre-made one from there if you want.
    d7d8b13c7b726cd127ebf79d4e96897f.jpg
    Click the button again and type some text.
    63bdae9c54e4b878504328c19beb2063.jpg
    Hit the Esc key when finished and then go to the Home tab and change the formatting of the text like you would regular text in a cell.
    6662dfc01d809aa8fe4a7c769402b290.jpg
    Now we have a pretty decent form.
  8. Before we continue, I want to add a name to each input field. This will make creating the macro much easier.
    Select the white input field for first name and then look to the white box just above where it says column A, that is the Name Box and that is where we will type a name for this field; I named mine first_name. Once you type the name, you must hit Enter. (hint: you can’t use spaces in the name)
    67aba9b62c7981ac059bfed8134b1f9b.jpg
    Repeat this for the other fields until each one has a unique name.
    eacde0310cd32c7506e9c1603482588f.jpg
  9. To finish the form’s appearance, go to the View tab and look in the Show section.
    Uncheck Formula bar, Gridlines, and Headings.
    47493fdd90781bd17b64ed332dfaebca.jpg
  10. Resize the window and hide the ribbon menu (you can use a macro to completely hide the ribbon menu if you want).
    550640c087929658d9cea676589add29.png

Now you’ve got a nice little form.

You can also lock the worksheet and leave only the 4 white input fields unlocked if you want to protect the form and you can use Data Validation to make sure the user inputs the correct type of data.

Create the Macro to Store the Data

Now that you have a form, let’s make that Submit button work.

Here, I will show you how to make a macro, but it will be easy to follow, I promise.

  1. Figure out where you will put the data. You can have it emailed somewhere, inserted into a real database, or simply stored on a separate worksheet. I’ll be covering the last option here, so the first step is to create the worksheet and make sure we know where the data will go.
    I created a worksheet named Data and put a title for each column that will hold data.
    You also need to add a title row for your data in order for the macro I make here to work.
    67a65b23286f477dd585604359c0d4a7.jpg
  2. Time to create the macro. Hit Alt + F11 to go to the VBA window. It should look like this:
    07a50d1ec0aa8c90899d2d535c9c1ddc.jpg
  3. Go to Insert > Module.
    d678c70f017fc6045ef717f3c846336a.jpg
    A blank window will open:
    712dce2155b74bdd1740a2fad26f1263.jpg
  4. Type sub then a space and then the name you want to give the macro.
    9445e920dfcebbacacf7d3ba888a9ff3.jpg
    Hit Enter and it will automatically be formatted like this:
    719fadd2854d366b7459dbd62379037e.jpg
  5. To start the macro, I store the name of the worksheet where the input will be stored, the Data worksheet. This is something that you don’t have to do but it will help a lot if you ever change the name of the worksheets.
    f27400081227e5914aba87b66b3cf364.jpg
    The variable ws_output stores the text Data, which is just the name of the worksheet where the data will go.
    (Since we gave a unique name to all of our input fields in Step 8 of the first section of this tutorial, we do not need to store the name of the data Input worksheet.)
  6. Now, we need to find out what the next empty row on the data worksheet is so that we don’t overwrite anything.
    This piece of code will find that row and store it into a variable named next_row:
     next_row = Sheets(ws_output).Range("A" & Rows.Count).End(xlUp).Offset(1).Row
    


    This line of code can seem confusing but, to be honest, you don’t really need to know how it works except that ws_output needs to contain the name of the worksheet where you want to put the data and A is the column where you will put data that the user must always input; this column should not store optional data or you will end-up overwriting some data if the user chooses to leave that field blank.
    09d9cf0f9134dbc94c0c44856afc326d.jpg
    To learn more about this line of code, go to the tutorial here: find the next empty row in a worksheet

  7. We now know where the data should go and where the next empty row is; next, we just need to take the data from the Input worksheet and put it into the Data worksheet.
    Here is how it’s done with the First Name field.
     Sheets(ws_output).Cells(next_row, 1).Value = Range("first_name").Value
    


     ws_output is the variable that stores the name of the Data worksheet.
    Cells(next_row, 1) says where the data should go on the worksheet. next_row comes from the last step and says in which row the data will be placed. 1 is the column number where the data will go. The First Name value will go into column A and that is the first column, so a 1 goes there. For column B, we would use 2 instead of 1 and column C would be 3, etc.
    Range(«first_name») is what selects the value from the first name cell on the Input worksheet. Since I named that cell first_name in step 8 of the first section of this tutorial, I do not have to reference the worksheet on which it is located; I can simply put the name of the cell inside Range() and it will get the correct value.
    Value is in two places in this line of code and it is used to get the value of the first_name cell and to then put that value into the new cell on the Data worksheet.
    Here is the macro with the new line:
    5ef03b758be622b2aef15a80c0c0cc90.jpg

  8. Repeat Step 7 for every piece of data that you want to store.
    d107be40e3b2ef8866d5cac4aae2724a.jpg
    The three new lines here are:
     Sheets(ws_output).Cells(next_row, 2).Value = Range("last_name").Value
     Sheets(ws_output).Cells(next_row, 3).Value = Range("email").Value
     Sheets(ws_output).Cells(next_row, 4).Value = Range("account").Value
    


    These lines will get the last name, email, and account values and put them onto the Data worksheet.
    The only thing that is changed in each line is the column in which the data will be placed on the Data worksheet and the name of the cell from which we get the data.
    To get the last name value from the Input worksheet, I put last_name in the range method: Range(«last_name»).
    To put the last name value into the second column of the Data worksheet, I put a 2 into the cells method: Cells(next_row, 2).
    You can see that each line follows this pattern; the number of the column in the cells method is incremented by one, so each piece of data goes into the next column and the name of the cell in the range method is updated to get the desired piece of data.

  9. Now, go back to Excel, Alt + F11, and attach the macro to the Submit button.
    To do this, right-click the Submit button and click Assign Macro.
     2244d49ecb9be25e99a242fff4f93e8c.jpg
    Select the macro from the list and click OK.
    2b79469ce9010299aefe7b3bccfd7fb4.png
  10. It’s time to test everything! Let’s input some data.
    a7ef129ef3c138d574de53938c57ed36.jpg
    Click the Submit button, go to the Data tab, and you’ll see the data.
    27ca5e5d02b204f3ca963ab122c00669.jpg

Whew, so that was a lot of steps, but you should now have a fully functioning Input form and data storage worksheet in Excel.

There are a number of other things you can add to the macro to make this a bit more user-friendly, such as clearing the form when a successful entry has been made, showing an output message that the data was stored, hiding and locking the Data worksheet so that a user can’t easily change it by hand, and more. But, what I have shown you here is the creation of the core functionality of the Input form and storage system. Get this working first and then proceed to add those other features. I will also cover many of those features in other tutorials.

Full Macro

If you just want the macro that I made for this tutorial, here it is:

Sub data_input()

ws_output = "Data"

next_row = Sheets(ws_output).Range("A" & Rows.Count).End(xlUp).Offset(1).Row

Sheets(ws_output).Cells(next_row, 1).Value = Range("first_name").Value
Sheets(ws_output).Cells(next_row, 2).Value = Range("last_name").Value
Sheets(ws_output).Cells(next_row, 3).Value = Range("email").Value
Sheets(ws_output).Cells(next_row, 4).Value = Range("account").Value

End Sub

If you want a better understanding of this macro, read the section above called Create the Macro to Store the Data.

Notes

Not much to say about this one that I haven’t already said. I hope everything was clear and easy to understand but not too slow.

Make sure to download the workbook attached to this tutorial so you can get all of this in Excel (also, then you don’t have to start from scratch when building your own input form).

Similar Content on TeachExcel

Use a Form to Enter Data into a Table in Excel

Tutorial:
You can enter data into a table in Excel using a form; here I’ll show you how to do that….

Highlight, Sort, and Group the Top and Bottom Performers in a List in Excel

Tutorial:
How to highlight the rows of the top and bottom performers in a list of data.
This allows…

Get Data from Separate Workbooks in Excel

Tutorial: How to get data from separate workbooks in Excel. This tutorial includes an example using …

Formula to Get the Last Value from a List in Excel

Tutorial:
Formulas that you can use to get the value of the last non-empty cell in a range in Excel…

Loop through a Range of Cells in a UDF in Excel

Tutorial:
How to loop through a range of cells in a UDF, User Defined Function, in Excel. This is …

Excel Input Form with Macros and VBA

Tutorial:
Forms Course
How to make a data entry form in Excel using VBA and Macros — this allows yo…

Subscribe for Weekly Tutorials

BONUS: subscribe now to download our Top Tutorials Ebook!

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

Data Entry Forms is an extremely useful feature if inputting data is part of your daily work.

It can help you avoid the mistakes and make the data entry process faster. It also helps you focus on one record at a time!

It is a convenient and faster way to input records in Excel by displaying one row of information at a time without having to move from one column to another.

In this tutorial, we will show you How to Create Form in Excel for Data Entry.

Whenever I wanted to enter data in Excel, it would take me a very long time to input these records one by one, but I discovered a handy trick that can turn my Excel Table into a handy Excel Data Entry Form!

Create a Data Entry Form in Excel

Say goodbye to inputting entering data into this Table row by row by row by row….

Below, we will cover the Top 11 Excel Data Entry Form Tips and Tricks that will be beneficial for you:

  1. #1 – Create Form in Excel
  2. #2 – Add to Quick Access Toolbar (QAT)
  3. #3 – Access the Form anytime
  4. #4 – Browse through Records
  5. #5 – Edit Existing Record
  6. #6 – Search Criteria
  7. #7 – Restore a Record
  8. #8 – Data Validation in Forms
  9. #9 – Delete a Record
  10. #10 – Close the Form
  11. #11 – Keyboard Shortcuts for Data Entry Forms

Make sure to download the Excel Workbook below and follow along:

DOWNLOAD EXCEL WORKBOOK

Want to know how to use the Data Entry Form?

*** Watch our video and step by step guide below with free downloadable Excel workbook to practice ***

Watch it on YouTube and give it a thumbs-up!

Watch it on YouTube and give it a thumbs-up!

Watch it on YouTube and give it a thumbs-up!

1. Create Form in Excel

I will show you how easy it is to Create Form in Excel for Data Entry with the following quick video below (scroll further down to see the step by step instructions after you watch this awesome video).

*** Watch our video below on How to Create Form in Excel in 5 minutes!***

Create a Data Entry Form in Excel

DOWNLOAD OUR
FREE EXCEL GUIDES

In this tutorial, you have learned how to create form in Excel with minutes without using VBA!!

Follow the steps below:

STEP 1: Convert your Column names into a Table, go to Insert> Table

Create a Data Entry Form in Excel

Make sure My table has headers is also checked.

Create a Data Entry Form in Excel

STEP 2:Let us add the Form Creation functionality to understand how to make a fillable form in Excel.

Go to File > Options

Create a Data Entry Form in Excel

Create a Data Entry Form in Excel

STEP 3:Go to Customize Ribbon. 

Select Commands Not in the Ribbon and Form.  This is the functionality we need.

Click New Tab.

Create a Data Entry Form in Excel

STEP 4:Under the New Tab, select New Group, and click Add.

This will add Forms to a New Tab in our Ribbon.

Create a Data Entry Form in Excel

Notice that there is also a Rename button, you can use it to rename the New Tab and New Group into something more descriptive, like Form:

Create a Data Entry Form in Excel

STEP 5:Select your Table, and on your new Form tab, select Form.

Create a Data Entry Form in Excel

STEP 6: A new Form dialogue box will pop up!

Input your data into each section.

Click New to save it.  Repeat this process for all the records you want to add.

Press Close to get out of this screen and see the data in your Excel Table.

Create a Data Entry Form in Excel

You can now use this new form to continually input data into your Excel Table!

Create a Data Entry Form in Excel

2. Add to Quick Access Toolbar (QAT)

Now that you have learned how to create form in Excel, lets put them on your QAT for easy access.

To add to the quick access toolbar, follow the steps below:

STEP 1: Click on the small arrow right next to QAT.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

STEP 2: Click on More Commands from the dropdown list.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

STEP 3: In the Excel Options dialog box, select All Commands from Choose commands from list.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

STEP 4: Select Form from the list and then click on Add>>.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

STEP 5: Form is now available in the Customize Quick Access Toolbar. Click OK.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

Data Entry Form is now part of your Quick Access Toolbar.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

3. Access the Form anytime

To access the Excel Data Entry Form, click on any cell in the table and click on the Form icon in Quick Access Toolbar.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

If you try to access the form when you haven’t selected a cell within the data table, you will receive an error message like the one shown below:

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

4. Browse through Records

To navigate through the existing records, simply use the Find Previous and Find Next buttons available on the Data Entry Form.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

You can also use the scroll bar to go through the records one after the other.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

This will save time when you have a data with multiple columns and records.

5. Edit Existing Record

Use the Find Previous and Find Next buttons to search for the record to want to edit.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

Once you find the desired record, simply make the necessary edit and hit Enter in Excel.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

The data table will be updated with the changes made.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

6. Search Criteria

Using Wildcards

If you wish to search all entries containing the word “east” in the Region Column, you can do that by using the wildcard asterisk (*).

STEP 1: In the Data Entry Form, click on the Criteria button

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

STEP 2: In the Region field, type *east (to search all-region containing the word east)

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

STEP 3: Click Find Next to find the entries containing the word east.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

Excel Data Entry Form will find the three entries for you in this scenario!

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline 11 Excel Data Entry Form Tips and Tricks | MyExcelOnline 11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

Using greater or less than sign

If you want to search for persons having a salary greater than or equal to $75,000, you can do so by following the steps below:

STEP 1: In the Data Entry Form, click on the Criteria button

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

STEP 2: In the Salary field, type >=75000.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

STEP 3: Click Find Next to find all entries with a salary greater than or equal to $75,000.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline 11 Excel Data Entry Form Tips and Tricks | MyExcelOnline 11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

7. Restore a Record

Suppose you have accidentally deleted the first name of a record.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

And you don’t remember what was written in that field! Don’t panic.

You can use the Restore button in the Excel Data Entry Form and retrieve the data lost accidentally.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

The data will reappear in the respective field.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

One thing you need to keep in mind is that the Restore button is only useful if you haven’t hit Enter.

The moment you press the Enter button, the Restore button will become inactive and you won’t be able to revert back to the original data.

8. Data Validation in Forms

Even though you cannot directly add any data validation to the form. Any restriction created on the data table will still be in effect in the Forms.

Let’s see how!

Say, you add a list rule to the Region Column using Data Validation.

STEP 1: Select the Region Column.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

STEP 2: Go to Data Tab > Data Tools (Group) > Data Validation.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

STEP 3: In the Data Validation dialog box, click on the Allow dropdown and select List.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

STEP 4: In the Source field, type Northeast, Northwest, Southeast, Southwest, and click OK.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

Data Validation has now been inserted in the Region Column where you are only allowed to enter values present in the list (Northeast, Northwest, Southeast, Southwest).

STEP 5: Click on the Forms icon in QAT.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

STEP 6: Change the Region for Record 1 from Northeast to East and Click OK.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

Once you click OK, you will see an error message as below:

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

9. Delete a Record

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

STEP 1: Use the Scroll Bar to navigate to find the entry you want to delete.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

STEP 2: Simply, click on the Delete button.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

STEP 3: A confirmation message will appear on your screen, Click OK.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

The desired entry will be removed from the data table.

11 Excel Data Entry Form Tips and Tricks | MyExcelOnline

10. Close the Form

To close the dialog box for Data Forms, simply click on the Close button (X) on the top-right corner of the bix.

data entry

11. Keyboards Shortcuts for Data Entry Forms

You can use the following keyboard shortcuts to work faster when using Data Entry Forms:

  • Press Tab to go to the next field in the Excel Forms.
  • Press Enter to go to the next record in the Excel Forms.
  • Hit the Esc button on your keyboard to close the Excel Form.

This completes our tutorial on the Top 11 things you should know if Data Entry is what you do in Excel. It will not only make the process faster but also a lot more easier and fun!

Few things to keep in mind when using the Excel Data Entry Form are:

  • You can add a maximum of 32 fields per record.
  • You cannot print a data form record.
  • Before you hit Enter, you can restore any changes made to the data.

So, give it a try! I am sure you are gonna love it!!

You can know more about How to Create Form in Excel by going through this tutorial by Microsoft.

Free Excel Macros & VBA Webinar Training

Понравилась статья? Поделить с друзьями:
  • For sight word poem
  • Form employment application word
  • For questions 16 30 read the text below and think of the word
  • Form designer for word
  • For questions 1 8 cross out the word a b or c that