Applies a LAMBDA function to each row in an array and returns an array of results.
ฟังก์ชันนี้ทำงานใน Google Sheets เหมือนกับใน Excel — ไวยากรณ์และอาร์กิวเมนต์เดียวกัน
BYROW(array, lambda)The BYROW function processes an array row by row using a custom LAMBDA function. It is particularly useful for performing row-wise calculations, such as summing or averaging data across specific rows in a range.
=BYROW(A1:B2, LAMBDA(row, SUM(row)))ผลลัพธ์: Array of row sums
Calculates the sum of each row in the range A1:B2.
No, BYROW always returns an array of results, one for each row in the input array.