Steve 1962
Active Member
- Joined
- Jan 3, 2006
- Messages
- 346
- Office Version
- 365
- Platform
- Windows
Hi All
I am using a successful formula provided by this wider expert group - works great !!
Just after an enhancement if possible -
The formula is in column A a;nd works fine. It resets to 1 after the count of 8 is reached (cell A14), as long as the adjancent entry in column B is not blank (column B also has a formula in it).
At times however, it is required to overtype the formula and extend to 9 (shown in cell A6). When this happens, I need the next entry to then reset to 1, as long as there is an adjacent entry in column B.
At the moment, cell A7 is working as originally intended and returning a 2 - this is where I want it to reset to 1 (as long as B7 is not blank).
Thanks
I am using a successful formula provided by this wider expert group - works great !!
Just after an enhancement if possible -
The formula is in column A a;nd works fine. It resets to 1 after the count of 8 is reached (cell A14), as long as the adjancent entry in column B is not blank (column B also has a formula in it).
At times however, it is required to overtype the formula and extend to 9 (shown in cell A6). When this happens, I need the next entry to then reset to 1, as long as there is an adjacent entry in column B.
At the moment, cell A7 is working as originally intended and returning a 2 - this is where I want it to reset to 1 (as long as B7 is not blank).
Thanks
Test File.xlsx | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | Sequence | Time | Time | ||
2 | 5 | 15:00 | 15:01 | ||
3 | 6 | 15:06 | 15:20 | ||
4 | 7 | 16:00 | 16:10 | ||
5 | 8 | 16:25 | 16:45 | ||
6 | 9 | 17:00 | 17:10 | ||
7 | 2 | 17:45 | 18:00 | ||
8 | 3 | 18:30 | 18:45 | ||
9 | 4 | 19:00 | 19:52 | ||
10 | 5 | 19:30 | 20:59 | ||
11 | 6 | 20:00 | 22:06 | ||
12 | 7 | 20:30 | 23:13 | ||
13 | 8 | 21:00 | 00:20 | ||
14 | 1 | 21:00 | 00:20 | ||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
A3:A5,A7:A14 | A3 | =IF(B3="","",MOD(LOOKUP(99,A$1:A2),8)+1) |