Forum Discussion

Tormod Solem Slupphaug's avatar
Tormod Solem Slupphaug
Iron Contributor
Apr 07, 2021
Solved

Excel bubble chart: how to size bubbles based on no. of items with identical x and y values?

I have a set of data with x and y columns containing values from 1 to 5. I've placed all the rows/items in a bubble/scatter chart.

 

The challenge:

How can I size the bubbles relative to eachother by number of items registered "per coordinate" / items with identical (x and y) values?

 

 

Example data table:

 ProbabilityImpact
#141
#241
#341
#442

 

Example bubble chart (just a transparent bubble chart placed on top of coloured cells):

 

Since 3 items corresponds to the (4, 1) coordinate, while only 1 item corresponds to (4, 2), I want the bubble in (4, 1) to be bigger. As I add more items with other coordinates, I want the bubble chart to update automatically with relative sizes.

  • Tormod Solem Slupphaug 

    A bubble needs 3 argument. You have to add a counter column:

    ProbabilityImpactn
    413
    413
    413
    421

    Select row 2-5 (not the headers) and insert a bubble and i should be Ok (if you use a 2-D chart. In a 3D chart you will se that you have stacked 3 bubbles on top of each other).

    You can create the 3:d column with 

    =COUNTIFS($A$2:$A$5,A2,$B$2:$B$5,B2)

    Anther way is to use a Pivot table to create something like:

    ProbabilityImpactn
    413
    421

    But you cant use it in a pivotChart so it's kind of pointless

     

2 Replies

  • Tormod Solem Slupphaug 

    A bubble needs 3 argument. You have to add a counter column:

    ProbabilityImpactn
    413
    413
    413
    421

    Select row 2-5 (not the headers) and insert a bubble and i should be Ok (if you use a 2-D chart. In a 3D chart you will se that you have stacked 3 bubbles on top of each other).

    You can create the 3:d column with 

    =COUNTIFS($A$2:$A$5,A2,$B$2:$B$5,B2)

    Anther way is to use a Pivot table to create something like:

    ProbabilityImpactn
    413
    421

    But you cant use it in a pivotChart so it's kind of pointless

     

Resources