Need a formula for columns F:H using the values in columns C:E, that will return the number of rows that have occured since each value appeared.
example for 7 1 1
7 appears 2 rows down; the first 1 appears 3 rows down; the second 1 appears 4 rows down.
4 9 9
4 appears 2 rows down; the first 9 appears 1 row down; second 9 appears 3 rows down.
Excel 2007
example for 7 1 1
7 appears 2 rows down; the first 1 appears 3 rows down; the second 1 appears 4 rows down.
4 9 9
4 appears 2 rows down; the first 9 appears 1 row down; second 9 appears 3 rows down.
Excel Workbook | |||||||||
---|---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | H | |||
1 | 03/02/11 | 7 | 1 | 1 | 2 | 3 | 4 | ||
2 | 03/01/11 | 4 | 9 | 9 | 2 | 1 | 3 | ||
3 | 02/28/11 | 9 | 7 | 0 | |||||
4 | 02/27/11 | 3 | 1 | 4 | |||||
5 | 02/26/11 | 9 | 5 | 1 | |||||
6 | 02/25/11 | 5 | 4 | 2 | |||||
7 | 02/24/11 | 6 | 8 | 1 | |||||
Sheet1 |