Skip to main content
added 230 characters in body
Source Link
Axuary
  • 3.5k
  • 6
  • 11

Excel, 111 bytes

Formula, 60 bytes

(60 bytes)
=CONCAT(IF(A1:A32="","
",REPT(" ",A1:A32)&REPT("*",B1:B32)))
(51 bytes)
A1:B32={8,10;,;4,18;,;2,22;,;1,7;2,6;2,7;,;1,24;,;0,26;,;0,26;,;0,5;3,10;3,5;,;1,5;3,8;3,5;,;1,6;12,6;,;2,22;,;4,18;,;8,10}

Data in cells, 51 bytes

AB
1810
2
3410
4
5222
6
717
826
927
10
11124
12
13026
14
15026
16
1705
18310
1935
20
2115
2238
2335
24
2516
26126
27
28222
29
30418
31
32810

Link to Spreadsheet

Column A indicates the number of " "; Column B the number of "*". If column A is "" then add a line feed.

Excel, 111 bytes

(60 bytes)
=CONCAT(IF(A1:A32="","
",REPT(" ",A1:A32)&REPT("*",B1:B32)))
(51 bytes)
A1:B32={8,10;,;4,18;,;2,22;,;1,7;2,6;2,7;,;1,24;,;0,26;,;0,26;,;0,5;3,10;3,5;,;1,5;3,8;3,5;,;1,6;12,6;,;2,22;,;4,18;,;8,10}

Column A indicates the number of " "; Column B the number of "*". If column A is "" then add a line feed.

Excel, 111 bytes

Formula, 60 bytes

=CONCAT(IF(A1:A32="","
",REPT(" ",A1:A32)&REPT("*",B1:B32)))

Data in cells, 51 bytes

AB
1810
2
3410
4
5222
6
717
826
927
10
11124
12
13026
14
15026
16
1705
18310
1935
20
2115
2238
2335
24
2516
26126
27
28222
29
30418
31
32810

Link to Spreadsheet

Column A indicates the number of " "; Column B the number of "*". If column A is "" then add a line feed.

Source Link
Axuary
  • 3.5k
  • 6
  • 11

Excel, 111 bytes

(60 bytes)
=CONCAT(IF(A1:A32="","
",REPT(" ",A1:A32)&REPT("*",B1:B32)))
(51 bytes)
A1:B32={8,10;,;4,18;,;2,22;,;1,7;2,6;2,7;,;1,24;,;0,26;,;0,26;,;0,5;3,10;3,5;,;1,5;3,8;3,5;,;1,6;12,6;,;2,22;,;4,18;,;8,10}

Column A indicates the number of " "; Column B the number of "*". If column A is "" then add a line feed.