Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,872
Default Conditional formatting - using a value to control color of bar

Hi,

Am Mon, 20 Oct 2014 08:39:32 +0100 schrieb Horus:

I am trying to make use of the data bars option under Conditional
Formatting. I want the value of the conditonally formatted cell to
determine the length of the bar. Thus far everything is fine! Then I
want another value to determine the color of the bar
(red/yellow/green).


you have to use VBA.

Please look he
https://onedrive.live.com/?cid=9378A...121822A3%21326
for workbook "CF_issue_Horus"


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,872
Default Conditional formatting - using a value to control color of bar

Hi,

Am Mon, 20 Oct 2014 10:11:28 +0200 schrieb Claus Busch:

for workbook "CF_issue_Horus"


download the file because macros are disabled in OneDrive


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional
  #3   Report Post  
Junior Member
 
Location: Lund, Sweden.
Posts: 5
Default

Quote:
Originally Posted by Claus Busch View Post
Hi,

Am Mon, 20 Oct 2014 08:39:32 +0100 schrieb Horus:

I am trying to make use of the data bars option under Conditional
Formatting. I want the value of the conditonally formatted cell to
determine the length of the bar. Thus far everything is fine! Then I
want another value to determine the color of the bar
(red/yellow/green).


you have to use VBA.

Please look he
https://onedrive.live.com/?cid=9378A...121822A3%21326
for workbook "CF_issue_Horus"
Thank you Claus!

I was hoping to avoid a macro for this, but you sound certain that this is not an option. Is this a known limitation of the feature? I have not found any information as to why this should not work.

Thank you for providing a working example. It may actually be less work than implementing the Conditional Formatting as I intended, since I will need to do it for several non-adjacent cells.

Best Regards,
Horus (Fredrik Lönn)
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,872
Default Conditional formatting - using a value to control color of bar

Hi Frederik,

Am Mon, 20 Oct 2014 11:06:32 +0100 schrieb Horus:

Is this a known limitation of the feature? I have not
found any information as to why this should not work.


for the data bar you can only select a color but you could not refer it
to a value


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional
  #5   Report Post  
Junior Member
 
Location: Lund, Sweden.
Posts: 5
Default

Quote:
Originally Posted by Claus Busch View Post
Hi Frederik,


Is this a known limitation of the feature? I have not
found any information as to why this should not work.


for the data bar you can only select a color but you could not refer it
to a value
I understand that, which is why I tried with the stop-if-true rules between three different data bar formattings. I don't see why that should not work, but for now I will resort to VBA as you proposed.

Thank you,
Fredrik


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting a tab color Rhino V[_2_] Excel Programming 3 August 9th 09 11:29 PM
If formula control conditional formatting Very Basic User Excel Discussion (Misc queries) 2 July 8th 09 06:01 PM
conditional formatting for tab color Rosanne Excel Worksheet Functions 2 October 29th 08 11:22 PM
Conditional color formatting entries have wild color. John Geyer Excel Discussion (Misc queries) 0 February 24th 06 06:11 PM
See conditional formatting Color value in vba Gunnar Sandström Excel Programming 1 November 17th 05 01:27 PM


All times are GMT +1. The time now is 07:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"