I think you would need a UDF for this as I don't believe there is a standard function that would do this. A udf would involve VBA so please confirm you are ok with this before I write something for you
Rgds, Geoff [blue]Si hoc signum legere potes, operis boni in rebus Latinus alacribus et fructuosis potiri potes![/blue]
Want the [red]best[/red] answers to your questions ? faq222-2244
It's like a macro in that it uses the Visual Basic editor and requires VBA but you can use it on a worksheet. To be honest, if you don't know what a UDF is at this point, it probably isn't the way to go
Rgds, Geoff [blue]Si hoc signum legere potes, operis boni in rebus Latinus alacribus et fructuosis potiri potes![/blue]
Want the [red]best[/red] answers to your questions ? faq222-2244
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.