Let's suppose:
In sheet1 of the Excel book I have this table: and In sheet2 of the Excel book I have this other table:
The problem that I want to solve by VBA macro is that if I write any name in cell A2 of the "Patients" table, and whose name is in the set of cells (A2:A4) of the "Age Group" table, then the macro automatically fills in cells B2 and C2 of this table, with the values that correspond to the specific name written there.
Cheers!