xi - and eta -function resummation of finite series: general case