Counting dates

k209310

Active Member
Joined
Aug 12, 2002
Messages
382
Is there any way of quickly searching a list of 600 orders organised in to dates(dd/mm/yy) and returning the number of orders that exist per month and year (mm/yy).
 
Here's a nicer way, where you won't need a formula.

Go with Pivot Table idea,

Steps for you table;

When going through the wizard
Put the data field in the Row part of the table and the any data you need in the Data part.

Finish the wizard and you soulh have something like:
Book3
ABCDE
1DateDataSumofData2
201-Jan-01416DateTotal
308-Jan-0132801-Jan-01416
415-Jan-0138608-Jan-01328
522-Jan-0140115-Jan-01386
629-Jan-0144022-Jan-01401
705-Feb-0136029-Jan-01440
812-Feb-0134605-Feb-01360
919-Feb-0143712-Feb-01346
1026-Feb-0141319-Feb-01437
1105-Mar-0142926-Feb-01413
1212-Mar-0133405-Mar-01429
1319-Mar-0141312-Mar-01334
1426-Mar-0142019-Mar-01413
1502-Apr-0149126-Mar-01420
1609-Apr-0132902-Apr-01491
1716-Apr-0142409-Apr-01329
1823-Apr-0149016-Apr-01424
1930-Apr-0145723-Apr-01490
2007-May-0144730-Apr-01457
2114-May-0147707-May-01447
2214-May-01477
23GrandTotal8238
Sheet2


Then Right-Click on the date part (any number in the column) Choose:

Group and Outline>Group
Select Months and OK.

You should now have:
Book3
DEFG
1SumofData2
2DateTotal
3Jan1971
4Feb1556
5Mar1596
6Apr2191
7May924
8GrandTotal8238
Sheet2


Also, if you need the count of the no items compareed to the date, Right click on your data, choose Field and change from sum to count.

Hope you got all that.

P.S. is it the Real Newcastle in Geordieland?

Edit: Can't spool Korectlee
_________________
Share the wealth!!
Ian Mac
This message was edited by Ian Mac on 2002-09-26 04:14
 
Upvote 0

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,216,175
Messages
6,129,312
Members
449,499
Latest member
HockeyBoi

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