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

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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