FreddyBotz
Technical User
Good morning. I have a database consisting of 50,000+ lines of data which are broken down into regions. e.g. East, West, Southwest....and so on. I run a query by region, copy the results to excel and provide subtotals. Problem is this-there are certain account numbers that are not only duplicated but end in a letter.
Acct# Units Dollars
AB12345a 100 500
AB12345b 200 500
AB12345C 300 500
Here's where it gets complicated. I need a total sum of the dollars column BUT I ONLY need those account numbers that end in an "a" or a "c" to sum. If anyone can assist me in creating a code to assist me, it would be greatly appreciated.
Thank you
FB
Acct# Units Dollars
AB12345a 100 500
AB12345b 200 500
AB12345C 300 500
Here's where it gets complicated. I need a total sum of the dollars column BUT I ONLY need those account numbers that end in an "a" or a "c" to sum. If anyone can assist me in creating a code to assist me, it would be greatly appreciated.
Thank you
FB