Error citing articles of the same author but dfferent years

  1. (Němec et al., 2009; 2008; Píša et al., 2012; 2013)
    The correct one should be (Němec et al., 2009, 2008; Píša et al., 2012, 2013)

  2. Píša et al. (2012); (2013)
    The correct one should be Píša et al. (2012, 2013)

I also set to exclude authors in the endnote software, but I still can’t get the correct format.

Enclosed please find the wrong citation format in the document and the used style.

Thank you very much for your assistance.

example_endnote.zip (19.9 KB)

My software configuration is as follows:

Operating System: Windows 10

Word Processor: Microsoft Word 2016

Endnote Version: X9

I appreciate your reply very much. I tried it according to your smart solution, and found that there is still a problem: an extra closing bracket, as shown below

Píša et al. (2012,2013))

Is there any way to solve this problem?