I have a list of records (transactions).
I want to be able to ONLY include rows where the transaction numbers have a sequential value +1. Not even sure where to start to get it to list ONLY those transactions. I have it working to list all transactions sequentially, but not isolate just the transaction values, plus their + 1 transactions. (note that not all transactions values are sequential).
For example,
If field A has values of 1,2,4,7,8,10 I want the script to just list 1,2,7,8 as results.
Thanks in advance.