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

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
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,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

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