Bird
Raised Fist0
Google Sheetsspreadsheet~10 mins

Find and replace in Google Sheets - Real Business Scenario

Choose your learning style10 modes available
Scenario Mode
👤 Your Role: You are a sales assistant at a retail company.
📋 Request: Your manager wants you to update the product names in the sales data because some product names have changed.
📊 Data: You have a sales data table with columns: Order ID, Product Name, Quantity, and Price. Some product names are outdated and need to be replaced with new names.
🎯 Deliverable: An updated sales data table where all old product names are replaced with the new product names.
Progress0 / 8 steps
Sample Data
Order IDProduct NameQuantityPrice
1001Blue T-shirt315
1002Red T-shirt215
1003Green T-shirt515
1004Blue T-shirt115
1005Yellow T-shirt415
1006Red T-shirt315
1007Green T-shirt215
1008Yellow T-shirt115
1
Step 1: Open the Google Sheets file containing the sales data.
Expected Result
You see the sales data table with Order ID, Product Name, Quantity, and Price columns.
2
Step 2: Click on the Edit menu, then select Find and replace.
Expected Result
The Find and replace dialog box opens.
3
Step 3: In the Find field, type 'Blue T-shirt'. In the Replace with field, type 'Navy T-shirt'.
Expected Result
The dialog is ready to replace all 'Blue T-shirt' entries with 'Navy T-shirt'.
4
Step 4: Make sure 'Search within formulas' is unchecked and 'Match entire cell contents' is checked to avoid partial replacements.
Expected Result
Settings are correct to replace only exact matches.
5
Step 5: Click Replace all to update all 'Blue T-shirt' entries to 'Navy T-shirt'.
Expected Result
All 'Blue T-shirt' product names are replaced with 'Navy T-shirt'.
6
Step 6: Repeat steps 3 to 5 for 'Red T-shirt' to 'Crimson T-shirt'.
Expected Result
All 'Red T-shirt' product names are replaced with 'Crimson T-shirt'.
7
Step 7: Repeat steps 3 to 5 for 'Green T-shirt' to 'Emerald T-shirt'.
Expected Result
All 'Green T-shirt' product names are replaced with 'Emerald T-shirt'.
8
Step 8: Review the updated Product Name column to confirm all replacements are correct.
Expected Result
Product names now show 'Navy T-shirt', 'Crimson T-shirt', 'Emerald T-shirt', and 'Yellow T-shirt' as expected.
Final Result
Order ID | Product Name    | Quantity | Price
---------------------------------------------
1001     | Navy T-shirt    | 3        | 15
1002     | Crimson T-shirt | 2        | 15
1003     | Emerald T-shirt | 5        | 15
1004     | Navy T-shirt    | 1        | 15
1005     | Yellow T-shirt  | 4        | 15
1006     | Crimson T-shirt | 3        | 15
1007     | Emerald T-shirt | 2        | 15
1008     | Yellow T-shirt  | 1        | 15
✓All old product names have been updated to the new names.
✓The sales data is now consistent with the current product catalog.
✓No partial or incorrect replacements occurred.
Bonus Challenge

Use a formula to create a new column that shows the total price per order by multiplying Quantity and Price.

Show Hint
In a new column, enter =C2*D2 and drag the formula down for all rows.

Practice

(1/5)
1. What does the Find and replace tool in Google Sheets do?
easy
A. It deletes all cells containing the searched text.
B. It creates a new sheet with replaced data automatically.
C. It searches for specific text and replaces it with new text in the sheet.
D. It formats cells based on the searched text.

Solution

  1. Step 1: Understand the purpose of Find and Replace

    The tool is designed to locate specific text or values in the sheet and replace them with new text or values.
  2. Step 2: Compare options with the tool's function

    Only It searches for specific text and replaces it with new text in the sheet. correctly describes this function. Options B, C, and D describe actions not performed by Find and Replace.
  3. Final Answer:

    It searches for specific text and replaces it with new text in the sheet. -> Option C
  4. Quick Check:

    Find and Replace = Search and update text [OK]
Hint: Find and Replace changes text quickly without formulas [OK]
Common Mistakes:
  • Thinking it creates new sheets automatically
  • Confusing replace with delete
  • Assuming it formats cells
2. Which of these is the correct way to open the Find and Replace tool in Google Sheets?
easy
A. Go to Edit menu and select 'Find and replace'.
B. Use the formula =FINDREPLACE() in a cell.
C. Right-click any cell and choose 'Find and replace'.
D. Press Ctrl + F and then click 'Replace' in the small search box.

Solution

  1. Step 1: Recall how to access Find and Replace

    The Find and Replace tool is accessed from the Edit menu by selecting 'Find and replace'.
  2. Step 2: Evaluate each option

    Press Ctrl + F and then click 'Replace' in the small search box. opens the simple Find box, not the full Find and Replace tool. Right-click any cell and choose 'Find and replace'. is incorrect because right-click does not show this option. Use the formula =FINDREPLACE() in a cell. is invalid because no such formula exists.
  3. Final Answer:

    Go to Edit menu and select 'Find and replace'. -> Option A
  4. Quick Check:

    Edit > Find and replace = Open tool [OK]
Hint: Use Edit menu for full Find and Replace tool [OK]
Common Mistakes:
  • Using Ctrl+F only opens simple search
  • Expecting right-click menu to have Find and Replace
  • Trying to use a formula for Find and Replace
3. You have a sheet with the word 'apple' in cells A1, A2, and A3. You use Find and Replace to replace 'apple' with 'orange' and check 'Match case'. If cell A1 has 'Apple' (capital A), which cells will be changed?
medium
A. All A1, A2, and A3 will change to 'orange'.
B. Only A2 and A3 will change to 'orange'.
C. Only A1 will change to 'orange'.
D. No cells will change.

Solution

  1. Step 1: Understand 'Match case' option effect

    When 'Match case' is checked, the search is case-sensitive. So 'apple' will not match 'Apple'.
  2. Step 2: Identify which cells match exactly

    Cells A2 and A3 contain 'apple' exactly, so they will be replaced. A1 has 'Apple' with capital A, so it won't change.
  3. Final Answer:

    Only A2 and A3 will change to 'orange'. -> Option B
  4. Quick Check:

    Match case = case-sensitive replace [OK]
Hint: Match case means exact letter case must match [OK]
Common Mistakes:
  • Ignoring case sensitivity and replacing all
  • Assuming 'Apple' matches 'apple' with Match case on
  • Replacing no cells by mistake
4. You tried to replace 'cat' with 'dog' but nothing changed. You had 'Cat' in your cells. What is the most likely reason?
medium
A. You had 'Match case' checked, so 'cat' did not match 'Cat'.
B. You forgot to click 'Replace all'.
C. You searched in formulas only, but 'Cat' was in values.
D. You used regular expressions incorrectly.

Solution

  1. Step 1: Analyze the case difference

    The searched text was 'cat' lowercase, but cells had 'Cat' with uppercase C.
  2. Step 2: Understand effect of 'Match case'

    If 'Match case' was checked, the search is case-sensitive, so 'cat' won't match 'Cat'. This explains why no replacements happened.
  3. Final Answer:

    You had 'Match case' checked, so 'cat' did not match 'Cat'. -> Option A
  4. Quick Check:

    Match case blocks case mismatches [OK]
Hint: Check 'Match case' if replacements don't happen [OK]
Common Mistakes:
  • Assuming Replace all was not clicked
  • Confusing formulas vs values search
  • Misusing regular expressions without need
5. You want to replace all phone numbers in the format (123) 456-7890 with 123-456-7890 using Find and Replace. Which option should you enable to do this efficiently?
hard
A. Enable 'Match case' and find '(123) 456-7890' exactly.
B. Use formulas to manually edit each phone number.
C. Use simple find '(123) 456-7890' and replace with '123-456-7890'.
D. Enable 'Search using regular expressions' and use \((\d{3})\) (\d{3})-(\d{4}) as find and $1-$2-$3 as replace.

Solution

  1. Step 1: Understand the need for pattern matching

    Phone numbers vary, so to replace all in that format, regular expressions help match the pattern.
  2. Step 2: Use regular expressions in Find and Replace

    Enabling 'Search using regular expressions' allows using patterns like \((\d{3})\) (\d{3})-(\d{4}) to find numbers and $1-$2-$3 to reformat them.
  3. Final Answer:

    Enable 'Search using regular expressions' and use \((\d{3})\) (\d{3})-(\d{4}) as find and $1-$2-$3 as replace. -> Option D
  4. Quick Check:

    Regex option = pattern replace [OK]
Hint: Use regex for pattern-based replacements [OK]
Common Mistakes:
  • Not enabling regex for pattern matching
  • Using exact text find for varying numbers
  • Trying manual edits instead of Find and Replace
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard