Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 560
Default Bubble Charts

On Thu, 5 Jul 2007, in microsoft.public.excel.charting,
Marci Brooks said:
A new question on coloring bubbles: I have about 50 bubbles on my chart and
each one represents a value for a specific country. I am trying to color the
bubbles based on the region where the country lies (i.e. all countried in
africa = red; all countries in asia = green, etc). Is there a way to do this
through a formula or macro? Or do I have to do it manually, selecting each
bubble separately and then choosing the corresponding color?


It's much easier to do it by creating extra columns in the spreadsheet
than by writing macros. Like so:

Continent Country Value Asia Africa
Asia China 1.0 1.0 #N/A
Asia Vietnam 1.2 1.2 #N/A
Africa Niger 1.1 #N/A 1.1
Asia Laos 1.3 1.3 #N/A

Imagine that "Continent" is in cell A1; then cell D2 contains the
formula:

= IF ( $B2=D$1, $C2, NA() )

Then you can build your chart from these values. If you want your bubble
chart to build automatically using the Chart Wizard, re-arrange the
columns from the way I have arranged them, using cut and paste.

--
Del Cotter
NB Personal replies to this post will send email to ,
which goes to a spam folder-- please send your email to del3 instead.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bubble Charts Richard Charts and Charting in Excel 1 January 25th 07 05:47 PM
Bubble charts KG Charts and Charting in Excel 8 October 29th 06 02:55 AM
labels for bubble charts RickSubber Charts and Charting in Excel 2 May 1st 06 08:36 PM
Bubble Charts - Different Shapes [email protected] Charts and Charting in Excel 3 May 25th 05 09:02 PM
Bubble Charts in Excel Juan Charts and Charting in Excel 3 April 25th 05 03:01 PM


All times are GMT +1. The time now is 02:02 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"