Reading Tracker Spreadsheet: Count Books Finished per Month and Track a Yearly Goal
A reading log is easy to start: one row per book, with a status and a couple of dates. The summary is where it goes wrong. December shows fifteen books you never read, last year's books count toward this year's goal, or the genre table adds up to more than the total. Each of those has a specific cause, and each has a formula that avoids it.
The formulas below use COUNTIFS, SUMIFS and AVERAGEIFS with date ranges, so they run the same way in Google Sheets, LibreOffice Calc and Excel.
The layout these formulas assume
A Books sheet, one row per book, headers in row 1:
| Column | Holds |
|---|---|
| C | Genre |
| D | Status (To read, Reading, Finished, Abandoned) |
| E | Started (a real date) |
| F | Finished (a real date) |
| G | Pages |
| H | Rating, 1 to 5 |
| I | Days to read (formula) |
A Summary sheet with the year in B1 and your yearly goal in B2.
Checklist
☐ 1. Count by the finish date and the status together. A book counts toward a year when it is Finished and its finish date falls in that year:
=COUNTIFS(Books!$D$2:$D$500, "Finished",
Books!$F$2:$F$500, ">="&DATE($B$1, 1, 1),
Books!$F$2:$F$500, "<"&DATE($B$1+1, 1, 1))
Filtering on status keeps Abandoned books out even when you typed an end date for them. Using "before 1 January of next year" rather than "on or before 31 December" also catches a finish date that carries a time of day.
☐ 2. Count per month with a start and an end, not with MONTH(). With the month number (1 to 12) in A5:A16:
=COUNTIFS(Books!$D$2:$D$500, "Finished",
Books!$F$2:$F$500, ">="&DATE($B$1, A5, 1),
Books!$F$2:$F$500, "<"&DATE($B$1, A5+1, 1))
For December, DATE(year, 13, 1) rolls over to 1 January of the next year. Google's DATE help documents this: month 13 becomes January of the following year. So one formula fills all twelve rows.
Why not SUMPRODUCT(--(MONTH(F2:F500)=12))? Two reasons. It mixes years, so a book finished in January last year lands in this January. And an empty cell is treated as date zero, which some apps read as 30 December 1899, so every blank row in your range counts as a December book. That is the "fifteen books in December" bug.
☐ 3. Use the same pattern for pages. Swap COUNTIFS for SUMIFS and add the pages column first:
=SUMIFS(Books!$G$2:$G$500, Books!$D$2:$D$500, "Finished",
Books!$F$2:$F$500, ">="&DATE($B$1, A5, 1),
Books!$F$2:$F$500, "<"&DATE($B$1, A5+1, 1))
Check: the twelve monthly counts should add up to the yearly count from step 1. If they don't, a finish date is probably text instead of a date.
☐ 4. Show goal progress capped at 100%. With the yearly count in B3:
=IFERROR(MIN(1, B3/B2), 0)
Format it as a percentage. IFERROR covers a blank or zero goal, and MIN stops a bar chart from overflowing when you beat your goal.
☐ 5. Add a pace check if you want "am I on track?" The number of books you'd have finished by now at an even pace:
=ROUND($B$2 * (TODAY() - DATE($B$1, 1, 1) + 1) / (DATE($B$1+1, 1, 1) - DATE($B$1, 1, 1)), 1)
For a goal of 24, this gives 12.0 on 1 July of a non-leap year. Compare it with your count. The denominator gives 365 or 366, so leap years work. Note: this only makes sense for the current year; for a past year, compare against the full goal instead.
☐ 6. Calculate days to read per book, counting both ends. In I2, filled down:
=IF(AND(ISNUMBER(E2), ISNUMBER(F2)), F2-E2+1, "")
The +1 makes a book started and finished on the same day count as 1 day. The ISNUMBER checks leave the cell blank for books still being read, instead of showing a huge negative number.
☐ 7. Average rating and days with the same filters.
=IFERROR(AVERAGEIFS(Books!$H$2:$H$500, Books!$D$2:$D$500, "Finished",
Books!$F$2:$F$500, ">="&DATE($B$1, 1, 1),
Books!$F$2:$F$500, "<"&DATE($B$1+1, 1, 1)), "")
Use column I instead of H for average days per book. IFERROR shows a blank early in the year, when no book matches yet (AVERAGEIFS returns #DIV/0! when nothing meets the criteria). Note: unrated books are normally left out of the average rather than counted as 0, but if a rating cell holds a space or text, check the result against a manual count.
☐ 8. Make the genre table add up to the total. Count each named genre with one more COUNTIFS pair (Books!$C$2:$C$500, A30), then make the last row the difference:
=B3 - SUM(B30:B34)
Label it "Everything else". It catches books with a genre you didn't list and books with a blank genre, so the table always matches the yearly count.
☐ 9. Keep dates as real dates. Every formula above compares dates as numbers. A date typed in a format your spreadsheet's locale doesn't recognise is stored as text and silently drops out. =ISNUMBER(F2) should be TRUE for every finished book. A date-only validation rule on the date columns prevents most of this.
Quick diagnosis
| Symptom | Likely cause | Step |
|---|---|---|
| December (or January) far too high | MONTH() over blank rows | 2 |
| Last year's books in this year's total | No year bounds, or MONTH() alone | 1, 2 |
| Months don't add up to the year | A finish date stored as text | 3, 9 |
| Genre rows exceed the total | Overlapping labels, or no "everything else" row | 8 |
#DIV/0! in averages |
No finished books yet this year | 7 |
A ready-made version
If you'd rather not build the dashboard, the Reading & Habit Tracker ($9) is one .xlsx file for Google Sheets and LibreOffice Calc. According to its product page, the Books log has title, author, genre and status dropdowns, dates, pages and a 1-5 rating, with days-to-read calculated. The dashboard, for the year you choose, shows books finished against your goal with a progress chart, pages read, average rating, average days per book, books and pages per month, and finished books by genre (7 named genres plus "everything else", always adding up to the total). It also has a monthly habit grid. Its listed limits: formulas tested in LibreOffice Calc, an earlier version import-tested in Google Sheets, not tested in Microsoft Excel; and it was built with AI assistance. A free Reading Tracker Lite has the books log and a simple dashboard (books finished, goal progress and books per month), without the habit grid, page or rating stats, or the genre breakdown.
Sources
- Google Docs Editors Help, DATE (month 13 rolls over to January of the next year): https://support.google.com/docs/answer/3092969?hl=en
- Google Docs Editors Help, COUNTIFS (date criteria written as "<"&DATE(...)): https://support.google.com/docs/answer/3256550?hl=en
- Google Docs Editors Help, AVERAGEIFS: https://support.google.com/docs/answer/3256534?hl=en
- Microsoft Support, AVERAGEIFS function (
#DIV/0!when no cells meet the criteria): https://support.microsoft.com/en-us/office/averageifs-function-48910c45-1fc0-4389-a028-f7c5c3001690
Questions this page answers:
- Count the dates and display a total per month: https://stackoverflow.com/questions/73561364/i-need-a-google-sheets-formula-that-will-count-the-dates-and-display-total-per-m
- Counting categories in a specific month: https://stackoverflow.com/questions/69454316/counting-categories-in-a-specific-month
- Count rows with a specific month and a condition in another cell: https://webapps.stackexchange.com/questions/150041/count-number-of-rows-with-a-specific-month-in-the-date-of-a-specific-cell-and-a
- Select all values of a specific month: https://webapps.stackexchange.com/questions/129976/query-select-all-values-of-specific-month