counting cells from multiple columns within a specific date range

qctech

New Member
Joined
Dec 19, 2013
Messages
3
Hello All,

As stated above, I'm trying to count several columns of information within a specific date range. So far I have this:

=IF('CODE ISSUES'!A=DATE(2014,1,1),COUNTIF('CODE ISSUES'!J:N,A3))

What I'd like to do is graph information on a monthly basis. Hope this makes sense.

Thanks,
qctech
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Hi qctech,
a small sample of your data might help, as a table tells more then a thousand words.
But basically what you want is:
-if column A is from jan 1st to jan 31rd, count the amount of cells in columns J-N that are equal to cell A3?
Assuming you use Excel 2007+, I would go for a COUNITFS formula. Something along the lines of: COUNTIFS('CODE ISSUES'!J:N,A3,'CODE ISSUES'!A,">="& DATE(2014,1,1), 'CODE ISSUES'!A, "<"& DATE(2014,2,1))

Hope that helps,

Koen
 
Upvote 0
Hello Koen,

I was finally able to pry the knowledge out of one of our electrical engineers. I'm using a sum array for what I need:

=SUM(
('CODE ISSUES'!$J$6:$N$6000=A4)*('CODE ISSUES'!$A$6:$A$6000>$H$2)*('CODE ISSUES'!$A$6:$A$6000<$H$3))

Where column A is the date entry, columns J through N are the data to be collected, and H2/H3 is the range of the date entries to collect info from.

Sometimes I think electrical guys have way too much time on their hands.

I appreciate your reply Koen. Thanks,

Louis
 
Upvote 0

Forum statistics

Threads
1,214,383
Messages
6,119,198
Members
448,874
Latest member
Lancelots

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