Memuat
Memuat
ARRAYFORMULA One Formula per Column for cafe recipes and cost of goods
0 views
One ARRAYFORMULA fills the whole column down to the last row. New rows are computed instantly without copying formulas.

Calculated columns fill automatically with no more dragging formulas.
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 |
|---|---|---|
| G2 | =ARRAYFORMULA(IF(Data!B2:B="","",Data!D2:D*Data!E2:E)) | Row total for the whole column. |
| H2 | =ARRAYFORMULA(IF(Data!B2:B="","",IFERROR(VLOOKUP(Data!B2:B,Master!A:B,2,FALSE),0))) | Price from Master for every item. |
| I2 | =ARRAYFORMULA(IF(Data!B2:B="","",UPPER(Data!B2:B))) | Item names in capitals. |
| J2 | =ARRAYFORMULA(IF(Data!D2:D="","",IF(Data!D2:D>=10,"Grosir","Eceran"))) | Wholesale or retail label from qty. |
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