Excel Tutorial

Excel Tutorial Shortcut Keys in Excel Formatting in Excel Notes in Excel Formats in Excel Cells and Ranges in Excel Excel Function and Formulas Conditional Formatting in Excel Data Validation in Excel Charts in Excel Excel Ribbon Toolbar Basics of Excel Spell Check in Excel Data Analysis in Excel AutoFill in Excel Goal Seek in Excel Solver in Excel Pivots Table in Excel Go-To Special function in Excel Blank cells in Excel Count Cells with Text in Excel Date and Time in Excel-VBA Dependent Drop-down List in Excel Operators in Excel Dependent Combo box in Excel VBA Error Bar in Microsoft Excel Excel Axes Excel File using Password Excel Unique Values Frequency Distribution in Excel Gauge Chart in Excel Histogram in Excel Sum Every Nth Row in Microsoft Excel SumIF Formula in Microsoft Excel Multiplication in Excel Unique Values in Excel Trendline in Excel Excel Themes Copying formula in Excel Check Marks in Excel Calculating the Last Day of the Month in Excel Calculating Age in Excel Insert Row in Excel

Functions

Excel MAX() Function Excel INT() Function Excel MOD() Function Excel ROUND() Function Excel ROUNDUP() Function Excel AVERAGE() Function Excel COUNT() Function Excel COUNTA() Function Excel COUNTBLANK() Function Excel MIN() Function Excel EDATE() Function Excel EOMONTH() Function Excel HOUR() Function Excel MINUTE() Function Excel SECOND() Function Excel TIME() Function Excel WORKDAY() Function Excel WORKDAY.INTL() Function Excel DAYS() Function Excel WEEKNUM() Function Excel WEEKDAY() Function Excel SMALL() Function Excel LARGE() Function Excel LEFT() Function Excel RIGHT() Function Excel MID() Function Excel FIND() Function Excel SEARCH() Function Excel EXACT() Function Excel SUBSTITUTE() Function Excel TEXT() Function Excel VALUE() Function Excel AND() Function Excel OR() Function Excel IFERROR() Function Excel IF() Function Excel Nested IF’s Function Excel IFNA() Function Excel COUNTIFS() Function Excel VLOOKUP() Function Excel HLOOKUP() Function Excel INDEX() Function Excel MATCH() Function Excel OFFSET () Function Averageif Function in Excel

How To

How to import Microsoft Access data into the Microsoft Excel How to use TODAY function in Excel How to Alphabetize in Excel How to remove duplicate values from excel How to lock cells in Excel How to create drop down in excel How to Delete Row in Microsoft Excel How to Highlight Duplicates Words in the Microsoft Excel How to print titles in Excel How to make use of the Wildcard in Excel How to Make Use of the F-Test in Excel How to make use of the Excel Autofit in Excel How to generate random numbers in Excel How to apply Advanced Filter in Excel How to use Index and Match in Excel

Misc

Absolute Value in Excel Adding Column in Excel Converting Units in Excel Count Characters in Excel Custom Sort Order in Excel Decimals in Excel Division in Excel Locate Maximum Values in Excel Nearest Multiple in Excel Paste Options in Excel Quarter Dates in Excel Row Difference in Excel Separate Strings in Excel Reverse List in Excel Array Formula in Excel What if Analysis Data Table in Excel Excel Shortcut Keys What is a spreadsheet in Excel?

AutoFill in Excel

AutoFill in Excel

Excel is known for its credibility to operate repeated and similar tasks automatically. For this purpose, it facilitates an inbuilt feature known as Autofill that recognizes the series of numbers or characters based on some patterns and automatically fill the cell with data.

Autofill function works when we type few data based on some pattern or universal data and drag down the cursor (a solid cross representation) and the data series gets automatically filled in Excel sheet.  This feature allows you to create the Excel spreadsheet quickly and efficiently. Thus, provides a relief by speeding up your work.

In this tutorial we will learn the various different ways to automate the auto fill function:

  1. Basic Auto Fill Method
  2. AutoFill for End to End data
  3. Autofill with two or more starting values
  4. Autofill Function for Dates & Time
  5. Fill Specific Cells
  6. AutoFill Using VBA

Basic AutoFill Method

  1. The first step is to type few entries in your excel data and select those cells.
AutoFill in Excel
  • At the bottom right corner of the selected cell you will notice a mini-toolbar (a square shaped blue colored downward pointing arrow) as Excel automatically adds an AutoFill button to the currently selected cell.
AutoFill in Excel
  • Drag the AutoFill handle downwards across the blank cells in the same row or column wherein your data is filled across the data series.
AutoFill in Excel
  • You will notice that excel has systematically filed the selected cells after recognizing the gap of 2 in between the numbers.
AutoFill in Excel
  • Similarly, you can try it function with characters. In the below image, we have used the abbreviation of months names as Jan, Feb, Mar,  etc,.
AutoFill in Excel
  • Select the first three cells and drag the autofill handle down. All the further months names will be filled automatically.
AutoFill in Excel
  • In this case if you select more than 12 cells, the month values will be repeated after the 12th cell. The universal things which are pre-defined and can not be extended further repeats their value, unlike week names, months, etc,.
AutoFill in Excel
  • While selecting, at the end of the bottom right corner of the selected cells, you will notice an AutoFill option box. Double on the box.
AutoFill in Excel

AutoFill for End to End data

One of the reasons that excel is widely used in corporate sectors is its efficiency in dealing with massive data. The basic AutoFill method is easy enough to automate your data by simply dragging your mouse. But it only seems easy when you are dealing with 100 or 200 rows or columns. Imagine in big corporates wherein you manage bulk of data stored across 10,000 to 20,000 rows and columns in the spreadsheet. Dragging the mouse cursor up to that extend would be cumbersome, time-taking and wasting your manual efforts.

To prevent the above challenges Excel has offered another trick to make the cursor dragging more efficient. Let’s see the steps to execute this method:

  1. In this method, instead of dragging the mouse cursor down column, press the shift key on the keyboard. Suddenly you will notice that now when you address your cursor to bottom right corner of the cell, instead of a plus icon, it’s an icon with two horizontal, parallel lines.
AutoFill in Excel
  • Double click on the parallel lines icon and Excel will automate the workflow by filling all the column wherein the adjacent column has some data. 
AutoFill in Excel

This method saves your countless efforts and hours wasted trying to drag the cursor across thousands of rows.

AutoFill Using VBA

Sub AutoFill_Method()
 Dim FstCol As String
 Dim FstRow As String
 Dim LstRow As String
 FstCol = InputBox("Please enter the column letter.")
 FstRow = InputBox("Please enter the row number.")
 LstRow = Range(FstCol & "65536").End(xlUp).Row 
 For i = FstRow To LstRow
   If Range(FstCol & i).Value = "" Then 
     Range(FstCol & (i - 1)).Copy Range(FstCol & i) 
   End If
 Next i
 End Sub