Pestomania
Active Member
- Joined
- May 30, 2018
- Messages
- 332
- Office Version
- 365
- Platform
- Windows
I am trying to identify a way to develop a formula which allows me to "scan" all of the work tickets and identify if the row I am on is before or after the last step scanned.
I.e. Step 10 is less than Step 30 which was scanned on 1/3/2023. Anything before Step 30 should be reviewed.
I.e. Step 10 is less than Step 30 which was scanned on 1/3/2023. Anything before Step 30 should be reviewed.
Book1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | Work Ticket Number | Step Number | Date Scanned | Last Step Scanned | Should I review? | ||||
2 | 1 | 10 | 1/1/2023 | 1 - 30 | Yes | The rule is: If a step 30 has been scanned but step 20 has not, step 20 needs to be reviewed for accuracy. | |||
3 | 1 | 20 | 1 - 30 | Yes | |||||
4 | 1 | 30 | 1/3/2023 | 1 - 30 | Yes | What I need help determining is "what is the last step scanned on the unique work ticket and is that row prior to that last step"? | |||
5 | 1 | 40 | 1 - 30 | No | |||||
6 | 12 | 10 | 3/1/2023 | 12 - 50 | Yes | ||||
7 | 12 | 20 | 12 - 50 | Yes | |||||
8 | 12 | 30 | 12 - 50 | Yes | |||||
9 | 12 | 40 | 12 - 50 | Yes | |||||
10 | 12 | 50 | 3/3/2023 | 12 - 50 | Yes | ||||
11 | 12 | 60 | 12 - 50 | No | |||||
Sheet1 |