I've got a large sheet of URL's which I would like to categorise into the content sections e.g. products, downloads etc.
At the moment i'm using a very long IF(ISNUMBER(SEARCH function to say if url contains "/download/" call it "Download", if not, does it contain "Products", if so, call it "Products" etc.
Ideally I'm trying to find some VBA code that I could call through a user function, whereby it searches the selected cell for a list of values on another sheet if it finds that value it returns a specific text if not it searches in a different range and returns another piece of text if it is found.
I've got this piece of code:
It starts the job, but doesn't quite achieve what I want. Any help would be much appreciate. Thanks.
Bookmarks