vampsthevampyre
New Member
- Joined
- Apr 29, 2016
- Messages
- 29
- Office Version
- 365
- Platform
- Windows
Can anybody help, or is it just impossible what I'm asking excel to do.
What I'm looking to do, which the below sheet doesn't really so properly is as follows.
I have a table or dynamic array that has roulette numbers 0-36 and what I'm looking to do is have each number 0-36 in its own column that starts with number 36 and then increments by one on each number that is not the column header. If a number that matches the column header then the count resets to zero and then continues to increment as described above.
Every time I try to reference the previous numbers I'm getting a circular argument. Do I keep trying or is what I'm asking impossible to do.
Regards
Ian
What I'm looking to do, which the below sheet doesn't really so properly is as follows.
I have a table or dynamic array that has roulette numbers 0-36 and what I'm looking to do is have each number 0-36 in its own column that starts with number 36 and then increments by one on each number that is not the column header. If a number that matches the column header then the count resets to zero and then continues to increment as described above.
Every time I try to reference the previous numbers I'm getting a circular argument. Do I keep trying or is what I'm asking impossible to do.
Regards
Ian
roulette.xlsx | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | H | I | |||
3 | ||||||||||
4 | 0 | 1 | 2 | 3 | ||||||
5 | Results | 0 | 36 | 36 | 36 | 36 | ||||
6 | 3 | 1 | 37 | 37 | 37 | 0 | ||||
7 | 29 | 2 | 38 | 38 | 38 | 1 | ||||
8 | 7 | 3 | 39 | 39 | 39 | 2 | ||||
9 | 11 | 4 | 40 | 40 | 40 | 3 | ||||
10 | 3 | 5 | 41 | 41 | 41 | 0 | ||||
11 | 9 | 6 | 42 | 42 | 42 | 1 | ||||
12 | 34 | 7 | 43 | 43 | 43 | 2 | ||||
13 | 13 | 8 | 44 | 44 | 44 | 3 | ||||
14 | 35 | 9 | 45 | 45 | 45 | 4 | ||||
15 | 9 | 10 | 46 | 46 | 46 | 5 | ||||
16 | 3 | 11 | 47 | 47 | 47 | 0 | ||||
17 | 15 | 12 | 48 | 48 | 48 | 1 | ||||
18 | 12 | 13 | 49 | 49 | 49 | 2 | ||||
19 | 28 | 14 | 50 | 50 | 50 | 3 | ||||
20 | 9 | 15 | 51 | 51 | 51 | 4 | ||||
21 | 19 | 16 | 52 | 52 | 52 | 5 | ||||
22 | 7 | 17 | 53 | 53 | 53 | 6 | ||||
23 | 2 | 18 | 54 | 54 | 0 | 7 | ||||
24 | 24 | 19 | 55 | 55 | 1 | 8 | ||||
25 | 18 | 20 | 56 | 56 | 2 | 9 | ||||
26 | 34 | 21 | 57 | 57 | 3 | 10 | ||||
27 | 6 | 22 | 58 | 58 | 4 | 11 | ||||
28 | 23 | 23 | 59 | 59 | 5 | 12 | ||||
29 | 6 | 24 | 60 | 60 | 6 | 13 | ||||
30 | 26 | 25 | 61 | 61 | 7 | 14 | ||||
31 | 20 | 26 | 62 | 62 | 8 | 15 | ||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D5:D31 | D5 | =SEQUENCE(COUNT(Table18[Results])+1,,0) |
Dynamic array formulas. |