Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / November 2007

Tip: Looking for answers? Try searching our database.

sum for each group

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ADK - 21 Nov 2007 16:26 GMT
Using Excel 2000

Column A contains user names
Column B contains their department
Column C thru X contains number of years in certain field

I would like to return a sum at the bottom of the list for each field
column. I want a sum of years experience for each department

Thanks in advance

Example:

Col A        Col B     Col C
Name         Dept.     Years
John Doe      1           4
Jane Doe      1           2
Jake Doe      2           8
Lou Doe       1           1
Jim Doe        2           10
Paul Doe      3            20
Dan Doe      4            14
Ray Doe      3             12

At bottom of my sheet:
Department         Total Years
       1                        7
       2                        18
       3                        32
       4                        14
Pete_UK - 21 Nov 2007 16:39 GMT
List your departments as you have shown in your example - assume these
are in column A starting at A50, and that your main data occupies
A2:C48. Then put this formula in B50:

=SUMIF(B$2:B$48,A50,C$2:C$48)

Make the necessary changes to suit your actual data ranges, and copy
this down to cover your departments.

Hope this helps.

Pete

> Using Excel 2000
>
[quoted text clipped - 26 lines]
>         3                        32
>         4                        14
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.