
- MS Excel Basics
- Excel - Home
- Excel - Getting Started
- Excel - Explore Window
- Excel - Backstage
- Excel - Entering Values
- Excel - Move Around
- Excel - Save Workbook
- Excel - Create Worksheet
- Excel - Copy Worksheet
- Excel - Hiding Worksheet
- Excel - Delete Worksheet
- Excel - Close Workbook
- Excel - Open Workbook
- Excel - Context Help
- Editing Worksheet
- Excel - Insert Data
- Excel - Select Data
- Excel - Delete Data
- Excel - Move Data
- Excel - Rows & Columns
- Excel - Copy & Paste
- Excel - Find & Replace
- Excel - Spell Check
- Excel - Zoom In-Out
- Excel - Special Symbols
- Excel - Insert Comments
- Excel - Add Text Box
- Excel - Undo Changes
- Formatting Cells
- Excel - Setting Cell Type
- Excel - Setting Fonts
- Excel - Text Decoration
- Excel - Rotate Cells
- Excel - Setting Colors
- Excel - Text Alignments
- Excel - Merge & Wrap
- Excel - Borders and Shades
- Excel - Apply Formatting
- Formatting Worksheets
- Excel - Sheet Options
- Excel - Adjust Margins
- Excel - Page Orientation
- Excel - Header and Footer
- Excel - Insert Page Breaks
- Excel - Set Background
- Excel - Freeze Panes
- Excel - Conditional Format
- Working with Formula
- Excel - Creating Formulas
- Excel - Copying Formulas
- Excel - Formula Reference
- Excel - Using Functions
- Excel - Builtin Functions
- Advanced Operations
- Excel - Data Filtering
- Excel - Data Sorting
- Excel - Using Ranges
- Excel - Data Validation
- Excel - Using Styles
- Excel - Using Themes
- Excel - Using Templates
- Excel - Using Macros
- Excel - Adding Graphics
- Excel - Cross Referencing
- Excel - Printing Worksheets
- Excel - Email Workbooks
- Excel- Translate Worksheet
- Excel - Workbook Security
- Excel - Data Tables
- Excel - Pivot Tables
- Excel - Simple Charts
- Excel - Pivot Charts
- Excel - Keyboard Shortcuts
- MS Excel Resources
- Excel - Quick Guide
- Excel - Useful Resources
- Excel - Discussion
How to Automatically Enter Date When Data is Entered in a Column in Excel?
Have you considered whether Excel can automatically record the date of the value entered in the sheet? This can be done in Excel by applying this uncomplicated process to the sheet. For example, if you want to list the main events that occurred on a given day, you can directly enter the name of the event and the date will be generated automatically. This can save you a lot of time as there is no need to enter the date every time, and this cannot even completely use the auto-fill handle because the number of values will be unique and random. This tutorial will help you understand how we can automatically enter dates when data is entered in a column.
Automatically Enter Date When Data is Entered in a Column
Here we will insert VBA code for the sheet to complete our task. Let us see a straightforward process to understand how we can automatically enter dates when data is entered in a column. We need to use the help of a VBA application to complete our process; it cannot be done directly in Excel.
Step 1
Consider creating a new Excel sheet and right-clicking on the sheet name to open the VB application, then typing the programme into the text box as shown in the image below.
Example
Private Sub Worksheet_Change(ByVal Target As Range) 'Updated By Nirmal If Target.Cells.Count > 1 Then Exit Sub If Not Intersect(Target, Range("A2:A15")) Is Nothing Then With Target(1, 2) .Value = Date & " " & Time .EntireColumn.AutoFit End With End If End Sub

Step 2
Now save the sheet as a macro-enabled template and close the VBA application using the command "Alt + Q"; then, every time we enter the data in cells of column "A", the date will be shown in column "B".

Conclusion
In this tutorial, we used a simple example to demonstrate how we can automatically enter dates when data is entered in a column in Excel.
- Related Articles
- How to Auto-Sort Date When Date is Entered or Changed in Excel?
- How to Automatically Reapply Auto-Filter When the Data Changes in Excel?
- How to Automatically Hide Columns Based on Date in Excel?
- How to Automatically Open Files When Starting Excel?
- How to Auto Add/Enter Current Date/Time in a Cell with Double Clicking in Excel?
- How to Automatically Run a Macro When a Cell Formula Result Changes in Excel?
- How can we insert current date automatically in a column of MySQL table?
- How to Automatically Insert Rows in Excel?
- How to Automatically Refresh a Pivot Table in Excel?
- How to Auto-Populate Date in a Cell when its Adjacent Cell is Updated in Excel?
- How to Automatically Hide Specific Worksheets When Opening an Excel File?
- How to Automatically Protect All Worksheets When Closing an Excel Workbook?
- How to Automatically Fill Increment Cells in Excel?
- How to Automatically Remove Duplicates form a List in Excel?
- How to Automatically Link a Cell Color to Another in Excel?
