0
0
Google Sheetsspreadsheet~20 mins

Data validation rules in Google Sheets - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Data Validation Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
1:30remaining
Output of a dropdown list validation
You set a data validation rule in cell A1 to allow only the values: Apple, Banana, Cherry. What happens if you enter "Banana" in A1?
AThe cell accepts "Banana" without error.
BThe cell clears the input and stays empty.
CThe cell automatically changes "Banana" to "Apple".
DThe cell shows an error message and rejects "Banana".
Attempts:
2 left
💡 Hint

Think about what a dropdown list validation does when you enter a valid option.

Function Choice
intermediate
1:30remaining
Choosing the right validation for numbers
You want to restrict input in cell B2 to only whole numbers between 1 and 10 inclusive. Which data validation setting should you use?
AAllow: Number; Condition: Between; Minimum: 1; Maximum: 10; Reject input if invalid
BAllow: Text; Condition: Contains; Text: "1,2,3,4,5,6,7,8,9,10"
CAllow: Number; Condition: Greater than; Minimum: 0; Reject input if invalid
DAllow: Date; Condition: Between; Start date: 1; End date: 10
Attempts:
2 left
💡 Hint

Think about which validation type fits numbers and how to limit a range.

🎯 Scenario
advanced
2:00remaining
Preventing duplicate entries in a column
You want to prevent users from entering duplicate values in column C. Which data validation custom formula should you use in cell C2 (and apply down the column)?
A=ISUNIQUE(C2)
B=COUNTIF(C:C, C2)=1
C=COUNTIF(C$2:C2, C2)>1
D=C2<>""
Attempts:
2 left
💡 Hint

Think about how to count occurrences of the current cell value in the whole column.

data_analysis
advanced
1:30remaining
Effect of ignoring invalid data
You set a data validation rule on cell D1 to allow only dates after 2023-01-01, but you check the option "Show warning" instead of "Reject input". What happens if a user enters 2022-12-31?
AThe cell blocks entry and shows an error message.
BThe cell rejects 2022-12-31 and clears the input.
CThe cell automatically changes 2022-12-31 to 2023-01-02.
DThe cell accepts 2022-12-31 but shows a small warning icon.
Attempts:
2 left
💡 Hint

Consider the difference between "Show warning" and "Reject input" options.

🧠 Conceptual
expert
2:00remaining
Understanding data validation with INDIRECT function
You have a named range "Fruits" listing Apple, Banana, Cherry. You set data validation in cell E1 with Criteria: List from a range, and enter the formula =INDIRECT("Fruits"). What is the effect?
ACell E1 allows any text input without restriction.
BCell E1 shows an error because INDIRECT cannot be used in data validation.
CCell E1 shows a dropdown with Apple, Banana, Cherry as options.
DCell E1 shows a dropdown but with empty options.
Attempts:
2 left
💡 Hint

Think about how INDIRECT works with named ranges in data validation.