Formulas Superbadge Unit
Build Lead Score and Rating Fields Step 1 - I built, and when I test is working but when I check the challenge, I'm getting this error "We inserted a lead record to validate the Lead_Score__c field based on your formula but didn't find the expected score. Make sure your formula adds all criteria as outlined in the scenario."
Try this formula
IF( Lead_Score__c < 10, IMAGE("/img/samples/stars_000.gif", "0 Star"),
IF( Lead_Score__c < 19, IMAGE("/img/samples/stars_100.gif", "1 Star"),
IF( Lead_Score__c < 29, IMAGE("/img/samples/stars_200.gif", " 2 Star"),
IF( Lead_Score__c < 39, IMAGE("/img/samples/stars_300.gif", " 3 Star"),
IF( Lead_Score__c < 49, IMAGE("/img/samples/stars_400.gif", "4 Star"), IMAGE("/img/samples/stars_500.gif", "5 Star"))))))