Skip to main content

Lesson 2.4 – AutoFill and Flash Fill

Lesson 2.4 – AutoFill and Flash Fill



AutoFill and Flash Fill are two powerful Excel tools that help you enter data faster and reduce repetitive work. AutoFill extends patterns and formulas, while Flash Fill recognizes patterns automatically and fills the remaining values for you.


1. What AutoFill Does

AutoFill uses the small square at the bottom-right corner of the active cell (the Fill Handle) to copy or extend data.

You can use AutoFill to:

  • Copy values
  • Extend sequences (1, 2, 3…)
  • Extend dates (Mon, Tue, Wed…)
  • Copy formulas and adjust references

2. Using AutoFill

Steps:

  1. Select a cell or a range.
  2. Drag the Fill Handle down, up, left, or right.
  3. Release the mouse to apply the pattern.

Examples:

  • Type January → drag → Excel fills February, March…
  • Type 1 and 2 → select both → drag → Excel continues 3, 4, 5…
  • Type 15/03/2024 → drag → Excel fills the following dates

3. AutoFill with Formulas

When you drag a formula, Excel automatically adjusts cell references.

Example:

  • =A1 * 2 → becomes =A2 * 2 when dragged down

This is essential for calculations across rows or columns.


4. What Flash Fill Does

Flash Fill recognizes patterns in your data and fills the remaining cells automatically. It is ideal for splitting, combining, or cleaning text.

Examples:

  • Extract first names from full names
  • Combine text (e.g., Name + Surname)
  • Format phone numbers
  • Rearrange text patterns

Flash Fill works best when the pattern is clear and consistent.


5. Using Flash Fill

Steps:

  1. Enter the first example of the desired pattern.
  2. Start typing the second example.
  3. Excel suggests the remaining values.
  4. Press Enter to accept.

You can also activate it manually via Data → Flash Fill.


6. AutoFill vs Flash Fill

AutoFill Flash Fill
Extends patterns and formulas Recognizes patterns in text
Works with numbers, dates, formulas Works mainly with text
Requires dragging Can work automatically

7. Practical Exercise

Practice AutoFill and Flash Fill with the following steps:

  1. Create a worksheet named Lesson_2_4_Practice.
  2. In column A, type January → use AutoFill to complete the year.
  3. In column B, type 1 and 2 → use AutoFill to extend to 20.
  4. In column C, enter a list of full names.
  5. In column D, type only the first name for the first entry.
  6. Use Flash Fill to extract all first names.
  7. In column E, combine first name + last name using Flash Fill.

Next Lesson

Lesson 2.5 – Basic Data Cleaning

Comments

Popular posts from this blog

Alfred Marshall – The Father of Modern Microeconomics

  Welcome back to the blog! Today we explore the life and legacy of Alfred Marshall (1842–1924) , the British economist who laid the foundations of modern microeconomics . His landmark book, Principles of Economics (1890), introduced core concepts like supply and demand , elasticity , and market equilibrium — ideas that continue to shape how we understand economics today. Who Was Alfred Marshall? Alfred Marshall was a professor at the University of Cambridge and a key figure in the development of neoclassical economics . He believed economics should be rigorous, mathematical, and practical , focusing on real-world issues like prices, wages, and consumer behavior. Marshall also emphasized that economics is ultimately about improving human well-being. Key Contributions 1. Supply and Demand Analysis Marshall was the first to clearly present supply and demand as intersecting curves on a graph. He showed how prices are determined by both what consumers are willing to pay (dem...

Fundamental Analysis Case Study NVIDIA

  Executive summary NVIDIA is analyzed here using the full fundamental framework: balance sheet, income statement, cash flow statement, valuation multiples, sector comparison, sensitivity scenarios, and investment checklist. The company shows exceptional profitability, strong cash generation, conservative liquidity and net cash, and premium valuation multiples justified only if high growth and margin profiles persist. Key investment considerations are growth sustainability in data center and AI, margin durability, geopolitical and supply risks, and valuation sensitivity to execution. The detailed numerical work below uses the exact metrics you provided. Company profile and market context Business model and market position Company NVIDIA Corporation, leader in GPUs, AI accelerators, and related software platforms. Core revenue streams : data center GPUs and systems, gaming GPUs, professional visualization, automotive, software and services. Strategic advantage : GPU architecture, C...

Behavioral Portfolio Theory (BPT) – Rethinking Investor Behavior and Portfolio Construction

  Traditional finance theories like Modern Portfolio Theory (MPT) assume that investors are perfectly rational and risk-averse, aiming to maximize utility by optimizing expected returns and variance. However, decades of research in behavioral finance have shown that investors often deviate from purely rational behavior. Behavioral Portfolio Theory (BPT) , introduced by Shefrin and Statman in 2000, offers a fresh perspective by integrating psychological and emotional factors into portfolio construction. What is Behavioral Portfolio Theory? Behavioral Portfolio Theory suggests that investors mentally segment their wealth into multiple “mental accounts” or layers, each with distinct goals, risk preferences, and expectations. Unlike MPT's single-layer approach focusing on an overall risk-return tradeoff, BPT models the portfolio as a layered pyramid , where each layer reflects different investor aspirations. For example: The bottom layer prioritizes capital preservation and safe...