Concerning your first question:
If I understand what you're saying, you have two types of vertices and you want each type to have a certain shape/color combination.
I don't think you need an additional worksheet or a VLOOKUP to accomplish that. Try this:
1) Add a "Type" column to the Vertices worksheet and enter one of your two types for each vertex. I'll call the types "Student" and "Teacher" in my example here. (You probably already have such a column.)
2) Enter the following formula into the first empty cell in the Shape column on the Vertices worksheet:
=IF(Vertices[[#This Row],[Type]]="Student", "Circle", "Square")
That formula says "if this vertex has a Type of Student, set the Shape to Circle; otherwise set it to Square.
3) Similarly, enter this formula into the first empty cell in the Color column on the Vertices worksheet:
=IF(Vertices[[#This Row],[Type]]="Student", "Orange", "Purple")
You will need to change "Circle", "Square", "Orange" and "Purple" to your preferred shapes and colors, of course.
-- Tony
If I understand what you're saying, you have two types of vertices and you want each type to have a certain shape/color combination.
I don't think you need an additional worksheet or a VLOOKUP to accomplish that. Try this:
1) Add a "Type" column to the Vertices worksheet and enter one of your two types for each vertex. I'll call the types "Student" and "Teacher" in my example here. (You probably already have such a column.)
2) Enter the following formula into the first empty cell in the Shape column on the Vertices worksheet:
=IF(Vertices[[#This Row],[Type]]="Student", "Circle", "Square")
That formula says "if this vertex has a Type of Student, set the Shape to Circle; otherwise set it to Square.
3) Similarly, enter this formula into the first empty cell in the Color column on the Vertices worksheet:
=IF(Vertices[[#This Row],[Type]]="Student", "Orange", "Purple")
You will need to change "Circle", "Square", "Orange" and "Purple" to your preferred shapes and colors, of course.
-- Tony