In the genealogy I have at:
https://www.angelfire.com/realm/gotha/gotha/ormonde.htmlthe late Marquess is "5m", being twelfth in descent from the 9th Earl of Ormond.
while the 18th Viscount is "1o", being fourteenth in descent from the 1st Viscount, brother of the 9th Earl.
Thus if that genealogy is correct, they are twelfth cousins, twice removed.