I tryed that, but there are more than 100.000 rows in the file. The amount of formulas slows down the file extremely.
I put my question in VBA, i am hoping for a vba solution,not a formula suggestion.
So you did not understand or just misread and maybe you do not know even under VBA
some Excel features can be more efficient, faster and easier to maintain than some bad classic looping code !
So according to your attachment a VBA demonstration as a beginner starter :
Code:
Sub Demo1()
Const F = "IF((A2:A#=""Yes"")*(B2:B#=C2:C#),""Processed"","""")"
With SH1.[A1].CurrentRegion.Rows
.Range("D2:D" & .Count).Value2 = .Parent.Evaluate(Replace(F, "#", .Count))
End With
End Sub
Do you like it ? So thanks to click on bottom right Like !