I am away as from now, for the night. can you illustrate on an Excel sheet what the problems are and I'll take a look first thing tomorrow. If Imokat's formulas for the locations work OK, then just use them in combination with my effort for column H.