Bird
Raised Fist0
Excelspreadsheet~10 mins

AutoFill and Flash Fill in Excel - Interactive Code Practice

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to fill cells with a series of numbers starting from 1.

Excel
Select cell A1 and enter 1. Then drag the fill handle down to cell A[1].
Drag options to blanks, or click blank then click option'
A5
B10
C20
D15
Attempts:
3 left
💡 Hint
Common Mistakes
Dragging too far and filling unwanted cells
Not starting with the number 1 in cell A1
2fill in blank
medium

Complete the code to use Flash Fill to separate first names from full names in column A into column B.

Excel
Type the first name from cell A2 into cell B2. Then select B2 and press [1] to activate Flash Fill.
Drag options to blanks, or click blank then click option'
ACtrl + C
BCtrl + V
CCtrl + E
DCtrl + X
Attempts:
3 left
💡 Hint
Common Mistakes
Using copy or paste shortcuts instead of Flash Fill
Not typing the example first before using Flash Fill
3fill in blank
hard

Fix the error in the instruction to fill dates incrementing by 1 day starting from 1/1/2024 in cell A1.

Excel
Enter 1/1/2024 in A1 and 1/2/2024 in A2. Then select both cells and drag the fill handle down to [1].
Drag options to blanks, or click blank then click option'
AA10
BA5
CA15
DA20
Attempts:
3 left
💡 Hint
Common Mistakes
Dragging too few cells and not filling enough dates
Dragging too far and filling unwanted dates
4fill in blank
hard

Fill both blanks to create a Flash Fill formula that extracts the domain from email addresses in column A into column B.

Excel
Type the domain from A2 into B2 (e.g., example.com). Then select B2 and press [1] to activate Flash Fill. If Flash Fill does not work, go to the Data tab and click [2].
Drag options to blanks, or click blank then click option'
ACtrl + E
BFlash Fill button
CCtrl + F
DSort button
Attempts:
3 left
💡 Hint
Common Mistakes
Using wrong shortcuts like Ctrl + F
Clicking unrelated buttons like Sort
5fill in blank
hard

Fill all three blanks to create a formula that uses AutoFill to create a series of multiples of 3 starting from 3 in cell A1.

Excel
Enter [1] in A1. Enter [2] in A2. Select both cells and drag the fill handle down to [3].
Drag options to blanks, or click blank then click option'
A3
B6
CA10
DA15
Attempts:
3 left
💡 Hint
Common Mistakes
Entering wrong starting numbers
Dragging too few or too many cells

Practice

(1/5)
1. What does the AutoFill feature in Excel do when you drag the fill handle down a column?
easy
A. It opens a new worksheet.
B. It deletes the selected cells automatically.
C. It formats the cells with colors and borders.
D. It copies or continues a pattern based on the selected cells.

Solution

  1. Step 1: Understand AutoFill behavior and analyze options

    AutoFill copies or continues a pattern when dragging the fill handle. Only 'It copies or continues a pattern based on the selected cells.' describes this behavior correctly; others describe unrelated actions.
  2. Final Answer:

    It copies or continues a pattern based on the selected cells. -> Option D
  3. Quick Check:

    AutoFill = copy or continue pattern [OK]
Hint: Drag fill handle to copy or continue patterns fast [OK]
Common Mistakes:
  • Thinking AutoFill deletes cells
  • Confusing AutoFill with formatting tools
  • Assuming AutoFill opens new sheets
2. Which keyboard shortcut triggers Flash Fill in Excel to automatically fill data based on a pattern?
easy
A. Ctrl + E
B. Ctrl + C
C. Ctrl + V
D. Ctrl + F

Solution

  1. Step 1: Recall Flash Fill shortcut and verify options

    Flash Fill is triggered by pressing Ctrl + E in Excel. Ctrl + C copies, Ctrl + V pastes, Ctrl + F finds text, so only Ctrl + E fits Flash Fill.
  2. Final Answer:

    Ctrl + E -> Option A
  3. Quick Check:

    Flash Fill shortcut = Ctrl + E [OK]
Hint: Use Ctrl+E to auto-fill based on pattern quickly [OK]
Common Mistakes:
  • Confusing Ctrl+E with copy or paste shortcuts
  • Trying Ctrl+F which is find, not fill
  • Not knowing Flash Fill shortcut
3. You have a column with full names like "John Smith" in column A. You type "John" in B1 and "Smith" in C1. You want to fill columns B and C for all rows using Flash Fill. What will happen if you select B2 and press Ctrl+E?
medium
A. Column B will fill with last names instead of first names.
B. Column B will remain empty because Flash Fill works only on numbers.
C. Column B will fill with first names extracted from column A.
D. Column B will copy the value from B1 to all selected cells.

Solution

  1. Step 1: Understand and apply Flash Fill behavior

    Flash Fill detects patterns like extracting first names from full names. Typing "John" in B1 shows first name pattern from column A; pressing Ctrl+E in B2 fills first names down column B.
  2. Final Answer:

    Column B will fill with first names extracted from column A. -> Option C
  3. Quick Check:

    Flash Fill extracts patterns from text [OK]
Hint: Type example, select next cell, press Ctrl+E to fill pattern [OK]
Common Mistakes:
  • Thinking Flash Fill works only on numbers
  • Expecting Flash Fill to copy exact cell values
  • Confusing first and last name extraction
4. You tried to use Flash Fill to separate dates in column A (like "2024-06-15") into day, month, and year in columns B, C, and D. But after pressing Ctrl+E in column B, nothing happens. What is the most likely reason?
medium
A. You need to use AutoFill instead of Flash Fill for dates.
B. You did not provide an example pattern in the first cell of column B.
C. Flash Fill only works with text, not dates.
D. Flash Fill requires the entire column to be selected before pressing Ctrl+E.

Solution

  1. Step 1: Check Flash Fill requirements and identify issue

    Flash Fill needs an example typed in the first cell (B1) to detect the pattern. Without it, Flash Fill cannot guess what to fill, so nothing happens.
  2. Final Answer:

    You did not provide an example pattern in the first cell of column B. -> Option B
  3. Quick Check:

    Flash Fill needs example input first [OK]
Hint: Always type example before Ctrl+E for Flash Fill [OK]
Common Mistakes:
  • Assuming Flash Fill works without example input
  • Thinking Flash Fill can't handle dates
  • Trying to select whole column before Flash Fill
5. You have a list of email addresses in column A like "jane.doe@example.com". You want to use Flash Fill to extract just the username part (before the @) into column B. You type "jane.doe" in B1 and press Ctrl+E in B2, but Flash Fill fills the entire column with "jane.doe" instead of extracting usernames. What should you do to fix this?
hard
A. Type the correct username for B2 manually, then press Ctrl+E again.
B. Use AutoFill by dragging the fill handle instead of Flash Fill.
C. Format column B as text before using Flash Fill.
D. Select the entire column B before pressing Ctrl+E.

Solution

  1. Step 1: Understand Flash Fill pattern learning and how to fix

    Flash Fill learns patterns from examples in consecutive cells. Typing only B1 causes it to copy that value; type correct username in B2 manually, then press Ctrl+E to learn the extraction pattern and fill correctly.
  2. Final Answer:

    Type the correct username for B2 manually, then press Ctrl+E again. -> Option A
  3. Quick Check:

    Flash Fill needs multiple examples to learn pattern [OK]
Hint: Give Flash Fill 2+ examples to learn pattern well [OK]
Common Mistakes:
  • Using AutoFill instead of Flash Fill for pattern extraction
  • Not typing second example to guide Flash Fill
  • Thinking formatting affects Flash Fill behavior