Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Finding total of one column while counting another

I have a table that contains names that have a time, category, the number of
times that the name uses the category, and the total time the name uses the
category. What I want to do is get the total time for each category? There
are about 3000 names and 10 categories.

name A 5:00 category A 20 1:40:00
name B 3:30 category B 10 0:35:00
name C 4:21 category A 9 0:39:09
name D 4:49 category A 17 1:21:53

catagory A 46 ??:??:??
catagory B 10 0:35:00
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Finding total of one column while counting another

hi
you would need 2 formulas both sumif.
1. =sumif(C2:C5,"Catagory A", D2:D5)
which equals 46
2. =sumif(C2:C5,"Catagory A", E2:E5)
which equals 3:41:02
format the results of the second formula as time. Adjust ranges to suit.
you would need a pair of the above formulas for each catagory.
Regards
FSt1

"dpwicz" wrote:

I have a table that contains names that have a time, category, the number of
times that the name uses the category, and the total time the name uses the
category. What I want to do is get the total time for each category? There
are about 3000 names and 10 categories.

name A 5:00 category A 20 1:40:00
name B 3:30 category B 10 0:35:00
name C 4:21 category A 9 0:39:09
name D 4:49 category A 17 1:21:53

catagory A 46 ??:??:??
catagory B 10 0:35:00

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding percents of a total experientman Excel Worksheet Functions 2 April 2nd 08 11:19 PM
need help finding string them averaging the total brandon roland Excel Discussion (Misc queries) 5 August 1st 07 08:42 PM
Finding 'total' in range excel Excel Worksheet Functions 3 March 19th 07 10:34 AM
finding a range of dates to total Danbmarine Excel Discussion (Misc queries) 4 January 27th 06 09:28 PM
Finding combinations to match a total Jack Sheet Excel Discussion (Misc queries) 2 January 21st 06 10:56 AM


All times are GMT +1. The time now is 12:03 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"