Data Bars - older versions of Excel

Jeff Barnes

New Member
Joined
Sep 12, 2006
Messages
12
Hi,

Is it possible to get something like the Data Bars in 2007 in older version of Excel?
I would like to fill a cell with a color based on the value (0 to 100).
So if the value was 50, only half the cell would be colored red.

Also, in Excel 2007 ... when using Data Bars, if the value is zero, there is still some fill being done. Is is possible to have no fill at all if the value is zero?

Thanks,

Jeff
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
To both of your questions, I'm afraid no.
 
Upvote 0
Hi,

Is it possible to get something like the Data Bars in 2007 in older version of Excel?
I would like to fill a cell with a color based on the value (0 to 100).
So if the value was 50, only half the cell would be colored red.

Also, in Excel 2007 ... when using Data Bars, if the value is zero, there is still some fill being done. Is is possible to have no fill at all if the value is zero?

Thanks,

Jeff

You can, in practice, create something similar to Data Bars..

See if you can modify this to suit your purpose.
Excel Workbook
ABC
1NameScoreGraph
2ABCD50||||||||||||||||||||||||||||||||||||||||||||||||||
3EFGH75|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
4IJKL68||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
5MNOP91|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sheet1
Excel 2003
Cell Formulas
RangeFormula
C2=REPT("|",B2)
<input id="gwProxy" type="hidden"><!--Session data--><input *******="jsCall();" id="jsProxy" type="hidden"><input id="gwProxy" type="hidden"><!--Session data--><input *******="jsCall();" id="jsProxy" type="hidden">
 
Last edited:
Upvote 0
You can, in practice, create something similar to Data Bars..

See if you can modify this to suit your purpose.

Excel Workbook
ABC
1NameScoreGraph
2ABCD50||||||||||||||||||||||||||||||||||||||||||||||||||
3EFGH75|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
4IJKL68||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
5MNOP91|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sheet1
Excel 2003
Cell Formulas
RangeFormula
C2=REPT("|",B2)
<INPUT id=gwProxy type=hidden><!--Session data--><INPUT id=jsProxy type=hidden *******="jsCall();"><INPUT id=gwProxy type=hidden><!--Session data--><INPUT id=jsProxy type=hidden *******="jsCall();">
If you format the cells to use the Webdings font then you can get a "solid" bar with this formula:

=REPT("g",B2)

Of course, you'd want to make the column width proportional to the scale you're using!

Also note, any decimals will be truncated to their integer values: 5.4 = 5, 9.9 = 9, 0.8 = 0.
 
Upvote 0
If you format the cells to use the Webdings font then you can get a "solid" bar with this formula:

=REPT("g",B2)

Of course, you'd want to make the column width proportional to the scale you're using!

Also note, any decimals will be truncated to their integer values: 5.4 = 5, 9.9 = 9, 0.8 = 0.

I actually use Alt+219 .... but it didn't come out properly on the HTML maker.
<input id="gwProxy" type="hidden"><!--Session data--><input *******="jsCall();" id="jsProxy" type="hidden">
 
Upvote 0
You could also create the illusion using the camera tool. Create a bar chart and scale it to the size of your cells. Now overlay a snapshot of your data using the camera tool and setting the picture color and lines to none. The downside is that you can click on the number to edit it.

4226043146_d11fd9ed55_m.jpg


You could experiment with a full block for the REPT functions already provided
Cell Formulas
RangeFormula
J9=REPT("█", H9)
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,269
Members
449,075
Latest member
staticfluids

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