Struggling with Conditional Formatting

Timoo

New Member
Joined
Jul 6, 2012
Messages
8
Hi Guys,

A collegue has got a weird problem with Conditional Formatting.
While color coding rows row by row, every time he saves the sheet, the color coding gets mixed up.
Where he fills in row per row, Excel automagically transforms it to what Excel thinks will be "similar".
Or so it seems...

I would llike to attach 2 images, but do not how to?
(currently no ftp-server to my availability to upload these pics)

With kind regards,
Timo


</SPAN>
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Hello and welcome to the Board

1) What Excel version are you using?

2) You can upload your files to any online hosting service such as DropBox, MediaFire, SkyDrive and others. Then you paste the link by clicking the Link button on the Reply toolbar:


https://www.dropbox.com/sh/uuj8geuogk2vygs/75HVQEf13D

There is also an Insert Image button that accepts an URL address.
 
Upvote 0
Hello and welcome to the Board

1) What Excel version are you using?

2) You can upload your files to any online hosting service such as DropBox, MediaFire, SkyDrive and others. Then you paste the link by clicking the Link button on the Reply toolbar:


https://www.dropbox.com/sh/uuj8geuogk2vygs/75HVQEf13D

There is also an Insert Image button that accepts an URL address.

Sorry, I indeed forgot to mention.
Excel 2010, Windows 7 Enterprise environment.
And the fact I did not have any FTP ready at hand, got me fired up again, so: pics

What it should be:
pic2.gif


What happens after saving & reopening:

pic1.gif
 
Upvote 0
I don’t have a copy of Excel 2010, but one thing that is puzzling me is that it appears to be a mix of relative and absolute references in your formulas.
Contrary to Excel 2007, I see that your version doesn´t display the actual formulas on the Rules Manager dialog, but anyway:

- C7 is a relative reference and will be adjusted (changed)
- $Z$2 is an absolute reference, therefore fixed.

So I would expect the first rule to be Cell Value <= $C$7

Could you verify this?
 
Upvote 0
Hi,

Thank you for willing to help me out in this!

Cell C7 is relative to the line conditionally formatted.
C7 is compared to C5, D7 to D5, E7 to E5, and so on.
Z2 is fixed value; percentage.

If C5 <= C7, green
If C5 > C7*% (Z2), red
If C5 > C7, yellow

Image below shows it.
Although it is linked not to Z2, but to XX on tab 'ALL..blabla'.
We are currently checking if that is the problem, but it seems not to be the case.

pic3.gif


with kind regards,
Timo
 
Upvote 0
Hi Timo

According to your explanation cell C7 is indeed a relative reference. I just wanted to be sure the logic was right.

  • Do you have access to any machine with Excel 2007 installed? You could test the workbook using another version to check if the problem is specific to Excel 2010.
  • Can you share this workbook with me or it contains sensitive data? It will be difficult for me to reproduce the error.
 
Upvote 0

Forum statistics

Threads
1,216,081
Messages
6,128,696
Members
449,464
Latest member
againofsoul

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