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

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
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,224,820
Messages
6,181,160
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