Why does Excel add @ to my formula
=B2:B7*C2:C7Excel · result on the sample sheet: 6 rows (D2:D7)
Describe what you need and get a working ARRAYFORMULA formula for Google Sheets, tested on real data before you copy it. ARRAYFORMULA lets one formula work on whole ranges instead of single cells.
Each formula below was calculated on its own sample sheet. Open one to see the sheet, why it works, and to try it yourself.
=B2:B7*C2:C7Excel · result on the sample sheet: 6 rows (D2:D7)
=A3:A12*B2:K2Excel · result on the sample sheet: 10 rows (B3:K12)
=B2:B6+C2:C6+D2:D6Excel · result on the sample sheet: 5 rows (E2:E6)
=ARRAYFORMULA(IF(A2:A="","",B2:B*C2:C))Google Sheets · result on the sample sheet: 46 rows (D2:D47)
=ARRAYFORMULA(IF(C2:C8="","",C2:C8-B2:B8))Google Sheets · result on the sample sheet: 7 rows (D2:D8)
=ARRAYFORMULA(IF(B2:B9="","",IF(B2:B9>=F1,"Pass","Fail")))Google Sheets · result on the sample sheet: 8 rows (C2:C9)
=EDATE(B1,SEQUENCE(B2,1,0))Excel · result on the sample sheet: 12 rows (D2:D13)
=WORKDAY(B1-1,SEQUENCE(B2),B3:B4)Excel · result on the sample sheet: 8 rows (D2:D9)
You describe the task in plain English, and it writes the formula, using ARRAYFORMULA where that's the right tool, for your table or a sample one. The formula is run in our engine in Google Sheets mode before you see it, so you get its result, not just a guess.
ARRAYFORMULA lets one formula work on whole ranges instead of single cells.
Yes. Each example below opens a page where you try the formula in a live grid and it's checked as you go, and the ARRAYFORMULA function page has a practice exercise.