Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

New Post: Problem reading cell values of cells with formula MTRANS.

$
0
0

Hello MDeLeon,

the difference to your test is that I’m reading an existing Excel sheet with format definitions.

In the attached image you can see a part of the sheet with the visible values.

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

The value “22400” in cell S3 is calculated by the following formula:

=ABRUNDEN(MIN(INDIREKT(VERKETTEN("R"&VERGLEICH(G3;G:G;0)&":R"&VERGLEICH(G3;G:G))));-2)

Is there any easy way to get the formatted cell values in ClosedXML?

Regards,

Christian

--

Christian Obser

Senior Specialist | Computational Statistics | Marketing Sciences

GfK SE | Nordwestring 101 | 90419 Nürnberg | Germany

T +49 911 395 2761

www.gfk.com

Visitor address: Schnieglinger Str. 57 | 90419 Nürnberg | Germany

Von: MDeLeon [email removed]
Gesendet: Donnerstag, 15. August 2013 04:43
An: Obser, Christian (GfK)
Betreff: Re: Problem reading cell values of cells with formula MTRANS. [closedxml:453397]

From: MDeLeon

TRANSPOSE is not supported and probably won't be until someone submits a patch for it. It's a nasty formula because it has many meanings depending on where it's used and it can be a regular or an array formula.

I updated https://closedxml.codeplex.com/wikipage?title=Evaluating%20Formulas with the list of functions supported.




GfK SE, Nuremberg, Germany, commercial register Nuremberg HRB 25014; Management Board: Matthias Hartmann (CEO), Pamela Knapp (CFO), Dr. Gerhard Hausruckinger, Debra A. Pruent; Chairman of the Supervisory Board: Dr. Arno Mahlert
This email and any attachments may contain confidential or privileged information. Please note that unauthorized copying, disclosure or distribution of the material in this email is not permitted.

Viewing all articles
Browse latest Browse all 1877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>