Making colour Bar Chart of road progress Work

vidhate0123

New Member
Joined
Jun 24, 2015
Messages
18
Road Work Completed
FromToSideItem
010LHSDLC
1820LHSDLC
814RHSDLC
1826RHSDLC
08LHSPQC
812RHSPQC
2026RHSPQC

<tbody>
</tbody>


Base of this data I want to draw colour Bar chart / Progress chart as shown in below


<colgroup><col span="4"></colgroup><tbody>
</tbody>
PQC LHSCCCC
DLC LHSCCCCC
CC
Kilometer02468101214161820222426283032
DLC RHSCCCCCCC
PQC RHSCCCCC

<tbody>
</tbody>


As here is not option of format fill cell by colour so I show it by written "C"
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
You can do that using Conditional formatting


Excel 2013/2016
ABCDEFGHIJKLMNOPQRSTUVWXY
1FromToSideItemPQC LHS
2010LHSDLC
31820LHSDLCDLC LHS
4814RHSDLC
51826RHSDLCKilometer02468101214161820222426283032
608LHSPQC
7812RHSPQCDLC RHS
82026RHSPQC
9PQC RHS
Color


Select I1:Y9 new rule, use a formula
=SUMPRODUCT(($D$2:$D$8&" "&$C$2:$C$8=$H1)*($A$2:$A$8<=I$5)*($B$2:$B$8>=I$5))
& select the format
 
Upvote 0
If you need VBA, then simply record a macro of you doing it manually.
 
Upvote 0

Forum statistics

Threads
1,215,912
Messages
6,127,685
Members
449,398
Latest member
m_a_advisoryforall

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