Hi guys, Im trying to make a macros in which one of the things is to remove a row if a cell value isnt in another table.
for example, if an application under the column Unique ID does not exist in table "KPI" under the Unique ID column, then delete the whole row.
i was thinking of using index match, and came up with this
it keeps returning a value of #REF !, and i know i did somehting wrong, but dont know what.
the current table is called aTable, the table i want to check against is called KPI, and both tables have the same names for the header columns.
any help would be greatly appreciated, thanks.
for example, if an application under the column Unique ID does not exist in table "KPI" under the Unique ID column, then delete the whole row.
i was thinking of using index match, and came up with this
Code:
=INDEX(KPI, MATCH([@UniqueID],KPI[UniqueID],0))
it keeps returning a value of #REF !, and i know i did somehting wrong, but dont know what.
the current table is called aTable, the table i want to check against is called KPI, and both tables have the same names for the header columns.
any help would be greatly appreciated, thanks.