I have the following code run by a macro to populate a cell with the value of an array formula using the evaluate function. The formula works but it rather slow and I have several of them in a row that need to execute.
ActiveSheet.Range("O4").Value = Evaluate("MEDIAN(IF(E:E=M3, IF(I:I>0,I:I, 0)))")
Is there any way to make this run faster with an alteration or different procedure? Right now I have about 30 of them and it takes a couple of minutes to run, which is way too long for my purposes.
any help would be appreciated
ActiveSheet.Range("O4").Value = Evaluate("MEDIAN(IF(E:E=M3, IF(I:I>0,I:I, 0)))")
Is there any way to make this run faster with an alteration or different procedure? Right now I have about 30 of them and it takes a couple of minutes to run, which is way too long for my purposes.
any help would be appreciated