{"id":"sheet-sales-quota-color-skip-ramping","audience":"sales","category":"spreadsheets","track":"data","technique":"constraints","title":"Color quota attainment without punishing ramping reps","free":false,"task":"You want the Q4 Attainment sheet (A2:F40) to color whole rows green at 100% of quota or more and red below 70%, but reps marked Ramping in column F must never be colored red. Ask for exactly 3 numbered lines: Green: with its custom formula, Red: with its custom formula, and Apply to: with the range. Plain text, under 70 words.","materialLabel":"Your attainment sheet (attached to your prompt automatically)","material":"Sheet: Q4 Attainment (Google Sheets)\n\nA Rep | B Region | C Quota | D Closed | E Attainment | F Status\nMia Park | West | 120,000 | 132,000 | 110% | Full\nJon Reyes | West | 120,000 | 72,000 | 60% | Full\nSasha Ivers | East | 60,000 | 24,000 | 40% | Ramping\nOmar Diallo | East | 120,000 | 90,000 | 75% | Full\nLia Chen | Central | 60,000 | 66,000 | 110% | Ramping\n\nNotes:\n- E is a percent stored as a decimal (110% is 1.1)\n- Status is Full or Ramping (new hires in their first 6 months)\n- Last quarter two new hires saw their rows go red in the team meeting and one quit\n- 39 reps, rows 2-40","rules":[{"type":"numberedItems","count":3},{"type":"maxWords","max":70},{"type":"plainText"}],"mistakes":[{"title":"Forgetting ramping reps","why":"The AI's red rule colors new hires, which is what happened last quarter.","fix":"Add: \"Never color Ramping reps red.\"","checks":["r1"]},{"title":"Using 100 instead of 1","why":"Percents are stored as decimals, so =E2>=100 never fires.","fix":"Add: \"E is a decimal: 100% is 1.\"","checks":["r0","r1"]},{"title":"Coloring one cell, not the row","why":"Without $ on the column, the rule only works in one column.","fix":"Add: \"Color whole rows; lock columns with $.\"","checks":["r2"]},{"title":"Getting menu steps","why":"The AI explains where to click instead of giving the rules.","fix":"Say: \"Exactly 3 lines: Green:, Red:, Apply to:. Plain text.\"","checks":["numberedItems","maxWords","plainText"]}],"promptHints":[{"label":"Protects ramping reps","patterns":["ramping","new hire","status"]},{"label":"Says how percents are stored","patterns":["decimal","1\\.0|>=\\s*1\\b","stored"]},{"label":"Colors whole rows","patterns":["whole row","\\$e2","a2:f40"]},{"label":"Names the 3 lines","patterns":["green:","red:","apply to"]},{"label":"Asks for plain text","patterns":["plain","no bold","no markdown"]}],"hint":"Color rules can embarrass people. Say who must never turn red, and how the percents are stored.","rubricLabels":["The Green: formula checks attainment at or above 100% using the decimal ($E2>=1), with or without a Ramping check","The Red: formula checks attainment below 70% ($E2<0.7) and that Status isn't Ramping (for example =AND($F2<>\"Ramping\",$E2<0.7))","Both formulas lock the column with $ (like $E2, $F2) so whole rows color, and the Apply to: line gives A2:F40"]}