Column chart: Assign/derive column colors by/from data values

Joined
Nov 27, 2019
Messages
18
Office Version
  1. 365
  2. 2013
  3. 2010
Platform
  1. Windows
Hi, I have a very basic question about plotting data in Excel charts.

My data contains two columns representing date and quantity and a third column which contains categorical values (see sample data below). I need to create a simple column chart with date on x-axis and quantity on y-axis and columns' color defined by the corresponding category value. The two requirements are:
a) there should be no clustering, stacking or grouping of columns; just a 'group' role should be assigned to QTTY column to control the bar color (which I don't know how to implement);
b) user should have direct access to nominating a color to a category (i.e., once a new category appears in data, Excel should not re-assign all the colors but instead look for 1-1 correspondence between categories and colors OR select a new color for the new category while retaining old colors for old categories).

What chart type should I use?

Thanks in advance,
Dmitry

***
Sample data:

DTCATQTTY
2019-05-28A-100
2019-05-28B200
2019-05-29B-50
2019-05-30C200
2019-05-30A100
2019-05-31A-150
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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