function too short message.

marco10

New Member
Joined
Mar 8, 2020
Messages
16
Office Version
  1. 2016
Platform
  1. Windows
=COUNTIFS(C:C,"Project Director/Manager-Civil",D:D,"temp",(or(E:E=may-20,E:E=mar-20,E:E=jan-20,"ans")))

i am trying to count the number of "Project Director/Manager-Civil" in column C which has text "Temp" in D and finally on E it could be any from "Jan-20 to dec-20",

this would work if i remove the part after "or" but i need that date part too.

can anyone please tell me what is wrong with this formula.

i keep on getting the message
( you've entered too few arguments for this function.)
Grateful for your Help,
kind regards.
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
The correct way to do an OR in countifs is

=SUM(COUNTIFS(C:C,"Project Director/Manager-Civil",D:D,"temp",E:E,{multiple criteria}))

I'm lost as to what you want to do with the dates, are you looking for:-
-any dates between a specific start and end date?
-specific month end dates?
-any date in a number of specific non-consecutive months ?
-Something else?
 
Upvote 0
Thank you. Your Support is appreciated Jason.
Actually i was trying to insert a criteria where it allows entry of people joining in different dates but then realized there is no point in doing that.
but yup thank you very much for your sharing of knowledge as i can use it in future for other reasons.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,190
Members
452,616
Latest member
intern444

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