Trouble getting conditional formatting to work

adriandwor

New Member
Joined
Sep 7, 2021
Messages
17
Office Version
  1. 2016
Platform
  1. Windows
Hey again guys,

I've got some really good help in another thread but there are unfortunately a few more questions I have regarding excel. I'm getting a little stressed because I've only 2 weeks to finish a school project and in times like this I just wish I picked up Excel and learned it thoroughly.

I'm trying to do conditional formatting for all the cells where excel start counting again and the day doesn't change.
The formula in V column as helped by 2 other members here is:

Excel Formula:
=IF(OR(B3<>B2;N(V2)+U3>235);U3;N(V2)+U3)

The data is supposed to represent approximately when en electric car with capacity of about 250km will have to charge during the day,
The formatting I'm trying to do looks like the one underneath where value 230,3 should be highlighted and then 205,2 and so on. But nothing happens when I press ok. W column contains the same if statement as conditional formatting. I appreciate your time

gj8yScx.png
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

bebo021999

Active Member
Joined
Jul 14, 2011
Messages
466
While not:
=V2>V3
I believe only the case that current value is larger than next value should be hightlighted.
 

Toadstool

Well-known Member
Joined
Mar 5, 2018
Messages
2,448
Office Version
  1. 2016
Platform
  1. Windows
Hi Adrianwor,

Your screenshot shows double quotes around the formula suggesting it's not being treated as a formula, so it won't return TRUE (which indicates the CF should be set). You have IF but without supplying the value_if_true or value_if_false

Try
Excel Formula:
=AND(V2<V3,D3=D2)

1635239558354.png
 
Solution
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,152,123
Messages
5,768,246
Members
425,460
Latest member
Astros1243

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
Top