Conditional Formating - Dynamic "not between"

Kathy Belvel

New Member
Joined
Nov 11, 2015
Messages
8
I have a table (tblTeeSelectionAnalysis) containing 8 columns and 60 data rows. Each row is the data for a given golfer. Three (3) of the table columns (Low, Actual and High) contain the following information for each player's record as follows;

Low and High contain the low and high handicap Index (HI) values forming the recommended HI range for the recommended tee (white, red, gold, etc.) for the player based on her actual HI, which is contained in the “Actual” column of the table.

Example:
B C D E F G H I
2 Name Declared Recommended Status Low Actual High Notes
3 kathy R/W Combo White Check 20 17.8 26.9 Check selection

tblTeeSelectionAnalysis.png


Based on the above "Actual" HI value, 17.8, the player should be playing form the White Tees not the declared R/W Combo tees. Setting the Conditional Formatting rule for the Current Selection ($G$3) as follows;

Cell Value not between $F$3 and $H$3
If condition is true, format font color = red

This works great for this one row (row 3). If I copy this cell down to the end of the table (row 62) the between cell references remain $F$3 and $H$3. So, the font highlight is incorrect, as every record referrers back to the original $F$3 and $H$3 between values in row 3.

I have tried the following to no avail;
  1. Copying (dragging) the cells down.
  2. Using the format painter.
  3. Removing the $ before the row number.
  4. Removing all $.
  5. Referencing the between as tblTeeSelectionAnalysis[@Low] and blTeeSelectionAnalysis[@High].
  6. Referencing the between as [@Low] and [@High].
  7. Referencing the Applies to as tblTeeSelectionAnalysis[@Actual].
  8. Any combination of the above I could think of.
I really, really, do not want to have to go in and create 60 rules.

Any help will be greatly appreciated.

Thanks,

Kathy
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
What is the actual rule you are using? Try this:
Book1
FGH
1
2LowActualHigh
32017.726.9
42738.639.9
52739.9
64048.454
7405454
8275439.9
92027.926.9
102739.139.9
112030.426.9
122025.326.9
132736.339.9
142025.726.9
152026.326.9
162735.339.9
172023.826.9
182035.826.9
192753.739.9
Sheet7
Cells with Conditional Formatting
CellConditionCell FormatStop If True
G3:G19Expression=OR(G3<F3,G3>H3)textNO
 
Upvote 0
Thanks, I got it to work using the Conditional Formatting tool form the ribbon. I'm not sure why it didn't work before as I had already tried these settings (below). However, in checking the format settings if individual cells the F3 and H3 cell references remain F3 and H3 in for all cells, yet the formatting is now correct. Anyway, thank you.

One other question if I may, in your screen shot above you are using a "Cells with Conditional Formatting" tool. Is that an add in tool because is different as you can see from below? Just curious.

Kathy

RangeFormat.png
 
Upvote 0
One other question if I may, in your screen shot above you are using a "Cells with Conditional Formatting" tool. Is that an add in tool because is different as you can see from below? Just curious.
That is the display format of the XL2BB addin from the forum. I used the Conditional Formatting tool built into Excel. I also used "Use a formula to determine which cells to format" and you used "Format only cells that contain", though I don't think there should be any difference in outcome with either method.

And glad you got it working.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,159
Members
453,021
Latest member
Justyna P

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