- Dec 4, 2003
- 397
- 0
- 76
I have a huge database that has an employment code and then the number of people employed by each occupation. Most of the codes are repeated. I want to sum up the number of people employed in each occupation, which could be done by summing up the number of people employed in a particular code because they are the same. I have thought of If( statements but that would be impossibly long, but is there something else I can do. I want to basically have it scroll the list of codes and everytime it finds one that is the same i want it to go over to a particular column and sum them all up. Is there any way to accomplish this?
