How to Create a Database with a Form in Excel

What Is a Data Entry Form in Excel?

An Excel Data Form is a handy tool that simplifies data entry by allowing you to input one complete record at a time, without the need to scroll horizontally between columns. The below screenshot represents the interface of the Excel Form.

How to Create a Database in Excel with Form Keyboard Shortcut in Excel Form What Is Excel Form


Step 1 – Insert Dataset with Column Headings

  • Ensure your existing dataset includes column headings (e.g., Fruits, Product ID, States, Unit Price, and Sales).
  • Column headings are essential for using the Excel Form.

How to Create a Database in Excel with Form


Step 2 – Create an Excel Table

  • Select the entire dataset (including column headings) or place the cursor in any cell within the dataset.
  • Press CTRL + T to create an Excel table (alternatively, go to the Insert tab and select Table).
  • In the Create Table dialog box, check the box for My table has headers.

Create an Excel Table

  • Click OK to create the table.

How to Create a Database in Excel with Form


Step 3 – Add Forms to Ribbon or QAT (Quick Access Toolbar)

  • By default, Excel doesn’t provide the Form command in the ribbon.
  • To add it:
    • Go to File, click on Options or right-click the blank space in the Excel ribbon and choose Customize the Ribbon.
    • In the Excel Options dialog, click the New Tab option.

How to Create a Database in Excel with Form Adding Form Command in Excel Ribbon

    • Rename the new group as Form and select it.

How to Create a Database in Excel with Form

    • From the Choose commands from dropdown, pick All Commands.
    • Add the Form command to the group.

How to Create a Database in Excel with Form

  • Alternatively, add the Form command to the QAT:
    • Customize the QAT (upper side of the ribbon).
    • Choose More Commands.

Customize Quick Access Toolbar

    • Select the Form command from the All Commands list.
    • Press Add and OK.

How to Create a Database in Excel with Form

The Form command will be in the QAT as depicted in the below image.

How to Create a Database in Excel with Form


Step 4 – Input Data Using the Form

  • Choose any cell within the table.
  • Access the Form command from the New Tab or QAT.

How to Create a Database in Excel with Form

  • The entire table is automatically added to the Excel Form.
  • For example, if you’re observing the first record (e.g., Bananas), the Form will display it.

How to Create a Database in Excel with Form

Regardless of the cell you choose, the Form shows the first record.

Read More: How to Create a Simple Database in Excel VBA


Essential Tips

When you create a database in Excel with Form, you should know about these basic things that would be beneficial for you.

Tip 1 – To Add a New Record

When creating a database with the Form:

  • To add a new record:
    • Insert column headings and convert them into an Excel Table (press CTRL + T).

Adding a New Record

    • Select any cell within the table and use the Form command.
    • Manually enter data for each field (e.g., Fruits: Bananas) and click New.

How to Create a Database in Excel with Form Adding a New Record

You can easily add a new record.

Adding a New Record


Tip 2 – To Delete a Record

  • Locate the record (e.g., Blueberries at B10:F10 cells).

Deleting a Record

  • Scroll down after activating the Form command to find the desired record.

How to Create a Database in Excel with Form Deleting a Record

  • Click the Delete button.

Deleting a Record

  • You’ll get the following message. Press OK.

Deleting a Record

The record has been deleted.

Deleting a Record


Tip 3 – Updating or Editing a Record

  • Suppose you want to update the Sales value in cell F6 to $4000.
  • Go to the second record (2 of 7).
  • Type $4000 in the Sales box and press ENTER.

How to Create a Database in Excel with Form Updating or Editing a Record

Note: If the Restore button doesn’t work, simply press ENTER.

Updating or Editing a Record

Read More: How to Create a Database That Updates Automatically in Excel


Tip 4 – Searching with Criteria within the Database Using Form

To find a specific record (e.g., the State of Ohio):

Searching with Criteria

  • Click the Criteria button.

Searching with Criteria

  • Type Ohio in the box next to the States field.
  • Choose the Find Prev button to locate the previous record (1 of 7).

Searching with Criteria

Searching with Criteria

  • To find the next record, select the Find Next button (4 of 7).

How to Create a Database in Excel with Form Searching with Criteria within Form

Searching with Criteria

Read More: How to Create a Searchable Database in Excel


Tip 5 – Closing Excel Form

  • To close the Excel Form:
    • Click the Close icon in the upper right corner of the interface.
    • Alternatively, press the Close button (Esc key).

Closing Excel Form


Tip 6 – Keyboard Shortcut to Creating a Database in Excel Form

While working in the Excel Form:

  • Press TAB to move to the next field sequentially.

How to Create a Database in Excel with Form Keyboard Shortcut in Excel Form

  • Use SHIFT + TAB to go to the previous field.

How to Create a Database in Excel with Form Keyboard Shortcut in Excel Form

  • Press ENTER to navigate to the next record without scrolling down.

How to Create a Database in Excel with Form Keyboard Shortcut in Excel Form


Download Practice Workbook

You can download the practice workbook from here:


Related Articles

<< Go Back To Database in Excel | Learn Excel

 

Get FREE Advanced Excel Exercises with Solutions!
Md. Abdul Kader
Md. Abdul Kader

MD. ABDUL KADER is an engineer with a talent for Excel and a passion for VBA programming. To him, programming is like a time-saving wizard, making data manipulation, file handling, and internet interactions a breeze. His skill set extends to SWM, GIS, RS, and SPSS. He holds a B.Sc in Urban & Regional Planning from Chittagong University of Engineering and Technology and has shifted to become a content developer. In this role, he crafts technical content centred around... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo