Dinesh Santhalingam

Dinesh Santhalingam

  • NA
  • 737
  • 370.4k

How to sum the column in a data table?

Feb 8 2017 2:20 AM
I have a data table .I want to sum the column and append it to an array.
 Name Count Time
 A 5 1/1/2017 10:00:00AM
 B 4 1/1/2017 10:00:00AM
 C 5 1/1/2017 10:00:00AM
 D 2 1/1/2017 10:00:00AM
 E 3 1/1/2017 11:00:00AM
 F 3 1/1/2017 11:00:00AM
 G 4 1/1/2017 11:00:00AM
 H 5 1/1/2017 11:00:00AM
 I 2 1/1/2017 12:00:00AM
 J 3 1/1/2017 12:00:00AM
 K 5 1/1/2017 12:00:00AM
 L 6 1/1/2017 12:00:00AM
 
I Want to add the count column if the Time in column is same. (Ex:)The time  (1/1/2017 10:00:00AM) Same for A,B,C,D. So i want to add the count column of A,B,C,D .How to do this .please help me to solve this issue.

Answers (7)