@SM3 please post your question as a new thread. When posting, please include a sample of what your data looks like and what you want as output. It does not have to be real data, post something that illustrates your question. Based on what you've said here, arrays are not the appropriate solution to your question.