sorting and summing

Tman

New Member
Joined
Jan 24, 2005
Messages
2
Bank Date Time Spent (Dec)
bisys 1/4/05 0.033
ctzri 1/4/05 0.033
ctzri 1/4/05 0.083
ctzri 1/4/05 0.083
ctzri 1/4/05 0.100
ctzri 1/4/05 0.317
ctzri 1/5/05 0.033
ctzri 1/5/05 0.250
ctzri 1/5/05 0.267
ctzri 1/6/05 0.050
I am attempting to sort this data by bank and by date then sum the data. I will then export the data to another sheet and display the sum of minutes for each bank for each day. for example the sum for ctzri on 1/4/05 will be displayed on a seperate sheet as .616 minutes. how can I accomplish this?
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Hi Tman

A pivot table is a good suggestion. I was working on this prior to that post, how about something like the following:
Book4
ABC
1bisysCriteria
2BankDateTimeSpent
3bisys
4
5ctzriCriteria
6BankDateTimeSpent
7ctzri01/04/2005
8
9Database
10BankDateTimeSpent
11bisys01/04/20050.033
12ctzri01/04/20050.033
13ctzri01/04/20050.083
14ctzri01/04/20050.083
15ctzri01/04/20050.1
16ctzri01/04/20050.317
17ctzri01/05/20050.033
18ctzri01/05/20050.25
19ctzri01/05/20050.267
20ctzri01/06/20050.05
21
22
23Statistics
24bisys0.033
25ctzri0.616
Sheet1
 
Upvote 0
Hi Tman,

I'm glad it helped, I've always got amazing responces from this board.

In addition, I wasn't sure how familiar you are with excel. It would be wiser to add Named ranges to specific areas of your spreadsheet.

Select A2:C3 Click Insert>Name>Define and assign a name to that range Click Add, choose OK i.e: BisysCriteria

Select A6:C7 Click Insert>Name>Define and assign a name to that range Click Add, choose OK i.e: CtzriCriteria

Select A10:C20 Click Insert>Name>Define and assign a name to that range Click Add, choose OK i.e: Database

In doing so, you can use the named range name rather then selecting the cells needed.

the formula in B25 =DSUM(A10:C20,C10,A6:C7)
would now read =DSUM(Database,C10,BisysCriteria)

Just a thought.
 
Upvote 0

Forum statistics

Threads
1,214,584
Messages
6,120,387
Members
448,956
Latest member
JPav

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