Hello.
I've been searching the forum on how to do this, but am still stuck.
Here's what I'm trying to do, and what I found so far.
I have 4 cells in Excel that have an integer value fixed -- I'll call it A1, A2, A3, and A4.
Following the next row, I have to fill the cells based on the 4 numbers above.
It goes like this..
A1 A3
A1-1 A3
A1-2 A3
A1-3 A3
...
A2 A3 (it decreases until it reaches the A2 value)
A1 A3-1 (it goes back to A1, but now it's A3-1)
A1-1 A3-1
A1-2 A3-1
A1-3 A3-1
...
A2 A3-1 (again, it decreases until A2)
A1 A3-2 (goes back to A1, but not it's A3-2)
A1-1 A3-2
...
...
A2 A4 (the repetition goes until the second column reaches A4 value)
I found that "decrease until a certain value" can be done by this:
=IFERROR(IF(A1-1<$A$2,"",A1-1),"")
But I have no idea how to automatically repeat this for A1-A2+1 number of times (from A1 ~ A2), then repeat the whole thing until the 2nd column reaches A4.
Any help would be appreciated.
Here's a quick example..
A1: 30
A2: 27
A3 : 20
A4 : 15
30 20
29 20
28 20
27 20
30 19
29 19
28 19
27 19
30 18
29 18
28 18
27 18
30 17
29 17
28 17
27 17
30 16
29 16
28 16
27 16
30 15
29 15
28 15
27 15
Bookmarks