The difference to your test is that I’m reading an existing Excel sheet with format definitions.
The value “0,1” in cell T3 is calculated by the following formula:
=RUNDEN(R3/MIN(INDIREKT(VERKETTEN("R";VERGLEICH(J3;INDIREKT(VERKETTEN("J";VERGLEICH(G3;G:G;0);":J";VERGLEICH(G3;G:G)));0)+VERGLEICH(G3;G:G;0)-1;":R";VERGLEICH(J3;INDIREKT(VERKETTEN("J";VERGLEICH(G3;G:G;0);":J";VERGLEICH(G3;G:G))))+VERGLEICH(G3;G:G;0)-1)));1)-1
Is there any easy way in ClosesXML to get the formatted cell values as they are?
The value “0,1” in cell T3 is calculated by the following formula:
=RUNDEN(R3/MIN(INDIREKT(VERKETTEN("R";VERGLEICH(J3;INDIREKT(VERKETTEN("J";VERGLEICH(G3;G:G;0);":J";VERGLEICH(G3;G:G)));0)+VERGLEICH(G3;G:G;0)-1;":R";VERGLEICH(J3;INDIREKT(VERKETTEN("J";VERGLEICH(G3;G:G;0);":J";VERGLEICH(G3;G:G))))+VERGLEICH(G3;G:G;0)-1)));1)-1
Is there any easy way in ClosesXML to get the formatted cell values as they are?