Google Sheets – Circular Dropdown Dependency

formulasgoogle sheetsgoogle-sheets-data-validation

Suppose we have 2 columns Id & Name which contained in sheet1. Now in sheet2 have dropdown for Id & Name which user can select and it Lookup value for each other (select Id from dropdown, Name automatically filled, and vice-versa).

Is this possible? Because it sounds like circular dependency.

Best Answer

It is indeed a circular dependency. You can either have ID dropdown or Name dropdown and counterpart of it will need to be secured by VLOOKUP formula:

=IFERROR(VLOOKUP(A2, Sheet1!A2:B, 2, 0), )

0

=IFERROR(VLOOKUP(B2, {Sheet1!B2:B,Sheet1!A2:A}, 2, 0), )

0

demo spreadsheet