$ 0 0 Hi Vinay!You don't need any UDF for that. "Index" is a standard function in graphical mapping. Regards, Evgeniy.