Skip Rows That Don't Match in Linked Workbooks

CuriousForge

New Member
Joined
Aug 20, 2018
Messages
24
I have 2 workbooks Linked: Table 1 (Workbook 1) & Table 2 (Workbook 2).

"Declined" items of Table 1 are to be listed in Table 2 (two different, but linked workbooks). So 'Declined' from Table 1 is the main judgement criteria.

1. Formula - Green cell in Table 2 -
Code:
IF D2 of Table 1 is "Declined" then it fills up the rest of the criterias (Table 2 A2,B2,C2 from Table 1 as referenced
Hence, other cells of Table 2 take D2 of Table 2 itself as reference.

2. Problem - If Table 1 has "Approved" then it leaves the cells of Table 2 blank - the whole row as a result. I want to skip "Approved" rows completely (i.e blanks) so it moves to the next entry to check for the criteria & fills only "Declined" as a result in Table 2.

Anyone with a VBA/Formula to help with this?

J7uT8W4.jpg
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,224,820
Messages
6,181,162
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top