I'm using EPPlus in a C# application for reading an Excel (.xlsx) file. What I need to do is counting how many cells in the column I
contain the value Value
.
For this I have defined the following query:
var query = (from worksheet.Cells["i:i"]
where cell.Value.ToString().Equals("Value")
select worksheet.Cells);
Howwever this does not seem to work. I'm pretty sure that the select
statement is wrong but I don't know what it should look like.