简体   繁体   中英

Converting the formula into an Array google Sheet

Converting the below formula into an Array but its displaying the same result till last row can someone please resolve the bug.

=ARRAYFORMULA({"Stock";IF(B5:B="",, INDEX('Stock In by Invoices'!$J$5:$J,MATCH(1,('Stock In by Invoices'!$E$5:$E=C5:C) ('Stock In by Invoices'!$F$5:$F=D5:D) ('Stock In by Invoices'!$G$5:$G=E5:E),0)))})

Try

=ARRAYFORMULA({"Stock";IF(A2:A="",, VLOOKUP(A2:A&B2:B&C2:C, {Stock!$A$2:$A&Stock!$B$2:$B&Stock!$C$2:$C, Stock!$D$2:$D}, 2, 0))})

and see if that works?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM