Column Graph Question

mholton63

New Member
Joined
Nov 16, 2018
Messages
9
I have a manual column graph under a line graph. I'd like each column to be green until in gets above my goal, then I want it red. Is this possible. Or would it be better to do this in a VBA?
See example below

1668522235727.png
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Yes it can be done. I whipped this up very quickly.

1668582474919.png


You need to add a new table with some logic to look at your Daily numbers vs Goal.

This is the logic I used for Daily Under Cells =IF(B3>=B2,0,B3)
This is the logic I used for Daily Over Cells =IF(B3>=B2,B3)
abcdef
1311234...
2Goal1230712307123071230712307
3Daily10500997310275
4MTD1050010237
5311234
6Daily Under LogicFormula goes here
7Daily Over LogicFormula goes here
8Goal
9MTD

Select the Table -> Insert -> Stacked Column
Then right click on one of the columns in the the graph and select "Change Series Chart Type", see below
Change Goal & MTD to Chart Type = Line, see below
Change colors as desired

1668582983890.png



1668583032365.png
 
Upvote 0
Yes it can be done. I whipped this up very quickly.

View attachment 78786

You need to add a new table with some logic to look at your Daily numbers vs Goal.

This is the logic I used for Daily Under Cells =IF(B3>=B2,0,B3)
This is the logic I used for Daily Over Cells =IF(B3>=B2,B3)
abcdef
1311234...
2Goal1230712307123071230712307
3Daily10500997310275
4MTD1050010237
5311234
6Daily Under LogicFormula goes here
7Daily Over LogicFormula goes here
8Goal
9MTD

Select the Table -> Insert -> Stacked Column
Then right click on one of the columns in the the graph and select "Change Series Chart Type", see below
Change Goal & MTD to Chart Type = Line, see below
Change colors as desired

View attachment 78787


View attachment 78788
This will work. Thanks for the help
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,191
Members
452,616
Latest member
intern444

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