I want to generate multiple columns according to my input and want the data to be filled randomly and when i sum up the columns the sum should be 100.
for example:- i want to generate 8 columns from column no 1 to column no 8 and there is data in each column and when i sum up the columns the totals comes up with 100.
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Check |
| 13 | 12 | 11 | 13 | 10 | 14 | 17 | 10 | 100 |
| 12 | 11 | 12 | 14 | 12 | 16 | 13 | 10 | 100 |
| 10 | 17 | 18 | 10 | 11 | 12 | 18 | 4 | 100 |
Thanks in advance