spikeypaul
New member
- Joined
- Apr 14, 2008
- Messages
- 1
- Programming Experience
- 1-3
I have a dataset with the following format:
ID# hours %
222 20
222 15
222 5
333 10
333 20
333 20
I imported that information from a CSV file, now what i have to do is go thru the dataset, analyze rows with same ID, add the hours, then calculate the % of that row (hours/totalhours), then post the % into their respective column. Then go to the next ID#. Can anyone point me in the right direction. You dont have to post any code, just ways to get this accomplish.
ID# hours %
222 20
222 15
222 5
333 10
333 20
333 20
I imported that information from a CSV file, now what i have to do is go thru the dataset, analyze rows with same ID, add the hours, then calculate the % of that row (hours/totalhours), then post the % into their respective column. Then go to the next ID#. Can anyone point me in the right direction. You dont have to post any code, just ways to get this accomplish.