Bird
Raised Fist0
Google Sheetsspreadsheet~15 mins

UNIQUE function in Google Sheets - Real Business Scenario

Choose your learning style10 modes available
Scenario Mode
👤 Your Role: You are a sales analyst at a retail company.
📋 Request: Your manager wants a list of all unique products sold last month to analyze product variety.
📊 Data: You have a sales data table with columns: Order ID, Product Name, Quantity, and Sale Date.
🎯 Deliverable: Create a list of unique product names sold last month using the UNIQUE function.
Progress0 / 3 steps
Sample Data
Order IDProduct NameQuantitySale Date
1001Notebook52024-05-02
1002Pen102024-05-03
1003Notebook32024-05-04
1004Marker72024-05-05
1005Pen42024-05-06
1006Stapler22024-05-07
1007Notebook62024-05-08
1008Marker12024-05-09
1
Step 1: Select a blank cell where you want the unique product list to start, for example, cell F2.
Expected Result
2
Step 2: Enter the UNIQUE formula to extract unique product names from the Product Name column (B2:B9).
=UNIQUE(B2:B9)
Expected Result
The list shows: Notebook, Pen, Marker, Stapler
3
Step 3: Check that the list contains no duplicates and only the distinct product names sold last month.
Expected Result
Unique product names: Notebook, Pen, Marker, Stapler
Final Result
Unique Products Sold Last Month
------------------------------
Notebook
Pen
Marker
Stapler
✓There are 4 unique products sold last month.
✓Notebook and Pen are sold multiple times but appear once in the unique list.
✓This list helps focus on product variety without duplicates.
Bonus Challenge

Use the UNIQUE function combined with FILTER to list unique products sold only after May 5, 2024.

Show Hint
Use FILTER to select rows with Sale Date > DATE(2024,5,5), then apply UNIQUE on the filtered Product Name column.

Practice

(1/5)
1. What does the UNIQUE function do in Google Sheets?
easy
A. It counts how many cells have numbers.
B. It sums all numbers in a range.
C. It returns a list of values without any duplicates.
D. It sorts data alphabetically.

Solution

  1. Step 1: Understand the purpose of UNIQUE

    The UNIQUE function removes duplicate entries from a list or range.
  2. Step 2: Compare with other options

    Other options describe different functions like SUM, SORT, and COUNT, not UNIQUE.
  3. Final Answer:

    It returns a list of values without any duplicates. -> Option C
  4. Quick Check:

    UNIQUE removes duplicates = It returns a list of values without any duplicates. [OK]
Hint: UNIQUE means no repeats in your list [OK]
Common Mistakes:
  • Confusing UNIQUE with SUM or COUNT functions
  • Thinking UNIQUE sorts data
  • Assuming UNIQUE counts items
2. Which of these is the correct way to use the UNIQUE function on range A1:A10?
easy
A. =UNIQUE(A1:A10)
B. =UNIQUE(A1-A10)
C. =UNIQUE(A1;A10)
D. =UNIQUE(A1,A10)

Solution

  1. Step 1: Check the syntax of UNIQUE

    The UNIQUE function takes a range as a single argument, written as A1:A10.
  2. Step 2: Identify correct range notation

    Colon (:) is used to specify a range, so =UNIQUE(A1:A10) is correct. Other options use invalid separators or operators.
  3. Final Answer:

    =UNIQUE(A1:A10) -> Option A
  4. Quick Check:

    Range uses colon : = =UNIQUE(A1:A10) [OK]
Hint: Use colon : to select ranges in formulas [OK]
Common Mistakes:
  • Using comma or semicolon instead of colon for ranges
  • Using minus sign instead of colon
  • Putting multiple arguments separated by commas
3. Given this data in column A:
A1: Apple
A2: Banana
A3: Apple
A4: Orange
A5: Banana
What will =UNIQUE(A1:A5) return?
medium
A. Apple, Banana, Apple, Orange, Banana
B. Apple, Banana, Orange
C. Banana, Orange
D. Apple, Orange

Solution

  1. Step 1: List all unique values from A1:A5

    The values are Apple, Banana, Apple, Orange, Banana. Unique values are Apple, Banana, Orange.
  2. Step 2: Understand UNIQUE output

    UNIQUE removes duplicates and returns only the first occurrence of each unique item.
  3. Final Answer:

    Apple, Banana, Orange -> Option B
  4. Quick Check:

    UNIQUE removes repeats = Apple, Banana, Orange [OK]
Hint: UNIQUE keeps first of each item only [OK]
Common Mistakes:
  • Listing all items without removing duplicates
  • Missing some unique items
  • Assuming UNIQUE sorts the list
4. You wrote =UNIQUE(A1;A10) but got an error. What is the fix?
medium
A. Remove the equals sign: UNIQUE(A1;A10)
B. Add a second argument: =UNIQUE(A1:A10, TRUE)
C. Use commas instead: =UNIQUE(A1,A10)
D. Change semicolon to colon: =UNIQUE(A1:A10)

Solution

  1. Step 1: Identify the error cause

    Using semicolon between A1 and A10 is invalid syntax for range selection in Google Sheets.
  2. Step 2: Correct the range syntax

    Replace semicolon with colon to specify the range correctly: A1:A10.
  3. Final Answer:

    Change semicolon to colon: =UNIQUE(A1:A10) -> Option D
  4. Quick Check:

    Range uses colon : not semicolon ; [OK]
Hint: Ranges use colon :, not semicolon ; [OK]
Common Mistakes:
  • Using semicolon instead of colon for ranges
  • Adding unnecessary arguments
  • Removing equals sign from formula
5. You have this data in columns A and B:
A1: John, B1: Apple
A2: Mary, B2: Banana
A3: John, B3: Apple
A4: John, B4: Orange
A5: Mary, B5: Banana
What will =UNIQUE(A1:B5) return?
hard
A. John, Apple
Mary, Banana
John, Orange
B. John, Apple
Mary, Banana
C. John, Apple
Mary, Banana
John, Apple
John, Orange
Mary, Banana
D. Apple, Banana, Orange

Solution

  1. Step 1: Understand UNIQUE on multiple columns

    UNIQUE treats each row as a whole. It removes duplicate rows based on all columns.
  2. Step 2: Identify unique rows in A1:B5

    Rows are:
    1) John, Apple
    2) Mary, Banana
    3) John, Apple (duplicate of row 1)
    4) John, Orange
    5) Mary, Banana (duplicate of row 2)
    Unique rows are 1, 2, and 4.
  3. Final Answer:

    John, Apple
    Mary, Banana
    John, Orange
    -> Option A
  4. Quick Check:

    UNIQUE removes duplicate rows = John, Apple
    Mary, Banana
    John, Orange [OK]
Hint: UNIQUE on multiple columns removes duplicate rows [OK]
Common Mistakes:
  • Assuming UNIQUE works column-wise separately
  • Listing duplicates again
  • Only listing unique values from one column
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