I cannot imagine any method of satisfying 5 without resorting to user edits or a very complex VB macro in Excel.
_________________________
Andrew Bates