Hi, I am not sure if it is a desired effect, but I get strange result using RangeUsed method of IXLWorksheet. My simple Excel file contains only two columns but with some special structure (look at the attachment).
I get __B1__:__B3__, but if I'm looking at cells included in this range (CellsUsed()) there are no cells from __A__ column. But... using the same method on worksheet everything seems to be OK. It looks like the range is not computed correctly (or at least its cells).
I retrieve cells using:
```
var rangeUsedAddresses = rangeUsed.CellsUsed()
.Select(c => c.Address)
.GroupBy(k => k.ColumnNumber).ToDictionary(k => k.Key, v => v.ToList());
// This one is correct
var worksheetAddresses = currentWorksheet.CellsUsed().
.Select(c => c.Address)
.GroupBy(k => k.ColumnNumber).ToDictionary(k => k.Key, v => v.ToList());
```
Comments: Thanks for the reponse. It's a little tricky structure. I suppose that majority of Excel users always keep some full tabular data. Fortunately, CellsUsed works properly, but I'll be waiting for the fix. BTW. Is there a huge performence difference between those two methods of retrieving cells? If each of them returns different results it suggests that the code behind them is also a little bit (not just a little bit?) different.
I get __B1__:__B3__, but if I'm looking at cells included in this range (CellsUsed()) there are no cells from __A__ column. But... using the same method on worksheet everything seems to be OK. It looks like the range is not computed correctly (or at least its cells).
I retrieve cells using:
```
var rangeUsedAddresses = rangeUsed.CellsUsed()
.Select(c => c.Address)
.GroupBy(k => k.ColumnNumber).ToDictionary(k => k.Key, v => v.ToList());
// This one is correct
var worksheetAddresses = currentWorksheet.CellsUsed().
.Select(c => c.Address)
.GroupBy(k => k.ColumnNumber).ToDictionary(k => k.Key, v => v.ToList());
```
Comments: Thanks for the reponse. It's a little tricky structure. I suppose that majority of Excel users always keep some full tabular data. Fortunately, CellsUsed works properly, but I'll be waiting for the fix. BTW. Is there a huge performence difference between those two methods of retrieving cells? If each of them returns different results it suggests that the code behind them is also a little bit (not just a little bit?) different.