hi laszlo.kocsis, welcome to the forum. see if this link helps:
http://chandoo.org/wp/2008/10/22/sor...sing-formulas/