FN-WORKDAY-001: An empty cell as a first date is serial 0, but a logical in that cell is #VALUE!
Quirk · measured · recorded 2026-11-04
A reference to an empty cell as the first date of these functions reads as serial 0 and gives a normal answer: NETWORKDAYS(B1,5) is 4 and WORKDAY(B1,2) is 3. YEARFRAC(B1,5,0) is 5/360. TRUE in the same cell gives #VALUE!, as a direct TRUE does, so a blank is not treated as the logical FALSE either.
| Call and input route | Inputs | Excel | Correct value | Recorded in |
|---|---|---|---|---|
=NETWORKDAYS(B1,5)cell-value2 | B1: (empty cell) | 40x4010000000000000 | — | Excel 16.0.20527.20088 Current Channel, Windows 64-bit (NT 10.0.26200), x86-64, AMD Ryzen 7 4800H, en-ZA |
=NETWORKDAYS(B1,5)cell-value2 | B1: TRUE | #VALUE! | — | Excel 16.0.20527.20088 Current Channel, Windows 64-bit (NT 10.0.26200), x86-64, AMD Ryzen 7 4800H, en-ZA |
=WORKDAY(B1,2)cell-value2 | B1: (empty cell) | 30x4008000000000000 | — | Excel 16.0.20527.20088 Current Channel, Windows 64-bit (NT 10.0.26200), x86-64, AMD Ryzen 7 4800H, en-ZA |
=WORKDAY(B1,2)cell-value2 | B1: TRUE | #VALUE! | — | Excel 16.0.20527.20088 Current Channel, Windows 64-bit (NT 10.0.26200), x86-64, AMD Ryzen 7 4800H, en-ZA |
=NETWORKDAYS.INTL(B1,5,1)cell-value2 | B1: (empty cell) | 40x4010000000000000 | — | Excel 16.0.20527.20088 Current Channel, Windows 64-bit (NT 10.0.26200), x86-64, AMD Ryzen 7 4800H, en-ZA |
=WORKDAY.INTL(B1,2,1)cell-value2 | B1: (empty cell) | 30x4008000000000000 | — | Excel 16.0.20527.20088 Current Channel, Windows 64-bit (NT 10.0.26200), x86-64, AMD Ryzen 7 4800H, en-ZA |
=YEARFRAC(B1,5,0)cell-value2 | B1: (empty cell) | 0.0138888888888888880x3f8c71c71c71c71c | — | Excel 16.0.20527.20088 Current Channel, Windows 64-bit (NT 10.0.26200), x86-64, AMD Ryzen 7 4800H, en-ZA |
=TBILLEQ(B1,5,0.1)cell-value2 | B1: (empty cell) | 0.101529902642559110x3fb9fddd1b6a757f | — | Excel 16.0.20527.20088 Current Channel, Windows 64-bit (NT 10.0.26200), x86-64, AMD Ryzen 7 4800H, en-ZA |
Basis: 8 recorded readings with an empty B1, one per function, each paired with a reading with TRUE in B1.
Open: An argument left empty in the call was not read here for YEARFRAC and the T-bill functions.
Evidence and capture sources
- DnaCalc · apps/dna-onecalc/tests/acceptance.rs c4c5dde7e2dcf735d2849835fc49769e2ab67ba7 · delivered_fn4_blank_date_references_read_serial_zero recorded answers pinned
- DnaCalc · crates/calc-func/tests/captures/fn4_questions/functions-fn4-arguments.capture.json 2d0eddcac86413014643af81d646581d54ba57bc · sheets qa031 and qa032, and the like pairs of each function recorded readings
- DnaCalc · crates/calc-func/tests/captures/fn4_questions/functions-fn4-arguments.capture.json 2d0eddcac86413014643af81d646581d54ba57bc · sheet qa032, row 20, column 10
- DnaCalc · crates/calc-func/tests/captures/fn4_questions/functions-fn4-arguments.capture.json 2d0eddcac86413014643af81d646581d54ba57bc · sheet qa031, row 20, column 10
- DnaCalc · crates/calc-func/tests/captures/fn4_questions/functions-fn4-arguments.capture.json 2d0eddcac86413014643af81d646581d54ba57bc · sheet qa054, row 20, column 10
- DnaCalc · crates/calc-func/tests/captures/fn4_questions/functions-fn4-arguments.capture.json 2d0eddcac86413014643af81d646581d54ba57bc · sheet qa053, row 20, column 10
- DnaCalc · crates/calc-func/tests/captures/fn4_questions/functions-fn4-arguments.capture.json 2d0eddcac86413014643af81d646581d54ba57bc · sheet qa040, row 20, column 10
- DnaCalc · crates/calc-func/tests/captures/fn4_questions/functions-fn4-arguments.capture.json 2d0eddcac86413014643af81d646581d54ba57bc · sheet qa062, row 20, column 10
- DnaCalc · crates/calc-func/tests/captures/fn4_questions/functions-fn4-arguments.capture.json 2d0eddcac86413014643af81d646581d54ba57bc · sheet qa072, row 20, column 10
- DnaCalc · crates/calc-func/tests/captures/fn4_questions/functions-fn4-arguments.capture.json 2d0eddcac86413014643af81d646581d54ba57bc · sheet qa082, row 20, column 10