Tom Denniston wrote: > I don't know if this helps but you could use where to do the dispatch > between the two different formulas. Yes, that's a good idea. Thanks! Wojciech Smigaj