Hi all.
I have an Excel Book with two Sheets - Sheet1 and Sheet2 and use them to aggregate news stories from Government agencies.
Sheet2 has three columns - Domain(A), Portfolio(B) and Agency(C)
This sheet is populated with the domain name that identifies a particular agency, the government portfolio that it belongs to and the name of the agency
eg. health.gov, Health, Department of Health
Sheet1 has three columns - Portfolio(A), Agency(B) and Link(C)
I copy and paste URLs into C and as I do that I want excel to automatically search the Domain column(A) in Sheet2 for a partial match from the link that I insert and enter the corresponding Portfolio (A) and Agency (B) from Sheet2 into those fields in Sheet1.
eg. In Column C in Sheet1, I paste something like http://www.health.gov/random_folder/random_file.html and I want Excel to automatically search Column A in Sheet2 and if it finds a match based on any part of the URL, to automatically insert "Health" in Portfolio (B) and "Department of Health" in Agency(C)
Any suggestions to automate this?
Thanks in advance.
Bookmarks