These formulas worked great. How does the array formula work?