Skip to content

Commit

Permalink
Merge pull request #4172 from 18F/beechnut-patch-1
Browse files Browse the repository at this point in the history
Update 2024-11-05-three-ways-to-write-fearless-spreadsheet-formulas.md
  • Loading branch information
adunkman authored Jan 30, 2025
2 parents cdf9a40 + 5ba1b96 commit b0d645e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,10 @@ How does naming values like this help make our formulas better? Well, we can use

First, let's write the story of our code, following the order of Avdi's steps.

Gather input: Get the number of visitors in the quarter and the number of days in the quarter
Perform work: Divide the number of visitors by the number of days to get the rate, then round the rate
Handle failure: Handle when there are zero days elapsed at the start of a quarter
Deliver results: Format and present the rate
- **Gather input**: Get the number of visitors in the quarter and the number of days in the quarter
- **Perform work**: Divide the number of visitors by the number of days to get the rate, then round the rate
- **Handle failure**: Handle when there are zero days elapsed at the start of a quarter
- **Deliver results**: Format and present the rate

Let's translate these steps, in this order, into formula code.

Expand Down

0 comments on commit b0d645e

Please sign in to comment.