The ARRAYFORMULA function in Google Sheets allows you to apply a formula you use in one cell across an entire column. This means you don't have to copy-paste or drag the formula across the cells where it has to be used, which can be handy when you have a lot of cells to cover. Thus, you can apply formulas across multiple ranges and automate calculations that would otherwise take a lot of time and you can even use it with other functions like IF, SUM, and SUMIF.
Using the Array Formula
The syntax for the function is ARRAYFORMULA(array_formula)