Inconsistent highlighting with conditional formatting.

OaklandJim

Well-known Member
Joined
Nov 29, 2018
Messages
855
Office Version
  1. 365
Platform
  1. Windows
First, I tried XL2BB but when I paste I just get a bunch of text. How do I insert what XL2BB copies? Below is a picture instead.

I must be doing something wrong! I am getting inconsistent highlighting with conditional formatting.

In column labeled Confirmed there are boolean values. Cells include TRUE if a prospect has been confirmed. I want to highlight rows where the prospect is not confirmed.

It works on most lines but not all. Note row 9 which has a value of FALSE value in the confirmed column but the conditional formatting does not highlight that row.

1663445163367.png


In the rule for cells involved, I have this formula
Excel Formula:
=NOT(rrConfirmed)
. rr indicates relative row addressing for the name rrConfirmed.

So in any given row the name rrConfirmed refers to the cell in the column labeled Confirmed in the respective row. I did double check to make sure that the name rrConfirmed points to the correct cell in each row.

FWIW the formula in the Confirmed column cells is
Excel Formula:
=IFERROR(IF(rrLastName="", "", IF(FIND("confirmed", rrStatus)>0,TRUE,FALSE)),FALSE)

What might I look at to try to fix this? I am almost ready to just write code that highlights and unhighlights rows but that is less good than conditional formatting which highlights/unhighights rows for unconfirmed prospects quickly. Unfortunately doing it with code would seem to require use of the SelectionChange or Change event which can be a bit herky-jerky?

Thanks for your help. This has me a bit down.

Notice that
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
I reversed the order of my rules for conditional formatting. The highlighting for an unconfirmed person is first condition now and the alternating row shading is the second condition. That works.
 
Upvote 0
Solution
I tried XL2BB but when I paste I just get a bunch of text.
That is what should happen. Once you have that 'bunch of text' from XL2BB, try pressing the 'Preview' button at the top right. That will show you what will actually appear once you click 'Post reply'
 
Upvote 0

Forum statistics

Threads
1,223,882
Messages
6,175,164
Members
452,615
Latest member
bogeys2birdies

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