This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
thank you JD! I initially tried David's on my smaller population and the answer was as expected, but after I applied it to my million records it came up with 17 columns of Expense codes. I did not realize I would have 17 different codes, otherwise I would have asked for a different remedy.
You solution fits the bill, but I will keep David's in my back pocket for other queries.