Sorting a long list of repeating items and numbers

alaska45

New Member
Joined
Oct 28, 2013
Messages
1
Okay, I have a long table of work codes that repeat many times throughout the table and they are put in each day with the amount of hours worked on them in the next column. What I am wondering if i can do is input the two columns into something or a formula so it will sort it and give the total amount of hours for each work code. For example the table could be 100 rows longs with 5 varieties of the work codes repeated diiferent amounts of times within the rows, and each row has a work code and one column over is a number for the amount of hours for that work code. So how would get it so there is a table with the 5 work codes and the total number of hours for each code without having to look through the whole thing and inputting each number.
Thank You,
Colt M.
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

Forum statistics

Threads
1,225,689
Messages
6,186,449
Members
453,355
Latest member
Shaz_7

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top