A crucial bit of information is missing. The solution will depend on whether the locations ("listings") appear in sorted order in your list ("dataset").
In reply to Re: Adjacent numbers
by Anonymous Monk
in thread Adjacent numbers
by melissa_randel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |