If you can write an Excel formula, you can build your own function.
VBA may have a bad reputation, but it's still one of the most effective ways to automate repetitive actions in standard XLSX workbooks.
Excel offers myriad options for referring to workbooks and sheets in your VBA code. See which methods make sense in which situations. Referencing workbooks and sheets programmatically generates a lot ...