Yes. Couple of tips: use datatypes on your parameter declarations and your Function declaration, and "Range" is a (very commonly used) object in Excel so picking a different name for your function ...
How to apply multiple filtering criteria by combining AND and OR operations with the FILTER() function in Excel Your email has been sent Applying multiple criteria against different columns to filter ...
How to use the newish XLOOKUP() dynamic array function in Excel Your email has been sent Image: 200dgr/Shutterstock Must-read Windows coverage CrowdStrike Outage Disrupts Microsoft Systems Worldwide ...