How to store the value into excel sheet like "Triangular" format

studio

#1

Manually enter one integer value at the run-time, the entered value should store into excel sheet like “Triangular” format


#2

Kindly give any suggestion