Generate an Excel report from a template in C#: repeating rows from JSON, UseSpreadsheetDataTypes so numbers stay numbers, totals as template expressions, and empty rows removed.... Combine ( TemplatesPath , "Data table.xlsx" ), Path . Combine...refers to is replaced while the data expands, and the result is SUM(#REF...