Link to home
Start Free TrialLog in
Avatar of acdecal
acdecal

asked on

conditional format data bars based on different cell

I want to use conditional formatting with data bars based on the value of a different cell.  The cell to show the data bar is a text cell in the same row as the cell with the value.  ie; cell D14 contains the item description and cell X14 contains the amount.  I want the data bar in the cell with the description based on the value in X.  Possible?

Thanks
Avatar of KnutsonBM
KnutsonBM
Flag of United States of America image

Which version of excel are you using?

-Brandon
Please take a look at the sample attached file to see if this is what you want to do...

jppinto
Conditional-formatting.xls
Avatar of acdecal
acdecal

ASKER

2007
Avatar of acdecal

ASKER

ippinto,
nope I want to use the data bars in 2007
Avatar of barry houdini
I think the data bar needs to relate to the value in the cell. You might be able to use a workaround by using an adjacent column to D14, e.g. in E14 use the formula
=X14
and then set up the data bar on E14, choosing the "show bar only" option so that the number doesn't appear in E14
Any good to you?
regards, barry
Avatar of acdecal

ASKER

barryhoudini,

thanks but I don't have the real estate for that.  The description cell is long and would visually accommodate the data bar format.  
You can't use the data bars in any cell other than the one containing the value, as Barry said. If you can't use an additional column next to the description cells, then the only other thing I can think of would be to use the camera tool to take snapshots of linked CF cells on another sheet for example, but that would be a nightmare to maintain.
Can I ask why you need the bars in the description cells?
Avatar of acdecal

ASKER

As data is added to the workbook, we would like a visual indication of how each line item contributes to the overall total.  The line item total is on the far right of the worksheet and normally out of site.
ASKER CERTIFIED SOLUTION
Avatar of Rory Archibald
Rory Archibald
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of acdecal

ASKER

A shame MS can't implement that.