I have 2 vlookup tables (A1:B2) and (A4:B5). The values in each cell are as follows:
A1=Male
A2=Female
B1=Man
B2=Woman
A4=Male
A5=Female
B4=Bull
B5=Cow
Cell A7 is where i will paste either the text "Male" or "Female" into. Cell A8 is where i wish to see the result displayed.
Question: How do i set up 2 option buttons (available from the control toolbox) with option1 labelled as "Human" and option2 as "Animal", such that:
- When i select the Human option and paste the text "Male" into cell A7, the result in cell A8 displays "Man"
Similarly:
-select Human option, paste "Female", result is "Woman"
-select Animal option, paste "Male", result is "Bull"
-select Animal option, paste Female, result is "Cow"
I'm new to excel's control toolbox, and am only able to implement the first part (the Human part) with vlookup by keying into cell A8 the following:
=VLOOKUP(A7,$A$1:$B$2,2,FALSE). Basically looking for guidance how to use option buttons to point the vlookup function at the correct table.
Thank you
Bookmarks