using countifs in a large spreadsheet

Pulzzed

New Member
Joined
Aug 25, 2011
Messages
15
Have a large data spreadsheet in excel 2010. I’m trying to count items in a column that fall within a certain data range. =countifs(sheet1!$D$3:$D$1003,sheet1!$B$3:$B$1003,">="&B4,sheet1!$B$3:$B$1003,"<="&C4)
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
Sheet1 D3 = items to count (there are empty cells)
Sheet1 B3 = date column
<o:p></o:p>
B3 and B4 are date ranges that I want my criteria to meet. For example: I need the total files for Feb. B3 = 2/1/2011 & C4 = 2/28/2011
<o:p></o:p>
 
Last edited:

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
What is in column D? The countifs function only has an even number of arguments (i.e., =countifs(range1, criteria1, range2, criteria2)). You have 5 arguments currently. Are you trying to only perform countifs if there is a value in column D and the date falls between the range?
 
Upvote 0
Maybe

=COUNTIFS(Sheet1!$D$3:$D$1003,"<>",Sheet1!$B$3:$B$1003,">="&B4,sheet1!$B$3:$B$1003,"<="&C4)

M.



 
Upvote 0
What is in column D? The countifs function only has an even number of arguments (i.e., =countifs(range1, criteria1, range2, criteria2)). You have 5 arguments currently. Are you trying to only perform countifs if there is a value in column D and the date falls between the range?

Column D is the Date ranges.
 
Upvote 0

Forum statistics

Threads
1,224,574
Messages
6,179,633
Members
452,933
Latest member
patv

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