Hi

How do you want to achieve result? Formula or you can manage Macro?

Cheers!!