Counting records

lcrooke

New Member
Joined
Feb 8, 2009
Messages
1
I have a spreadsheet with the following structure:

Date Type Jan Feb Mar
1/15/2009 corp $1,000
1/31/2009 vendor $3,000
2/12/2009 corp $5,000
2/20/2009 renewal $1,500
3/1/2009 renewal $2,500
3/4/2009 corp $3,000
3/26/2009 vendor $6,000

Total $4,000 $6,500 $11,500

Count:
Corp
vendor
renewal


The dollars are in a column for the appropriate month based on the date. I would like to get counts for each month by type. I could easily do this if I was looking for the total value by using sumif function. But I cannot figure out how to get a similar result for a count. I tried using dcount function, but I think I just do not get it or it is not the right function

Please help!
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
My suggestion is to redo your layout. You do not need the columns for each month since you already have the date. So
Date ----Type----Amt
will suffice. Now just use a Pivot Table to get the info you need
lenze
 
Upvote 0

Forum statistics

Threads
1,215,046
Messages
6,122,849
Members
449,096
Latest member
Erald

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