Cond. Format Data Bars of range based on values of another range

  • Thread starter Thread starter alexmo
  • Start date Start date
A

alexmo

I want to format a column titled "Names" using <conditional formatting with
Data Bars> based on the values of another columns titled "Values". How can I
do that?
Ex:
Names Values
Small 10
Medium 20
Large 30
I need the databars to show on the columns Names rather than Values.
 
One way to do what you want is to duplicate your values in the Names column,
and use a custom format to display Small, Medium or Large. Something like:
[<=10]"Small";[<=20]"Medium";"Large"

Then, because the cells contain numbers, you can use Data Bars for them.

Regards,
Fred
 
Hi,

I do not think that is possible in Excel 2007. You will necessarily have to
use the data bars on the column which has the condition.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com
 
thanks Fred; that was fast!
I cannot do what you suggest although it's a nice suggestion;

My "Names" column is a list of hundreds of items.
The Values column lists the price of these items.
I want to print the Names column only and use the data bars to give an idea
of the expensive v/s cheaper items.

--
alexmo


Fred Smith said:
One way to do what you want is to duplicate your values in the Names column,
and use a custom format to display Small, Medium or Large. Something like:
[<=10]"Small";[<=20]"Medium";"Large"

Then, because the cells contain numbers, you can use Data Bars for them.

Regards,
Fred

alexmo said:
I want to format a column titled "Names" using <conditional formatting with
Data Bars> based on the values of another columns titled "Values". How
can I
do that?
Ex:
Names Values
Small 10
Medium 20
Large 30
I need the databars to show on the columns Names rather than Values.
 
I was worried you had an application with many more values than your
example. Sorry my idea won't work in that case. Can't think of any other
solution.

Regards,
Fred.

alexmo said:
thanks Fred; that was fast!
I cannot do what you suggest although it's a nice suggestion;

My "Names" column is a list of hundreds of items.
The Values column lists the price of these items.
I want to print the Names column only and use the data bars to give an
idea
of the expensive v/s cheaper items.

--
alexmo


Fred Smith said:
One way to do what you want is to duplicate your values in the Names
column,
and use a custom format to display Small, Medium or Large. Something
like:
[<=10]"Small";[<=20]"Medium";"Large"

Then, because the cells contain numbers, you can use Data Bars for them.

Regards,
Fred

alexmo said:
I want to format a column titled "Names" using <conditional formatting
with
Data Bars> based on the values of another columns titled "Values". How
can I
do that?
Ex:
Names Values
Small 10
Medium 20
Large 30
I need the databars to show on the columns Names rather than Values.
 
Back
Top