Conditional Formatting causing scrolling lag

Glasgowsmile

Active Member
Joined
Apr 14, 2018
Messages
269
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

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
39,032
Office Version
  1. 365
  2. 2019
  3. 2016
  4. 2010
Platform
  1. Windows
  2. MacOS
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.
 

Glasgowsmile

Active Member
Joined
Apr 14, 2018
Messages
269
Office Version
  1. 365
Platform
  1. Windows
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
 

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
39,032
Office Version
  1. 365
  2. 2019
  3. 2016
  4. 2010
Platform
  1. Windows
  2. MacOS
You might try:

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

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

Forum statistics

Threads
1,171,035
Messages
5,873,411
Members
432,978
Latest member
blackbird999

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