The cleaner alternative is:
var row = sheetData.Elements<Row>()
.FirstOrDefault(r => r.RowIndex == rowIndex);
if (row != null)
{
// Use row
}
That will only iterate through the sequence once, and it will stop as soon as it finds a match.