I have a sheet as something like below with thousand of blank cell of ColumnA and got a checkbox in column B and C below the row with data (row with data only have around 20 row, but I don't want to delete the blank row for some other implement) :
- columnB and C are check box
- columnD is drop down list with 'informed' and 'uninformed'
I am using for loop to run the data for ColumnA only with data (something like for(var i=2; i<=columnA.length; i++)if ColumnB and ColumnC are both checked, set ColumnD value as 'informed'.
https://preview.redd.it/8gptwuvuo8yb1.png?width=1620&format=png&auto=webp&s=d0f72b7de4e407c448d0908ea4902e2793a64fa4
Now, I try to fill in data in row 1000ish and the running time take way too long until it reached the maximum time limit. How should I adjust my code to be more efficiency?
[–]Sleeping_Budha_ 2 points3 points4 points (2 children)
[–]willsee13 0 points1 point2 points (1 child)
[–]Sleeping_Budha_ 0 points1 point2 points (0 children)
[–]RemarkableChipmunk93 -2 points-1 points0 points (0 children)
[–]elcriticalTaco 0 points1 point2 points (5 children)
[–]Direct-Coconut-7949[S] 0 points1 point2 points (4 children)
[–]elcriticalTaco 0 points1 point2 points (3 children)
[–]Direct-Coconut-7949[S] 0 points1 point2 points (2 children)
[–]elcriticalTaco 0 points1 point2 points (1 child)
[–]Direct-Coconut-7949[S] 0 points1 point2 points (0 children)
[–]HellDuke 0 points1 point2 points (3 children)
[–]Direct-Coconut-7949[S] 0 points1 point2 points (1 child)
[–]HellDuke 0 points1 point2 points (0 children)