Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • Trending
  • NEWS
  • Blogs
  • Tips & Tricks
  • Website & Apps
  • Tech Tips
  • Tech Blogs
  • ChatGPT Blogs
  • Tech News
  • AI News
  • ChatGPT News
  • ChatGPT Tutorial
Open In App
Next Article:
How to Create Flowchart in Excel: Step-by-Step Guide
Next article icon

How to Create a Form in Excel - A Step by Step Guide

Last Updated : 12 Apr, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

Creating forms in Excel is an efficient way to capture and organize data, whether you’re tracking inventory, collecting survey responses, or entering client information. Excel forms are customizable and easy to use, making data entry faster and more organized, especially when handling large datasets. In this guide, you’ll learn various ways to create forms in Excel, including how to create a basic data entry form, build an interactive form with dropdowns, and develop more advanced forms using VBA.

Additionally, we’ll explore how to create an online form linked to Excel using Microsoft Forms, offering even more flexibility for collecting data. By the end of this article, you’ll have the skills to create a range of forms in Excel tailored to your needs.

How to Create a Basic Data Entry Form

In the below steps, you will learn how to create a Basic form in Excel:

Step 1: Prepare Your Data Table

  • Create a table with headers for your form fields (e.g., Name, Email, Age).
  • Go to Insert > Table to convert your data into a structured table.
How to Create a Form in Excel
Enter Data >> Go to Insert Tab >> Select Table>> Select the Range >> Press OK >> Preview your Table

Step 2: Enable the Form Tool

  • Click on File > Options > Customize Ribbon.
  • Under "Choose commands from," select Commands Not in the Ribbon.
  • Add the Form tool to the Quick Access Toolbar.
How to Create a Form in Excel
File >> Options >> Customize the Ribbon >> Choose " Commands Not in the Ribbon" >> Select "Form">> Click on Add>> Press OK

If you can't add the Form command button or option directly, follow these steps:

  • Click on New Tab and then Rename it >> Enter the name "Form" and click OK.
  • Click on New Group and then click Add.

Ensure the Form option is selected before clicking Add.

Step 3: Open the Form

  • Select any cell within your table.
  • Click the Form button from the Quick Access Toolbar.
  • A data entry form will appear, allowing you to add, delete, or navigate records.
How to Create a Form in Excel
Open the Form and Enter the Data

How to Create an Interactive Form with Dropdowns

Creating an interactive form with dropdowns in Excel makes data entry more user-friendly and accurate. Follow the below steps to create an Interactive Forms with Dropdowns:

Step 1: Set Up Your Data

  • Create a table for your form fields (e.g., Product Name, Category, Quantity).
  • On a separate sheet, create a list for your dropdown options (e.g., categories).
How to Create a Form in Excel
Prepare your Data

Step 2: Insert Dropdowns

  • Select the Cell for the Dropdown:
    • On your primary sheet, select the cell where you want the dropdown (e.g., the "Category" column in your form).
  • Open the Data Validation Tool:
    • Go to the Data tab on the ribbon.
    • Click Data Validation in the Data Tools group.
  • Configure the Dropdown in the Data Validation Dialog Box:
    • In the Settings tab:
      • Choose List from the "Allow" dropdown menu.
      • In the "Source" field, enter the range or reference to your list.
    • (This assumes your dropdown options are in cells A1:A5 on the "Dropdown Data" sheet.)
  • Click OK to apply the dropdown.
How to Create a Form in Excel
Select a Cell>> Go to Data Tab>>Select Data Validation>>Choose Options>> Click OK

Step 3: Customize the Form

  • Format the Form:
    • Highlight the form area and apply borders, background colors, or shading to make it visually distinct.
    • Use bold headers and consistent fonts for readability.
  • Add Labels and Instructions:
    • Include clear instructions near the dropdowns or form fields (e.g., "Select a Category from the dropdown").
    • You can use a text box (Insert > Text Box) to provide additional guidance.
  • Add Conditional Formatting (Optional):
    • Use Conditional Formatting to highlight specific cells based on the data entered.
    • For example, mark quantities below a certain threshold with a red fill.
How to Create a Form in Excel
Customize the Form

Step 4: Protect and Share the Form (Optional)

  1. Lock the Dropdown Cells:
    • Protect the worksheet to prevent users from editing dropdown options or structure.
    • Go to Review > Protect Sheet and set a password.
  2. Share the Form:
    • Save the file and share it with users for interactive data entry.

How to Create an Advanced Form with VBA

For more functionality, such as automated buttons for submitting or clearing data, you can use VBA (Visual Basic for Applications).

Step 1: Enable the Developer Tab

  • Go to File > Options > Customize Ribbon.
  • Check the Developer tab.
How to Create a Form in Excel
Go to File>> Click on Options >>Check the Developer Tab>> Click ok

Step 2: Add Form Controls

  • Go to Developer > Insert > Form Controls.
  • Add buttons, checkboxes, or text boxes to your form.
How to Create a Form in Excel
Go to Developer Tab>> Click on Insert >> Select the Icon

Step 3: Write VBA Code

  • Click on Developer > Visual Basic to open the VBA editor.
  • Write macros to perform actions like saving data or clearing fields.

Example VBA Code:

Sub SubmitForm()

Dim ws As Worksheet

Dim lastRow As Long

' Ensure the worksheet exists

On Error Resume Next

Set ws = ThisWorkbook.Sheets("Sheet6")

On Error GoTo 0

If ws Is Nothing Then

MsgBox "Worksheet 'Sheet6' does not exist!", vbExclamation

Exit Sub

End If


' Find the last row and add data

lastRow = ws.Cells(ws.Rows.Count, 1).End(xlUp).Row + 1

ws.Cells(lastRow, 1).Value = "Your Value 1" ' Replace with actual value

ws.Cells(lastRow, 2).Value = "Your Value 2" ' Replace with actual value


MsgBox "Data Submitted!", vbInformation

End Sub


Step 4: Assign Macros to Buttons

  • Right-click the button and choose Assign Macro.
  • Select the macro you want to link.
How to Create a Form in Excel
Right-Click , Select Assign Macro>> Select the Saved Macro>>Press ok

It will display a Message of "Data Submitted".

How to Create an Online Form Linked to Excel (Microsoft Forms)

If you want a cloud-based form, you can use Microsoft Forms and link it to Excel.

Step 1: Go to Microsoft Forms

  • Visit forms.microsoft.com and log in with your Microsoft account.

Step 2: Create a Form

  • Click on New Form and add questions (e.g., Name, Email, Feedback).

Step 3: Link to Excel

  • Once the form is complete, click on Responses > Open in Excel.
  • Responses will automatically populate an Excel sheet.

Types of Forms You Can Create in Excel

  • Basic Data Entry Form: Simplifies entering data into rows and columns.
  • Interactive Form with Dropdowns: Provides predefined options for better data accuracy.
  • Advanced Form with VBA: Includes automation and custom actions like submitting or clearing data.
  • Online Forms with Excel: Integrates with Microsoft Forms for cloud-based data collection.

Practical Applications of Excel Forms

  • Employee Feedback: Collect feedback from team members.
  • Inventory Management: Track stock and quantities.
  • Expense Tracking: Record expenses and calculate totals.
  • Project Management: Log tasks, deadlines, and status updates.
  • Customer Surveys: Collect customer feedback and suggestions.

Conclusion

Now that you know how to create a form in Excel, you can begin designing forms that make data collection easier and more organized, whether for personal use, business applications, or interactive surveys. From the basic data entry form to more advanced forms using VBA or online integration via Microsoft Forms, Excel offers a variety of tools to suit your specific needs. By applying the techniques in this guide, you’ll be able to create efficient, user-friendly forms that improve your workflow and ensure more accurate data entry.


Next Article
How to Create Flowchart in Excel: Step-by-Step Guide

M

mansisha8y75
Improve
Article Tags :
  • Excel
  • News
  • Microsoft Office
  • ExcelGuide

Similar Reads

  • How to Create Flowchart in Excel: Step-by-Step Guide
    A Flowchart is a valuable tool for visualizing processes, workflows, or decision-making paths, making it easier to communicate ideas and identify improvements. This article provides a clear, step-by-step guide on how to create a Flowchart in Excel, using its shapes and formatting tools to design cus
    6 min read
  • How to Create a Pie Chart in Excel - Step by Step Guide
    Pie charts are an excellent way to visualize proportions and illustrate how different components contribute to a whole. Whether you're analyzing market share, budget allocation, or survey results, pie charts make complex data easily understandable at a glance. This guide will walk you through how to
    6 min read
  • How to Add a Column in Excel: Step-by-Step Guide
    Need to organize your data better in Excel but unsure how to add a column without disrupting your existing setup? Whether you’re working with a simple list or a complex table, inserting columns is a fundamental skill that increases productivity and keeps your data structured. This guide covers 4 eas
    6 min read
  • How to Insert a Checkbox in Excel: Step-by-Step Guide
    How to Add Checkboxes in Excel: Quick Steps Enable the Developer Tab >>Go to Developer TabControl Group >> Click InsertSelect Checkboxes >>Place the CheckboxesLink the Checkbox to a CellCreating a checklist or adding interactive elements to your spreadsheet in Excel becomes much ea
    8 min read
  • How to Create a Budget in Excel: Step by Step Tutorial
    How to Make a Budget in Excel: Quick StepsSet up categories>>Enter Data Use Formulas >>Format the sheetCreate chartsPreview ResultsBudgeting is one of the most effective ways to take control of your finances, whether for personal or business use. Without a clear plan, expenses can quickl
    4 min read
  • How to Create an Array Formula in Excel?
    Array formulas in excel are important tools. A single formula can perform multiple calculations and replace thousand of useful formulas. Most of us have never used array functions in our excel sheet just because we don't know how to use these formulas. Array formulas is one of the most confusing exc
    10 min read
  • How to Protect a Sheet in Excel: Step by Step Guide
    How to Protect a Sheet in Excel- Quick Steps Right Click on the Worksheet Tab Select Protect Sheet >>Enter Password Select the Actions you want to allow the UsersClick OkWhen working with sensitive or shared data in Excel, ensuring the security of specific sheets is essential. Excel sheet prot
    8 min read
  • How to use Copilot in Excel with Examples (Step-by-Step Guide)
    As of 2024, Microsoft introduced a new feature called Copilot for Excel, part of the broader Microsoft 365 suite, designed to enhance productivity and streamline data manipulation using AI-powered tools. The introduction of Excel Copilot is transforming how professionals across industries manage and
    9 min read
  • How to Create Survey in Google Forms (8 Easy Steps)
    Creating a survey with Google Forms is a straightforward process that allows you to gather valuable information efficiently. Whether you're collecting feedback, conducting research, or organizing an event, Google Forms is a versatile tool that enables users to design customized surveys, quizzes, and
    6 min read
  • How to Create a Chart from Multiple Sheets in Excel
    Creating a chart from multiple sheets in Excel is a powerful way to consolidate data and visualize it in a meaningful way. Whether you're working with different datasets on separate sheets or need to compare data across multiple tabs, knowing how to create a chart from multiple sheets in Excel can s
    5 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences