---
title: No-code workshop: build a quote calculator with visible formulas
description: Build a small calculator with a spreadsheet, validation and checkable outcomes, while recognizing its limits as a customer app.
date: 2026-11-22
url: https://caminhosolo.com.br/en/2026/11/no-code-quote-calculator-workshop/
tags: [no-code, spreadsheets, google-sheets, quotes]
---


This workshop builds a simple, checkable tool without writing a program: enter hours, an hourly reference and extra expenses to calculate a subtotal. We'll use Google Sheets, with no custom server or hosting setup.

**A spreadsheet is not automatically SaaS or a full customer-facing app.** Here it is our visual learning route. We can inspect formulas, provoke errors and compare the same behavior with AI-generated code.

> **By the end:** you'll have three numeric inputs, a validation message and a subtotal. We'll reuse exactly the same specification in the vibe-coding workshop. Use fictional names and amounts only.

## Set up your sheet

Create a new spreadsheet. In File → Settings, select the appropriate locale and function language. [Google documents these settings](https://support.google.com/docs/answer/58515). The formulas below use English function names and comma separators.

| Row | Column A | Column B |
| --- | --- | --- |
| 2 | Activity | Information website |
| 3 | Estimated hours | 5 |
| 4 | Hourly reference in BRL | 80 |
| 5 | Additional expenses in BRL | 30 |
| 6 | Input validation | Formula |
| 7 | Illustrative subtotal | Formula |

Format B4, B5 and B7 as currency and B3 as a number. Activity is descriptive and does not affect the calculation.

## Validate before doing the math

Put this formula in B6, using a sheet with English function names:

~~~text
=IF(OR(B3="",B4="",B5=""),"Fill every number",IF(OR(NOT(ISNUMBER(B3)),NOT(ISNUMBER(B4)),NOT(ISNUMBER(B5))),"Enter numbers",IF(OR(B3<0,B3>1000,B4<0,B4>1000000,B5<0,B5>1000000,B3<>ROUND(B3,2),B4<>ROUND(B4,2),B5<>ROUND(B5,2)),"Outside limits","OK")))
~~~

The first condition checks blanks, the second checks numeric values, and the third rejects negatives, out-of-range numbers and excess decimal places. If Google Sheets reports formula syntax errors, check the sheet's locale and [function reference](https://support.google.com/docs/table/25273).

Then in B7:

~~~text
=IF(B6="OK",ROUND(ROUND(B3*B4,2)+B5,2),"")
~~~

With 5 × R$ 80 + R$ 30 you should see **R$ 430.00**. Invalid inputs result in a blank subtotal. Optionally configure data validation in B3:B5 to reject bad entries during editing as well.

## Try cases that could reveal a bug

| Hours | Rate | Expenses | Expected |
| --- | --- | --- | --- |
| 5 | 80 | 30 | R$ 430.00 |
| 1.5 | 39.90 | 0.05 | R$ 59.90 |
| 0 | 0 | 0 | R$ 0.00 |
| blank | 80 | 30 | Message, no total |
| -1 | 80 | 0 | Error, no total |
| 1.123 | 80 | 0 | Error: excess precision |

The values are fictional, not real pricing advice. Don't stop after testing the happy path.

## Compare against a browser reference

The following demo was created as a reference for this trail. **It isn't an export from Google Sheets** or proof that a spreadsheet became a published app.

<figure class="cs-quote-demo">
  <figcaption><strong>Practice: a local-only, interactive quote example</strong>
    <p>Change the values, calculate, and copy your sample. No real clients, billing or account.</p></figcaption>
  <iframe src="/demos/no-code-vibe/quote.en.html" title="Fictional quote calculator" sandbox="allow-scripts" allow="clipboard-write" loading="lazy" referrerpolicy="no-referrer" style="display:block;width:100%;height:630px;max-width:100%;border:1px solid currentColor;border-radius:8px;background:#fff"></iframe>
  <p><a href="/demos/no-code-vibe/quote.en.html" target="_blank" rel="noopener">Open in a separate tab</a></p>
</figure>

Which version makes the rule clearer? Which helps a reader correct an invalid input? How does each handle changes after a result is calculated?

## Where the no-code solution ends

A shared sheet can expose information if permissions are misconfigured. It relies on an account and does not automatically implement separate customer organizations, billing or operational recovery.

Don't turn this classroom exercise into a multi-user commercial tool without addressing those boundaries.

Next, give the same [specification](/en/2026/11/specification-before-ai-prompt/) to an AI builder in the [vibe coding workshop](/en/2026/11/vibe-coding-quote-calculator-workshop/).

**References:** [Google Sheets formulas](https://support.google.com/docs/answer/46977) and [locale settings](https://support.google.com/docs/answer/58515).

