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

Created Unassigned: Function CHOOSE not implemented [9128]

$
0
0
Hi,

We are using your library to parse an Excel file. This file uses the "CHOOSE" function in several cells and it is not implemented.

I have implemented this function and I wonder if it is possible to include it in your source code.


```
ce.RegisterFunction("CHOOSE", 2, int.MaxValue, Choose);

...

static object Choose(List<Expression> p)
{
int index = (int)p[0];
if (p.Count > index)
return p[index];
else
return string.Empty;
}
```

Viewing all articles
Browse latest Browse all 1877

Trending Articles



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