Memuat
Memuat
Nested IF IFS SWITCH for laundry
0 views
Logic formulas decide discount, transaction tier and status label from the total. Three writing styles are compared so you can pick one.

Rule-based business decisions that run automatically.
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>=AVERAGE(Data!$G$2:$G$61)*1.5,"Besar",IF(G2>=AVERAGE(Data!$G$2:$G$61),"Sedang","Kecil")) | Transaction tier with nested IF against the average. |
| I2 | =IFERROR(IFS(G2>=AVERAGE(Data!$G$2:$G$61)*1.5,0.1,G2>=AVERAGE(Data!$G$2:$G$61),0.05,TRUE,0),IF(G2>=AVERAGE(Data!$G$2:$G$61)*1.5,0.1,IF(G2>=AVERAGE(Data!$G$2:$G$61),0.05,0))) | Discount percent with IFS. |
| J2 | =IFERROR(SWITCH(F2,Rekap!$B$2,"Status 1",Rekap!$C$2,"Status 2","Lainnya"),IF(F2=Rekap!$B$2,"Status 1",IF(F2=Rekap!$C$2,"Status 2","Lainnya"))) | Status label with SWITCH. |
| K2 | =IF(AND(D2>0,E2>0),G2*(1-IF(G2>=AVERAGE(Data!$G$2:$G$61)*1.5,0.1,IF(G2>=AVERAGE(Data!$G$2:$G$61),0.05,0))),0) | Total after discount when qty and price are valid. |
Columns of the Data sheet:
| Laundry Service | Price |
|---|---|
| Wash and Iron per Kg | 7,000 |
| Wash and Fold per Kg | 5,000 |
| Iron Only per Kg | 4,000 |
| Express 6 Hour Wash per Kg | 12,000 |
| Blanket per Piece | 25,000 |
| Bed Sheet Set | 20,000 |
| Suit or Blazer | 30,000 |
| Sneakers Cleaning | 35,000 |
| Large Stuffed Toy | 25,000 |
| Pickup and Delivery | 10,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. Excel is a trademark of Microsoft Corporation.
Back to Excel portfolio