help with =COUNTIFS formula

redspanna

Well-known Member
Joined
Jul 27, 2005
Messages
1,602
Office Version
  1. 365
Platform
  1. Windows
Hi all

I have this formula to count the occurrences the same date that is shown in cell T11 is shown through my data held in column A

=COUNTIFS(Log!$A:$A,">="&Dashboard!T11,Log!$D:$D,"<="&EOMONTH(Dashboard!T11,0))

How can this be changed then to simply SUM the values held through column D and not just count them?

I've tried to change the =COUNTIFS to =SUMIFS but I get an error stating "You've entered too few arguments.."

Help appreciate - thanks
 
I would have to disagree, if somebody doesn't know how to use a countifs or sumifs formula, the chances are that they will not understand an array formula.
The fact that you may not have noticed any difference doesn't mean there isn't one. Personally I tend to steer clear of array entered formulae wherever possible (within reason).
 
Upvote 0

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Maybe something like below
On phone so haven't checked
Ps is dashboard T11 today's date

VBA Code:
=SUMIFS (Log!$D:$D, Log!$A:$A,">="&Dashboard!T11,Log!$A:$A,"<="&EOMONTH(Dashboard!T11,0))

That's great - thanks a lot :)
 
Upvote 0

Forum statistics

Threads
1,214,413
Messages
6,119,374
Members
448,888
Latest member
Arle8907

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