Module: M4-R5: Internet of Things (IoT)
Chapter: Ch1 Computer Intro
Conditional Formatting in LibreOffice Calc allows users to automatically change the appearance of cells—such as their font color, background color, or borders—based on specific conditions or formulas.
It helps highlight key trends, identify outliers, and visualize data patterns dynamically.
Below is a sample dataset you can use to practice conditional formatting in LibreOffice Calc:
| Student Name | Subject | Marks | Grade | Submission Date |
|---|---|---|---|---|
| Arjun | Math | 85 | A | 2025-10-25 |
| Priya | Science | 42 | C | 2025-09-10 |
| Rahul | English | 78 | B | 2025-11-01 |
| Neha | Math | 36 | D | 2025-08-30 |
| Vikas | Science | 90 | A+ | 2025-10-20 |
| Simran | English | 75 | B | 2025-11-02 |
| Anita | Math | 55 | B | 2025-10-15 |
| Deepak | Science | 28 | F | 2025-07-25 |
| Rohit | English | 64 | B | 2025-10-29 |
| Kavita | Math | 82 | A | 2025-09-28 |
Use the above data to apply different types of conditional formatting examples below.
C2:C11 for marks).Example: Highlight marks above 75 in green.
C2:C11Cell value > 75Example: Highlight marks below 40 in red.
Cell value < 40A2:A11COUNTIF($A$2:$A$11;A2)>1E2:E11E2< TODAY()A2:E11MOD(ROW();2)=0C2:C11C2>=LARGE($C$2:$C$11;3)G1.A2:A11A2=$G$1| Condition Type | Formula / Criteria | Applied Range | Formatting |
|---|---|---|---|
| High Marks | Cell value > 75 | C2:C11 | Green Background |
| Low Marks | Cell value < 40 | C2:C11 | Red Background |
| Duplicate Names | =COUNTIF($A$2:$A$11;A2)>1 | A2:A11 | Yellow Background |
| Old Dates | =E2| E2:E11 | Red Background | |
| Top 3 Scores | =C2>=LARGE($C$2:$C$11;3) | C2:C11 | Bold + Green |
Conditional formatting makes it easier to analyze and visualize data at a glance. Using the above examples, users can color-code marks, detect duplicates, and visually enhance spreadsheets for better decision-making.