Hey guys, bare with me as this is a bit complicated to explain. I basically have a document that contains a long list of subdepartments in one sheet and a long list of people info in rows in another sheet where the subdeparment is displayed to every person. My goal is to add a column beside the subdeparment cell that displays which head deparment it belongs to. I have a separate sheet that contains all the subcomparments in columns, with the name of the head deparment, like this(with head department in bold and subdepartments below:
Engineering HR IT
mechanic staffing production
gears recruting smartphones
etc...
then i have another sheet that contains rows of people info that only shows their subdepartment(recruiting in this instance):
Daffy Duck streetadress jobtitle recruiting
now i want the cell next to "recruting" to display"HR" if it contains any of the text in the HR column.
So basically i want the code to search every cell in the subdepartment sheet and shows the corresponding main department (HR, Enigneering etc) in the people sheet.
Am i making sense? anyone got an idea? been wrapping my head around this for a while now, would appreciate some help...
Engineering HR IT
mechanic staffing production
gears recruting smartphones
etc...
then i have another sheet that contains rows of people info that only shows their subdepartment(recruiting in this instance):
Daffy Duck streetadress jobtitle recruiting
now i want the cell next to "recruting" to display"HR" if it contains any of the text in the HR column.
So basically i want the code to search every cell in the subdepartment sheet and shows the corresponding main department (HR, Enigneering etc) in the people sheet.
Am i making sense? anyone got an idea? been wrapping my head around this for a while now, would appreciate some help...
Last edited: