+ Reply to Thread
Results 1 to 6 of 6

Need to create Venn diagram based on table

  1. #1
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,397

    Need to create Venn diagram based on table

    Not even sure if this is possible.

    As shown on the attached. grid shows how many clients each salesperson deals with, and how many sales people each client deals with.

    End User wants to show those relationships visually in Venn diagrams, as in the four "examples" on the attachment, but no idea how to "code" it, or even if is possible?

    Employee Venn:
    1. Select employee from Drop List
    2. Code counts how many columns say "Yes" for that person, and creates a circle for each one.
    3. Identifies which clients they are, and labels the circles with the relevant details - ideally would have different colours for different clients.
    4. Put circles into relevant layout for the total of circles involved.

    Client Venn
    1. Select Client from Drop List
    2. Code counts how many rows say "Yes" for that client, and creates a circle for each one.
    3. Identifies which employees they are, and labels the circles with the relevant details
    4. Puts the circles into the relevant layout for the total of circles involved.

    Code would also have to accommodate "dynamic" ranges, as client and employee totals and details will change over time.

    Any suggestions or pointers valued as ever.

    Ochimus
    Attached Files Attached Files
    Last edited by Ochimus; 11-27-2016 at 01:03 PM.

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Need to create Venn diagram based on table

    since yours isnt a weighted veen chart...eg all circles are the same size

    you could use the smartArt charts?
    assuming 7 is your max...the charts lose too much detail after 7
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Need to create Venn diagram based on table

    For some reason i cant get smartArts to change colorthemes or styles properly

    the basic premise works though
    see attached file

    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,397

    Re: Need to create Venn diagram based on table

    humdingaling,

    Many thanks for the prompt response and interesting suggestion.

    As shown on the attached, it might work if it was "tweaked" so that the central Hexogon became the employee, and the layout of the cluster then moved the "client" shapes around it.

    I'll plug away at it, but challenge is that the current Code generates a varying number of other "blank" Hexagons that need to be removed.

    And finally, each cluster would have to be resized to ensure consistent scaling,

    But, as I said at the outset, it's an unusual challenge!

    Ochimus
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Need to create Venn diagram based on table

    what you have suggested it no longer a Veen diagram
    Veen is meant to overlap each other showing coorelative points

    in your example is now hexagon cluster

    which you can be replaced with basic radial chart - which you can also do with smart art
    layout

    83>> Basic Radial
    it will require some tweaking of the VBA code as the employee is the parent and every client is then child of the parent

    if i have time later today i give it a try to amend
    its just a matter of getting the syntax

  6. #6
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Need to create Venn diagram based on table

    Please Login or Register  to view this content.
    code to do SmartArt with basic radial instead
    also i found out how to do the color theme and quick style properly

    use this below code to figure out what is what, comment out each
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to Create a Venn Diagram
    By cartica in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 08-07-2014, 05:43 AM
  2. Venn Diagram (3 circles)
    By ngs007 in forum Excel General
    Replies: 1
    Last Post: 08-17-2013, 06:22 AM
  3. overlap chart / venn diagram
    By kmool in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-25-2008, 06:27 PM
  4. Venn Diagram
    By Racheldt in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 11-01-2005, 12:05 AM
  5. [SOLVED] how can I creat venn diagram using Excel?
    By Magdy in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-01-2005, 12:05 PM
  6. [SOLVED] Bubble Chart - Venn Diagram
    By Bill Hall in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 05-23-2005, 02:06 PM
  7. [SOLVED] Venn Diagram
    By Pearl in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-07-2005, 05:07 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1