OpenOffice does not automatically recalculate workbook created in OnlyOffice (TEXT formula shows cached value)

Hello,

I am experiencing a recalculation issue when opening a workbook created in OnlyOffice inside OpenOffice Calc (macOS).

Scenario

The workbook is created and saved in OnlyOffice (XLSX format).

When I open the same file in OpenOffice Calc, some cells do not automatically recalculate.

Instead of the computed result, I see what looks like a cached or partially interpreted value.

The formula only evaluates correctly after I click into the cell and press Enter.

Example

In OnlyOffice I use formulas like:

=TEXT(A2,“yyyy-MM”)

Cell A2 contains a valid date.

Expected result:

2026-02

What OpenOffice shows immediately after opening:

jjjj-02

After pressing Enter inside the cell:

2026-02

So the formula itself is correct, but OpenOffice seems to display a stored result instead of recalculating on file load.

Additional Context

The workbook contains:

  • Multiple sheets
  • Cross-sheet references such as:
=Sheet2.A2
=SUM(Sheet3.A:A)
=YEAR(Sheet1.B2)
  • TEXT formatting for date aggregation
  • Formulas referencing imported CSV data

The issue consistently appears after reopening the file in OpenOffice.

Questions

  1. Does OpenOffice rely on cached formula results from XLSX files created in other editors?
  2. Is there a setting that forces automatic recalculation on file open?
  3. Is this a known compatibility issue between OnlyOffice and OpenOffice regarding stored formula results?

Any guidance would be appreciated.

Thank you.

Hello,
Could you please attach a sample XLSX file where this behavior reproduces?
​If the original file contains sensitive data, you can anonymize it or create a minimal sample with just a couple of cells/sheets that still reproduces the issue — we’ll use it to check the file structure and test on our side.

Here the file. Instruction of the file.

  1. Table “Total Monthly Growth”
  2. Column C shows jjjj-11 (as described in my first post)
  3. After pushing F9 the column gets calculated automatically.

Similar to Table “Prepared-Data”
Subscriber Growth Anonymous.xlsx (105.3 KB)

Here the printscreen for proof :slight_smile:

Thanks for your help!

Hi @chrisnoonyes and @Marix

You may find some insight on this post;

The ultimate conclusion being that a sheet will not automatically recalculate unless it is forced to by a function that demands it. In this case, the random number generator could act as a catalyst for recalculation.

On the matter of cell values, I was mystified by the value of “jjjj-02”. It was mentioned that the formula TEXT(A2,“yyyy-MM”) was used but “jjjj-02” was the result.

I dug very deep, and found the following in the sample spreadsheet. (this is from the XML data that is the building blocks of the sheet)

<c r="C2" t="str"><f t="shared" ref="C2:C27" si="0">TEXT(B2,&quot;jjjj-MM&quot;)</f><v>jjjj-11</v></c>

What it says is Cell C2 has a formula of TEXT(B2,“jjjj-MM”) and a value of “jjjj-11”.
This seems to be indicative of why fields have “j” characters instead of the year value. I could find no reference to “j” being a date format rule character, unless Marix has some knowledge of one.

But the cells have values, and with no catalyst, as mentioned previously, no recalculation on open will occur, and it would appear, that the value of “jjjj-11” is a valid result of the formula.

I hope this may provide a little insight to your issue.

1 Like

Thanks for the summary. “jjjj” refers to the German year reference.

I did suspect as much.
But it would seem that OnlyOffice does not recognise “jjjj” as a functional equivalent to “yyyy”, thus treating it as a string literal and returning it as such.

To me, it would appear that if you used TEXT(B2,"YYYY-MM") instead of TEXT(B2,"jjjj-MM") in your cell formulas, you may get the output that you seek.
The automatic recalculation upon opening is matter that will require the use of an formula that forces recalculation.

Hi, @chrisnoonyes ! Thank you for your patience, and thanks as well to @DavidRGreen for the detailed analysis and help in this discussion.

We checked the situation with our QA team. The issue with the TEXT() formula and the jjjj year format has already been registered in our internal tracker as an existing bug related to incorrect date display when regional settings are changed.

We also confirmed that ONLYOFFICE displays the last calculated value saved inside an XLSX file when the file is opened. Because of that, recalculation may be deferred on opening, and in some cases the saved cached result is shown until recalculation is triggered manually.

As for the automatic recalculation on file open, this has also already been registered as a separate request in our tracker.

As a temporary workaround, please try replacing jjjj with yyyy in the TEXT() format string and then re-save the file. You can also force recalculation manually after opening the workbook if needed.

Thank you again for the sample file and the investigation details. We do not have an exact ETA for a fix at the moment, but we will update this thread as soon as we have any news.

Best regards.

2 Likes

thank you very much for your detailled answer! Highly appreciated :slight_smile:

1 Like

Well, that was a surprise. I would not have expected that a format rule would be localised, especially considering that these files could be shared internationally, causing the formula to fail outside of the specific language group.

Just out of interest @Marix , using this issue as an example; should OnlyOffice be converting the formulas from “jjjj-MM” to “yyyy-MM” when opened by region using “y” instead of “j” for year to maintain functionality, or would all regions support “j” in addition to “y” for year.

1 Like

We cannot confirm the exact implementation approach yet. We are still working on the best way to handle this scenario, and as soon as I have more information on this point, I will be happy to update you here.

1 Like

Thanks @Marix
I’ll keep an eye out. It is just a scenario that I was really surprised and curious about.
Especially since I could not find any mention of localisation of formatting strings online.

But the format dialogue for OnlyOffice is quite different to that in Excel.

That is understandable. The general description of the TEXT() function makes this kind of behavior look less obvious at first glance.

Formatting and regional behavior may vary between editors, so cross-editor cases like this can sometimes lead to unexpected results. We are looking into this scenario on our side and will update the thread once we have more information.

1 Like