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

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
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,217,355
Messages
6,136,071
Members
449,988
Latest member
Mabbas

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