Endnote x6 and x9: In-text citation of mulitple works by the same author


I need to cite multiple works by the same author in the text in this way:

(Doe 2001, 2002 and 2003)

So far I have figured out how to adjust the outputstyle to get the follwoing results:

(Doe 2001, 2002, 2003)


(Doe 2001 and 2002 and 2003)

Is there a way to separate most works by commata but only the last from the second last with and, like

shown in the first example?

Thank you in advance,