I have a worksheet that has multiple columns with similar data. The data is related by a pair of columns, so I need to search one column for a parameter then return the information on the same row in the next column. Here's a sample of the data:
I'm looking for those with the "Subject" type. So the results from the first row would have "Robert Smith" in the cell I designate. The second row would have both "John Doe" and "Jane Doe" in the cell I designate...and so on. Any help or starting points would be greatly appreciate
Code:
TYPE NAME TYPE NAME
Subject Robert Smith Witness Sam Smith
Subject John Doe Subject Jane Doe
Witness Joe Johnson Witness Jim Johnson
Caller Sue Smith Subject Johnny Storm
I'm looking for those with the "Subject" type. So the results from the first row would have "Robert Smith" in the cell I designate. The second row would have both "John Doe" and "Jane Doe" in the cell I designate...and so on. Any help or starting points would be greatly appreciate