Conditional Formatting causing scrolling lag

Glasgowsmile

Active Member
Joined
Apr 14, 2018
Messages
280
Office Version
  1. 365
Platform
  1. Windows
Good day.

I have this formula for conditional formatting:
Excel Formula:
=AND(AN$6=1,$AN$8:$BV$374<>"",$AN$7:$BV$374<$BX7)

It strikes through the text if the conditionals are met... but the scrolling of this sheet takes a nose dive the moment I use it. How can I correct this? Should it be done in VBA instead?
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
You're comparing over 25000 values for every cell, which is going to take time. It would be more efficient to at least put the $AN$8:$BV$374<>"" calculation into a cell somewhere and refer to that directly, since it doesn't change for each cell.
 
Upvote 0
You're comparing over 25000 values for every cell, which is going to take time. It would be more efficient to at least put the $AN$8:$BV$374<>"" calculation into a cell somewhere and refer to that directly, since it doesn't change for each cell.
Thanks,

I'm trying this instead which is working much better but any suggestions for improvement?

Excel Formula:
=AND(AN$6=1,AN7<$BX7)

Applying to $AN$7:$BV$374
 
Upvote 0
You might try:

=IF(AN$6=1,AN7<$BX7,FALSE)

though I'm not sure it will make a lot of difference.
 
Upvote 0
Solution

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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