S7y, you say you don't get the result you're looking for, but you don't say what you do get. What is the output of the function as you're using it now?
And by the way I'm used to using commas between arguments in a function; my copy of Excel claims that semicolons are an error. Maybe it's as simple as that ... unless you're using some international version that doesn't mind semicolons.
|