I can’t believe it - SAS without Rick?!? I’ve used every one of these techniques in my code, and thanked heavens for them more than once. Rick - you’ll be sorely missed! With apologies to Douglas Adams, So long, and thanks for all the SAS :-)