Hi there,
I'm using a formula with Index and Match (Excel 365) in an attempt to return all lines that contain certain the Company1 name. The formula works and it brings back the lines I need, but it also brings back other lines afterwards that don't match (see highlighted example below). Basically, I need it to stop populating information once the information from Company1 has all been brought into Sheet 2 so that I'm only capturing info from that company. Any help/ideas are greatly appreciated!! Thank you so much!
Here's my current formula: =INDEX('Sheet1'!$A2:$G$5,MATCH('Sheet2'!$B$2,'Sheet1'!$B2:$B5,0),0)
Sheet 1 with Info:
What's being returned in Sheet 2:
I'm using a formula with Index and Match (Excel 365) in an attempt to return all lines that contain certain the Company1 name. The formula works and it brings back the lines I need, but it also brings back other lines afterwards that don't match (see highlighted example below). Basically, I need it to stop populating information once the information from Company1 has all been brought into Sheet 2 so that I'm only capturing info from that company. Any help/ideas are greatly appreciated!! Thank you so much!
Here's my current formula: =INDEX('Sheet1'!$A2:$G$5,MATCH('Sheet2'!$B$2,'Sheet1'!$B2:$B5,0),0)
Sheet 1 with Info:
What's being returned in Sheet 2: