YUNOVA · Excel for work · Module 11: Conditional Formatting (Intermediate)

Rule hierarchy/custom formula rules

Notes for offline study · 30 November 2026

Rule hierarchy/custom formula rules

Key points

  • Custom rule: New Rule > "Use a formula to determine which cells to format"। Formula TRUE हो तो format लगता है।
  • पूरी row रंगनी हो: A2:F100 select करके =$E2="Pending"—column पर $, row पर नहीं। Formula पहली cell के हिसाब से लिखें।
  • Manage Rules में ऊपर वाला rule पहले लगता है; एक ही property (जैसे fill) पर दो rules टकराएँ तो ऊपर वाला जीतता है।
  • "Stop If True" tick हो तो वह rule TRUE होने पर उस cell पर नीचे के rules नहीं लगते। "Applies to" range ज़रूर जाँचें।
  • Overdue काम: =AND($D2<TODAY(),$E2<>"Done")—due date निकल गई और status Done नहीं। TODAY() रोज़ अपने-आप बदलता है।
  • अगले 7 दिन में due: =AND($D2>=TODAY(),$D2<=TODAY()+7)। आसान cases में Highlight Cells Rules > A Date Occurring।
  • Errors पकड़ना: "Format only cells that contain" > Errors, या =ISERROR(A2)। ज़रूरी खाली cells के लिए Blanks।
  • Weekend dates: =WEEKDAY($A2,2)>5 (type 2 में Monday = 1 … Sunday = 7)। Audit rules पहले छोटे sample पर test करें।

Free on YUNOVA · yunova.in · Sign in to add your own lesson notes to this sheet.