in reply to Hash_of_Hash_Would do it?

Um...so what's the question? You've described the logic, tho I'm not too sure what you mean by "positions." Anyway since you understand it, what's stopping you from just codinf it up?

Replies are listed 'Best First'.
Re^2: Hash_of_Hash_Would do it?
by sesemin (Beadle) on Sep 15, 2008 at 21:14 UTC
    Hi Cormanaz, Thanks for the reply. As you can see the third column is called position. Starts from 1 to some number (varies among different names - 1st col).

    I am rephrasing my question. I need to have "1"s where the difference between two adjacent positions is less than 24.

      Maybe you need to simplify the question and what you want done a bit.