Gantt – color change

sammipd

Board Regular
Joined
Jun 6, 2010
Messages
67
I’m looking for a way to easily see the task overlap per person in a gantt chart. How can I change the colors in the bar chart to match the color of the staff person assigned the task? Or is there a better way to do this? Thanks!

Col A = Staff
Sam - green
Steve - yellow
Jon - blue








<tbody>
</tbody>
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
I'm not convinced that bar charts are the best method for Gantt charts. I prefer in-cell charts using conditional formatting. See https://www.microsofttraining.net/b/how-to-build-an-automatic-gantt-chart-in-excel/

Here's a variation.

ABCDEFGH
1TaskResponsibleStartEnd01-Nov02-Nov03-Nov04-Nov
2Job 1Alex01-Nov05-NovAlexAlexAlexAlex
3Job 2Chris02-Nov04-NovChrisChrisChris
4Job 3Pat03-Nov09-NovPatPat
5Job 4Chris03-Nov07-NovChrisChris

<tbody>
</tbody>

Data entered in A2:D5. Formula in E2, copied down and to the right:
=REPT($B2, AND(E$1>=$C$2:$C$5, E$1<=$D$2:$D$5))

Use conditional formatting in columns E and to the right, assigning a different fill color for each name.

zFIqUQB.png


Use custom number formatting to hide the text in the Gantt cells – ";;;" (three semicolons, no quotes, no spaces):

jCIaOIo.png


A little custom cell formatting – borders and alignment:

sPV0xH8.png
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,982
Messages
6,122,580
Members
449,089
Latest member
Motoracer88

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