• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

countifs error

ajnabidst

New Member
Dear all,

I am facing error with the attached file. Kindly assist me on that.

Am trying to count all sheet (sheet 1 to sheet 3), the dates and in relation to date and position and get result.

For so cell its working and some not. Correct me where i am going wrong.

Thank you in advance.

Regards,
 

Attachments

  • COUNTIFS ERROR.xlsx
    23.2 KB · Views: 6
Wrong syntax! What you have done will only return results that match across the sheets. You need to take each sheet separately:

=COUNTIFS('6.12.2019'!C:C,$A4,'6.12.2019'!D:D,$C$3)+COUNTIFS('7.12.2019'!C:C,$A4,'7.12.2019'!D:D,$C$3)+COUNTIFS('8.12.2019'!C:C,$A4,'8.12.2019'!D:D,$C$3)
 
Wrong syntax! What you have done will only return results that match across the sheets. You need to take each sheet separately:

=COUNTIFS('6.12.2019'!C:C,$A4,'6.12.2019'!D:D,$C$3)+COUNTIFS('7.12.2019'!C:C,$A4,'7.12.2019'!D:D,$C$3)+COUNTIFS('8.12.2019'!C:C,$A4,'8.12.2019'!D:D,$C$3)

really thank you for the timely help.
 
Back
Top