Forum Discussion

MRS16's avatar
MRS16
Copper Contributor
Mar 20, 2020

How to sum values from one column that have the same value in another column

Hello All,

First time here, so apologies if this is really obvious, but how can I use Excel to sum the Total Hours for each individual ID Code in the example below:

 

ID CodeTotal Hours
110255705450.5
11019717763
11023959163
11023959111
11022381763
11026355863
11028969463
11028969411
11025003111
11027488811
110184675127
11018467563
11018467511
11025002111
11025004811
11028393363
11028393311
11022626863
11027766963
11028331263
11028331211
11028370063
11028370011
11026293063
11026293011
11028387063
11028387011
11028555663
11024092711
110170499450
11028465763
11028465711
11029004863
11029004811


eg for ID Code 110289694 I want to return 74, for ID Code 
110184675 I want to return 201, for ID Code 110170499 I want to return 450.

 

Thanks very much for your help.

 

Resources