Using the below link, I am able to loop through the rows and able to get exact cell, but unable to set its color. Please see the code below.
var costStructureReport = new
{
CurrentQuotation = rptCostStructure.GetCostStructureReport()
};
var reportEngine = new ReportEngine();
string fileName = reportEngine.ProcessReport(ReportNames.ProjectDownload_Template, reportname + ".xlsx", costStructureReport);
var ep = new ExcelPackage(new FileInfo(fileName));
var sheet1 = ep.Workbook.Worksheets["SPR_ProjectDownload"];
var row = sheet1.Dimension.End.Row;
for(int i=0;i< costStructureReport.CurrentQuotation.Count;i++)
{
if (costStructureReport.CurrentQuotation[i].MaterialCost_ByUser)
{
sheet1.Cells[i+2, 2].Style.Font.Color.SetColor(System.Drawing.Color.Red);
sheet1.Cells[i + 2, 12].Style.Font.Color.SetColor(System.Drawing.Color.Red);
sheet1.Cells[i + 2, 12].Style.Font.Bold = true;
}
}