Conditional Formatting Error

Geek Girl 007

Board Regular
Joined
Mar 12, 2022
Messages
127
Office Version
  1. 2021
Platform
  1. Windows
I want to set the format for cell A3.
A2
has the format =B2-1 (equaling 18)

The end result I need is to colour format cell A3 if the number in it is between 0 and less then the number in cell B2.
I am clearly doing something wrong.
1653139114237.png

Thanks in advance.
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Hello
I don't know what to tell you: it works for me.
You have, by chance, the update in "Manual". If so, change it to "Automatic".
Hello,
Mario
 
Upvote 0
I think part of the problem is that Mario's formula is in Italian. Try this one

22 05 22.xlsm
AB
1
219
317
Sheet2
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A3Expression=AND(A2>=0,A2<B2)textNO
Hi Peter,
I totally missed your reply, thank you
I need it to only highlight if the number is 0 to 1 less than the number in cell B2, hence I put the formula:
=B2-1 in cell A2 and I'm using that...... however it still changes for to total in cell B2
1653213405203.png
 
Upvote 0
Are you saying that my suggestion did not work for you?
If it didn't work, please provide an example of the values in B2 and A3
- where my suggestion did not format the cell when it should have, and/or
- where my suggestion did format the cell when it should not have.
 
Upvote 0
Hi there
B2 has just a number at the moment (19) but I'm hopeful in the future to link it to another sheet that is updated with any changes.
A3 is a sum to calculate an advantage. =SUM(H9:H15)/5

This is the formatting in A3 at the mo.
1653218524772.png
 
Upvote 0

Forum statistics

Threads
1,215,772
Messages
6,126,800
Members
449,337
Latest member
BBV123

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