These excellent articles by ISF were a great deal of help to me...

Forming Ranges Part 1
Forming Ranges Part 2