Hi All,
I have figured this out before, but unfortunately lost the data. I am unsure whether I used the IF function before, or a combination of other functions, but after hours of trying I cannot figure it out.
I have a dataset/table on one tab of a sheet (screenshot 1). This table contains columns with data which I want to copy over to another tab (screenshot 2) based on cell values matching. I want the data to be pulled across if A3 matches either columns D or G of the dataset. A3 is populated by a dependant dropdown list.
The problem I am trying to overcome is the formula I am using (below) provides the data, but also provides blank rows if the criteria is not met. In the example shown, the criteria applies to row 3 within the table, and the data pulls the right information over but does it three rows down while including blank rows where the condition is not met.
How can I avoid this, only pulling information over where the criteria is met, and ignoring other entries. As mentioned, I know this is possible, but I am not as familiar with functions such as MATCH or FILTER. I have tried suggestions from other threads but cannot get them to work - any advice would be hugely appreciated!
Thank you very much.
Formula being used:
=IF((A3=Record!D2:D3002)+(A3=Record!G2:G3002),Record!D2:D3002,"")
I have figured this out before, but unfortunately lost the data. I am unsure whether I used the IF function before, or a combination of other functions, but after hours of trying I cannot figure it out.
I have a dataset/table on one tab of a sheet (screenshot 1). This table contains columns with data which I want to copy over to another tab (screenshot 2) based on cell values matching. I want the data to be pulled across if A3 matches either columns D or G of the dataset. A3 is populated by a dependant dropdown list.
The problem I am trying to overcome is the formula I am using (below) provides the data, but also provides blank rows if the criteria is not met. In the example shown, the criteria applies to row 3 within the table, and the data pulls the right information over but does it three rows down while including blank rows where the condition is not met.
How can I avoid this, only pulling information over where the criteria is met, and ignoring other entries. As mentioned, I know this is possible, but I am not as familiar with functions such as MATCH or FILTER. I have tried suggestions from other threads but cannot get them to work - any advice would be hugely appreciated!
Thank you very much.
Formula being used:
=IF((A3=Record!D2:D3002)+(A3=Record!G2:G3002),Record!D2:D3002,"")