Click here to Skip to main content
15,895,667 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need help , i want to have a column which will sum some values.
Example right now i have:
	ID	Column_1	Column_2
	1	   a	   	   3
	2	   b	   	   2
	2	   b	   	   1
	2	   b	   	   5
	3	   a	   	   1
	3	   a	   	   11
	4	   c	   	   45
	5	   d	   	   5

I want to have:
	ID	Column_1	Column_2
	1	   a	   	   3
	2	   b	   	   8
	3	   a	   	   12
	4	   c	   	   45
	5	   d	   	   5

I dont want to have total in another row, i want to have all data about each ID in one row.

Any chance to make it?
Posted
Comments
thatraja 3-Sep-14 8:29am    
I saw the data but still not clear. Care to give sample example?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900