htmltoxlsx reference How to reference the current column in the formula

I want to insert the formulas in the cycle. Calculate min/avg/max for each data column.
<tr >
{{#each flags}}
<td datacelltype="formula" class="cellprojectnamecontent" >=MAX({How?}:{How?})</td>
{{/each}}
</tr >

Handlebars provide
1
attribute with current index in theeach
iteration.
You can write a custom helper and use current index to calculate the current cell.<td datacelltype="formula">=A{{currentCell 1}}</td>
function currentCell(index) { return index + 1 }