Draw line chart based on cell color

undemane

Board Regular
Joined
Nov 19, 2007
Messages
75
In Cell A1, A2, A3, A4, etc, I have test data that is colored Yellow, Blue, etc. In Cell b1, b2, b3, b4, etc., I have the values I want charted as a line chart. But, I want to chart to pick up data in col. B for cells that are colored yellow in Col. A. Without writing any VB Code, is there a way to do this? Thanks
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Hi, it's not really clear to me what you want exactly.

Are you saying some random values in column A will be coloured yellow - let's say A2 and A4 for example, and all others will be coloured blue ?

And you want the chart to show only the data for the yellow ones ?

The only way I can think of doing this (without VBA) is to define what your logic is for colouring certain values yellow, and then writing that logic into a formula which pulls the "yellow" values into a column, and doesn't pull the blue values.
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,271
Members
452,628
Latest member
dd2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top