By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
A Hyper-Practical, Zero-Fluff Study Guide
You’re the Salesforce Admin for a growing SaaS company. Your sales team complains that reps keep entering invalid data—like closing deals with negative amounts or leaving critical fields blank. Meanwhile, your support team wastes hours manually correcting records because picklists don’t update based on other selections. Field Dependencies, Validation Rules, and Formula Fields are your Swiss Army knife for fixing this.
Why this matters in production:- Data integrity: Bad data = bad reports = bad decisions. Validation Rules prevent garbage in, garbage out.- User experience: Field Dependencies reduce cognitive load—users only see relevant options.- Automation: Formula Fields eliminate manual calculations, reducing human error.- Compliance: Validation Rules enforce business rules (e.g., "All Opportunities over $10K must have a signed contract").
Real-world scenario:You inherit a Salesforce org where sales reps keep entering Opportunities with: - Negative amounts.- Missing "Close Date." - "Stage" set to "Closed Won" but "Probability" left at 50%.
Your mission: Lock this down without writing code.
TRUE
ISPICKVAL()
ISBLANK()
Amount < 0
Annual_Revenue__c = Monthly_Revenue__c * 12
IF(StageName = "Closed Won", "Won", "Open")
Amount * Probability
FALSE
ISPICKVAL(StageName, "Closed Won")
TODAY() + 30
List_Price__c * (1 - Discount__c)
Opportunity
Goal: Make "Pricing Tier" depend on "Customer Type" (e.g., only show "Enterprise" pricing for "Enterprise" customers).
Customer_Type__c
SMB
Enterprise
Government
Pricing_Tier__c
Basic
Pro
Government Contract
Goal: Block Opportunities with negative amounts or missing Close Dates.
Prevent_Negative_Amount_Or_Missing_Close_Date
plaintext OR( Amount < 0, ISBLANK(CloseDate) )
plaintext "Opportunity Amount cannot be negative, and Close Date is required."
CloseDate
Amount = -100
Goal: Calculate "Weighted Revenue" (Amount × Probability) as a currency field.
Weighted_Revenue__c
plaintext Amount * (Probability / 100)
2
Amount = 1000
Probability = 50
500.00
NOT($Profile.Name = "System Administrator")
Account.Owner.Profile.Name
TEXT()
TEXT(StageName)
Probability
BLANKVALUE(Probability, 0)
#Error!
IF(Denominator = 0, 0, Numerator/Denominator)
ISNEW()
TODAY()
❌ Formula Field (read-only).
"How do you make a picklist field show only certain values based on another field?"
❌ Formula Field (doesn’t filter picklists).
"Which formula returns the day of the week for a date field?"
CASE(MOD(Date__c - DATE(1900, 1, 7), 7), 0, "Sunday", 1, "Monday", ...)
❌ TEXT(DAY(Date__c)) (returns day of month, not day of week).
TEXT(DAY(Date__c))
"How do you prevent users from entering a negative number in a currency field?"
Amount × Probability
SUM(Opportunities.Amount)
Create a Validation Rule that: 1. Blocks Opportunities where Stage = "Closed Won" but Probability ≠ 100.2. Shows the error next to the Probability field.
Stage = "Closed Won"
Probability ≠ 100
plaintext AND( ISPICKVAL(StageName, "Closed Won"), Probability <> 100 )
plaintext "Probability must be 100% for Closed Won Opportunities."
Why it works:- ISPICKVAL() checks if StageName is "Closed Won".- Probability <> 100 ensures Probability is 100.- AND() combines both conditions.
StageName
Probability <> 100
AND()
ISBLANK(field)
ISPICKVAL(field, "value")
IF(logical_test, value_if_true, value_if_false)
TEXT(picklist_field)
BLANKVALUE(field, default)
Final Tip:Start small. Pick one object (e.g., Opportunity), add one Validation Rule, one Formula Field, and one Field Dependency. Test it, then scale. Done is better than perfect.
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.