Memuat
Memuat
Automatic Coloring with Conditional Formatting for cafe recipes and cost of goods
0 views
Rows color themselves by rule, for example big values, empty status, or duplicates. Problems stand out without checking one by one.

A living table: problems and key data light up in color.
The real project file is available. It is not just the picture above: you get the working file with every formula in place. It can be downloaded after payment, and we send the download link by WhatsApp or email.
.xlsx workbook (.xlsx)
| Cell | Formula | What it does |
|---|---|---|
| H2 | =IF(G2>=2*AVERAGE(Data!$G:$G),"Besar","") | Flag transactions above 2x average. CF rule: =$G2>=2*AVERAGE($G:$G) |
| I2 | =IF(AND(B2<>"",F2=""),"Status kosong","OK") | Flag empty status. CF rule: =AND($B2<>"",$F2="") |
| J2 | =IF(COUNTIF(Data!$B:$B,B2)>1,"Berulang","Unik") | Flag repeated items. CF rule: =COUNTIF($B:$B,$B2)>1 |
| K2 | =IF(D2<=0,"Qty tidak valid","OK") | Flag zero or negative qty. CF rule: =$D2<=0 |
Columns of the Data sheet:
| Menu or Ingredient | Selling Price |
|---|---|
| Palm Sugar Iced Latte | 18,000 |
| Americano | 15,000 |
| Matcha Latte | 22,000 |
| Butter Croissant | 16,000 |
| Special Fried Rice | 20,000 |
| Fried Noodles with Egg | 17,000 |
| French Fries | 12,000 |
| Chocolate Toast | 13,000 |
| Iced Lemon Tea | 8,000 |
| Mango Smoothie | 14,000 |
The sample data is synthetic.
Yes. The picture above is only a preview. After payment we send the download link of the real project file (an .xlsx workbook) by WhatsApp or email.
No. The sample data is synthetic and only shows how the formulas behave. Replace it with your own data and the formulas keep working.
Yes, as a separate order. Message us on WhatsApp with a short description of your columns and what you want to see.
Sample data is synthetic. Google Sheets is a trademark of Google LLC.
Back to Google Sheets portfolio