{"text_format":"3","workbook":"xlsx","n_sheets":1,"sheets":["Sheet1"],"read":"whole","date_system":"1900"}

{"sheet":"Sheet1","index":0,"n_rows":20,"n_cols":4,"rows_kept":20}
["Date","MONTH()","Formula Text","Comments"]
[{"v":45651,"d":"45651.00"},{"$f":"MONTH(A2)","v":12},{"$f":"_xlfn.FORMULATEXT(B2)","v":"=MONTH(A2)"},"Cell reference"]
[null,{"$f":"MONTH(DATE(2024,12,25))","v":12},{"$f":"_xlfn.FORMULATEXT(B3)","v":"=MONTH(DATE(2024,12,25))"},"Using DATE function"]
[45651,{"$f":"MONTH(A4)","v":12},"=MONTH(A4)","Integer serial number"]
[45651.9,{"$f":"MONTH(A5)","v":12},"=MONTH(A5)","Serial number with fractional part"]
[]
["1900-01-01",{"$f":"MONTH(A7)","v":1},{"$f":"_xlfn.FORMULATEXT(B7)","v":"=MONTH(A7)"},"Smallest accepted serial number"]
["1900-01-02",{"$f":"MONTH(A8)","v":1},{"$f":"_xlfn.FORMULATEXT(B8)","v":"=MONTH(A8)"}]
["2025-12-25",{"$f":"MONTH(A9)","v":12},{"$f":"_xlfn.FORMULATEXT(B9)","v":"=MONTH(A9)"}]
["9999-12-31T23:59:59",{"$f":"MONTH(A10)","v":12},"=MONTH(A10)","Largest accepted serial number"]
[]
[]
["Formula","Formula Text","Comments"]
[{"$f":"MONTH(SQRT(-1))","v":{"$error":"#NUM!"}},{"$f":"_xlfn.FORMULATEXT(A14)","v":"=MONTH(SQRT(-1))"},"Example of error propagation"]
[{"$f":"MONTH(\"str\")","v":{"$error":"#VALUE!"}},{"$f":"_xlfn.FORMULATEXT(A15)","v":"=MONTH(\"str\")"},"Unable to convert date argument to a number"]
[{"$f":"MONTH(10/0)","v":{"$error":"#DIV/0!"}},"=MONTH(10/0)","Input causes a #DIV/0! error"]
[{"$f":"MONTH(-5)","v":{"$error":"#NUM!"}},{"$f":"_xlfn.FORMULATEXT(A17)","v":"=MONTH(-5)"},"Negative serial number"]
[{"$f":"MONTH(0)","v":1},{"$f":"_xlfn.FORMULATEXT(A18)","v":"=MONTH(0)"},"Zero serial number"]
[{"$f":"MONTH(2958466)","v":{"$error":"#NUM!"}},{"$f":"_xlfn.FORMULATEXT(A19)","v":"=MONTH(2958466)"},"Serial number too large"]
[{"$f":"MONTH(DATE(1900,2,29))","v":2},{"$f":"_xlfn.FORMULATEXT(A20)","v":"=MONTH(DATE(1900,2,29))"},"Excel considers this 29/02/1900 (although 1900 was not a leap year)"]