Excel Venn Diagram (Table of Contents)
Introduction to Venn Diagrams in Excel
A Venn diagram is a diagram or illustration of the relationships between and among sets (different groups of objects). It is a pictorial representation of logical or mathematical sets that are drawn in an enclosing rectangle (rectangle representing the universal set) as circles.
Each circle represents a set, and the points inside the circle represent the elements of the set. The interior of the circle represents elements that are not in the set. Common elements of the sets are represented as intersections of the circles. Venn diagrams are called so as John Venn invented them.
How to Create Venn Diagram in Excel?
Let’s understand how to Create Venn Diagram in Excel with a few examples.
Example #1
Let’s say we wish to draw a Venn diagram for the number of students who passed (out of 25) in the subjects: Maths, English, and Science. We have the following students’ data in an Excel sheet.
Now the following steps can be used to create a Venn diagram for the same in Excel.
- Click on the ‘Insert’ tab and then click on ‘SmartArt’ in the ‘Illustrations’ group as follows:
- Now click on ‘Relationship’ in the new window and then select a Venn diagram layout (Basic Venn) and click ‘OK.
- This will display a Venn diagram layout as follows:
- Now the text on the circles can be changed by clicking on [Text] in the Text pane in circles and then renaming it so as to depict what the circles represent.
- We can add text in overlapping portions of the circles by inserting a text box.
Example #2
Let’s say there are two sets A & B defined as A= {1, 2}, and B= {2, 3}, and we wish to find A U B (A union B). A union is defined as something that is present in either of the groups or sets.
So A U B means the elements or numbers from either A or B.
- A U B= {1, 2} U {2, 3}
- A U B= {1, 2, 3}
So let’s see how this can be represented in a Venn diagram.
- Click on the ‘Insert’ tab and then click on ‘SmartArt’ in the ‘Illustrations’ group as follows.
- Now click on ‘Relationship’ in the new window and then select a Venn diagram layout (Basic Venn) and click ‘OK.
- This will display a Venn diagram layout as follows.
We can also choose ‘Linear Venn’ instead of the ‘Basic Venn’ layout and then delete some circles. Now since there are only two sets (A & B) in this case, we delete one of the circles from the Venn diagram as follows.
- Click one of the circle and press the ‘Delete’ button. This will lead us to a Venn diagram below:
- Now the text on the circles can be changed by clicking on [Text] in the Text pane in circles and then renaming it so as to depict what the circles represent.
Just like Union, there is another term generally used for sets which are ‘Intersection’ which means something that is present in all of the groups or sets.
So, in this case, An intersection B (A ∩ B) would be numbers or elements that are present in both A & B.
- A ∩ B= {2}
Just like deletion, we can even add circles to the Venn diagram by following the below steps.
- Right-click the existing circle, which is closest to where the new circle is to be added. Now click on ‘Add Shape’, and then click on ‘Add Shape After’ or ‘Add Shape Before’.
After adding the shape, the output is shown below.
Example #3
Let’s say there are two sets A & B defined as A= {1, 3, 5} and B= {1, 2, 3, 4, 5, 6}, and we wish to find A U B (A union B). So as seen in the above example, A U B means the elements or numbers from either A or B.
- A U B= {1, 3, 5} U {1, 2, 3, 4, 5, 6}
- A U B= {1, 2, 3, 4, 5, 6}
So let’s see how this can be represented in a Venn diagram.
- Click on the ‘Insert’ tab and then click on ‘SmartArt’ in the ‘Illustrations’ group as follows.
- Now click on ‘Relationship’ in the new window and then select a Venn diagram layout (Stacked Venn) and click ‘OK.
- This will display a Venn diagram layout as follows.
Now since there are only two sets (A & B) in this case, so we delete the extra circles from the Venn diagram by right-clicking on them and pressing ‘Delete’. This will lead us to a Venn diagram as below.
A is a subset of B, so if B represents the outer circle, A will represent the inner circle. Also, since all the elements of A are also present in B, so we can reposition the inner circle by dragging it.
In this case, A U B will be equal to B as A is a subset of B. Also, A U B will be equal to A.
Things to Remember About Venn Diagram in Excel
- Venn diagrams illustrate simple set relationships. They are generally used in probability, statistics, computer science, and physics.
- Overlapping circles are used in Venn diagrams to show the similarities, differences, and relationships between different group of objects. The overlapping portions represent the similarities between groups, and the non-overlapping portions represent the differences.
- Venn diagrams enable us to organize information visually so as to see relationships between two or more set of items. Venn diagram can also be created via drawing tools available in Excel.
- We can even apply a SmartArtStyle to the Venn diagram. To do this, click on the ‘Design’ tab in the “SmartArt Tools and then click on the layout that is desired :
- We can even apply color combinations to the circles in the Venn diagram and change their colors as desired. Also, we can add soft edges, glows, and 3D effects. To do this, click on the ‘Design’ tab in the “SmartArt Tools and then click on ‘Change Colors’ and select the desired color theme:
Recommended Articles
This is a guide to Venn Diagram in Excel. Here we discuss creating Venn Diagrams in Excel and practical examples, and a downloadable excel template. You can also go through our other suggested articles –
16 Online Courses | 23 Hands-on Projects | 140+ Hours | Verifiable Certificate of Completion
4.8
View Course
Related Courses