This formula will get a list from 1 to 100 . You can also input numbers directly in cells.
=SEQUENCE(,100)
- Then apply conditional formatting on rows.
- Less than B2
- Greater than B2 and Less than B2+C2
...
=F$1<=$B2
=AND(F$1>$B2,F$1<=$B2+$C2)
=AND(F$1>$B2+$C2,F$1<=$B2+$C2+$D2)
=AND(F$1>$B2+$C2+$D2)