Bird
Raised Fist0
Google Sheetsspreadsheet~10 mins

Add-ons and extensions in Google Sheets - 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 open the Extensions menu in Google Sheets.

Google Sheets
Click on the [1] menu to find add-ons.
Drag options to blanks, or click blank then click option'
AFile
BView
CEdit
DExtensions
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'File' or 'Edit' instead of 'Extensions'.
2fill in blank
medium

Complete the code to install an add-on from the Google Workspace Marketplace.

Google Sheets
Go to Extensions > [1] add-ons to browse and install.
Drag options to blanks, or click blank then click option'
AManage
BUpdate
CGet
DRemove
Attempts:
3 left
💡 Hint
Common Mistakes
Selecting 'Manage' or 'Remove' instead of 'Get'.
3fill in blank
hard

Fix the error in the code to open the add-on's sidebar.

Google Sheets
After installing, click Extensions > [1] > Open sidebar.
Drag options to blanks, or click blank then click option'
AManage add-ons
BYour add-on name
CGet add-ons
DSettings
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'Manage add-ons' or 'Get add-ons' instead of the add-on name.
4fill in blank
hard

Fill both blanks to write a formula that uses an add-on function named MYFUNC.

Google Sheets
= [1] (A1, [2])
Drag options to blanks, or click blank then click option'
AMYFUNC
BB2
CSUM
DA2
Attempts:
3 left
💡 Hint
Common Mistakes
Using built-in functions like SUM instead of the add-on function.
5fill in blank
hard

Fill all three blanks to write a script snippet that opens an add-on sidebar in Google Sheets.

Google Sheets
function showSidebar() {
  var ui = SpreadsheetApp.getUi();
  var html = HtmlService.createHtmlOutputFromFile('[1]')
    .setTitle('[2]')
    .setWidth([3]);
  ui.showSidebar(html);
}
Drag options to blanks, or click blank then click option'
ASidebar
BMy Add-on Sidebar
C300
DCode
ESettings
F400
Attempts:
3 left
💡 Hint
Common Mistakes
Using wrong file names or titles, or setting width too small or too large.

Practice

(1/5)
1. What is the main purpose of add-ons in Google Sheets?
easy
A. To change the spreadsheet's background color
B. To add new tools and features without writing code
C. To create charts manually
D. To delete rows automatically

Solution

  1. Step 1: Understand what add-ons do

    Add-ons provide extra tools and features that are not built-in by default.
  2. Step 2: Compare options with add-ons purpose

    Only To add new tools and features without writing code describes adding new tools without coding, which matches add-ons' purpose.
  3. Final Answer:

    To add new tools and features without writing code -> Option B
  4. Quick Check:

    Add-ons = new tools without coding [OK]
Hint: Add-ons = extra tools without coding [OK]
Common Mistakes:
  • Thinking add-ons change colors only
  • Confusing add-ons with manual chart creation
  • Assuming add-ons delete data automatically
2. Which menu in Google Sheets do you use to install add-ons?
easy
A. Extensions
B. File
C. View
D. Insert

Solution

  1. Step 1: Recall where add-ons are installed

    Add-ons are installed from the Extensions menu in Google Sheets.
  2. Step 2: Match the correct menu option

    Among the options, only Extensions is the correct menu for add-ons.
  3. Final Answer:

    Extensions -> Option A
  4. Quick Check:

    Install add-ons from Extensions menu [OK]
Hint: Add-ons come from Extensions menu [OK]
Common Mistakes:
  • Choosing File menu instead of Extensions
  • Selecting Insert or View menus incorrectly
  • Not knowing where to find add-ons
3. You installed an add-on that automatically formats dates in your sheet. What will happen when you enter a date like 3/14/2024?
medium
A. The date will stay as plain text without changes
B. The sheet will show an error message
C. The add-on will format the date according to your chosen style
D. The date will be deleted automatically

Solution

  1. Step 1: Understand add-on behavior

    The add-on is designed to format dates automatically when entered.
  2. Step 2: Predict the effect on date input

    When you enter a date, the add-on changes its appearance to the chosen format, not deleting or ignoring it.
  3. Final Answer:

    The add-on will format the date according to your chosen style -> Option C
  4. Quick Check:

    Date formatting add-on changes date style [OK]
Hint: Add-ons automate tasks like formatting [OK]
Common Mistakes:
  • Thinking add-ons delete data
  • Assuming no change happens to input
  • Expecting error messages from formatting add-ons
4. You installed an add-on but it does not appear in the Extensions menu. What is the most likely reason?
medium
A. Add-ons only work on mobile apps
B. Google Sheets does not support add-ons
C. You need to refresh the browser to see the add-on
D. The add-on was not installed properly or needs authorization

Solution

  1. Step 1: Check installation and permissions

    If an add-on is missing, it often means it was not installed fully or needs permission to run.
  2. Step 2: Evaluate other options

    Google Sheets supports add-ons, refreshing may help but usually authorization is needed, and add-ons work on desktop, not only mobile.
  3. Final Answer:

    The add-on was not installed properly or needs authorization -> Option D
  4. Quick Check:

    Missing add-on = install or authorize issue [OK]
Hint: Missing add-on? Check install and permissions [OK]
Common Mistakes:
  • Assuming Google Sheets lacks add-on support
  • Ignoring authorization prompts
  • Thinking refresh alone fixes missing add-ons
5. You want to automate sending emails from Google Sheets using an add-on. Which of these steps is NOT required?
hard
A. Write complex scripts manually in the sheet
B. Authorize the add-on to access your Gmail account
C. Install an email automation add-on from Extensions
D. Set up the email template and recipient list in the add-on

Solution

  1. Step 1: Understand add-on automation

    Add-ons automate tasks without needing manual script writing.
  2. Step 2: Identify unnecessary step

    Writing complex scripts manually is not needed because the add-on handles automation.
  3. Final Answer:

    Write complex scripts manually in the sheet -> Option A
  4. Quick Check:

    Add-ons automate without manual scripts [OK]
Hint: Add-ons save scripting effort [OK]
Common Mistakes:
  • Thinking manual scripts are needed with add-ons
  • Skipping authorization steps
  • Not setting up templates in add-ons