Hello
I am trying to generate a report that references another workbook using the formula
=IFERROR(INDEX(!$H:$AO,SMALL(IF(!$AF:$AF=$D$2,ROW(!$H:$H),IF(!$AF:$AF=$D$3,ROW(!$H:$H))),ROW(!1:1)),1),"")
(File Location Removed For ease of viewing) (ctrl+shift+enter confirmed)
I am auto filling the formula down until the formula results "" and stop it. The number of rows will very each week thats where i looked into VBA.
I have used this formula in A5:F5 as well as H5:M5 to look up multiple values in workbook.
I'm pretty new to excel and VBA and think that there has to be a faster way to complete this task. (Excel 2010)
The VBA code I'm using is:
The issue i have is that this takes a really long time to complete it there a more efficient use of code that will make this faster.
i think that the main issue is with the loop
Having to calculate cell every time seems to take a lot of time but if i don't it will run indefinitely.
Thank you in advance for any help
Bookmarks