Compare two sheet columns and copy data to first Sheet

南楼画角 提交于 2020-03-06 09:31:05

问题


I'm trying to find out the formula for matching CODE 1 between Sheet1 and Sheet2, then, copy 'Original','Lost' and insert 'Total 2019 Order' columns into Sheet 1 by corresponding CODE 1,

The google sheet is here: 

https://docs.google.com/spreadsheets/d/1SvMVC0P6eWcmaULEolu0zTr2wv6zlFl9-ttkgaxXcX8/edit?usp=sharing

 


回答1:


use:

=ARRAYFORMULA(IFNA(VLOOKUP(B2:B, Sheet2!B2:I, {8, 5}, 0)))

spreadsheet demo



来源:https://stackoverflow.com/questions/60161952/compare-two-sheet-columns-and-copy-data-to-first-sheet

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!