Excel公式帮助if和vlookup

时间:2018-11-09 16:42:07

标签: excel-formula

我有2个excel工作表(“工作表1,工作表2”)。

工作表1和工作表2在A列中有“产品#”,在B列中有“数量”。我正在尝试编写一个公式,如果存在产品#匹配项,则允许工作表1在工作表2上查找。 A列,如果有产品编号匹配项,则在工作表1上更新B列(数量)。工作表2中的产品数量。如果工作表2中没有产品编号,则在工作表1中返回零。B列(数量)。

谢谢

1 个答案:

答案 0 :(得分:0)

如果没有匹配项,VLOOKUP将返回错误,请捕获并返回{ "user": { "userId": "ABwppHH-9zhFI8dblLY0LrQtm5Q-KzktqRxIwLeBbj81azEqPljSUHGUUJ6QmHX1kWuuElNIUTADqeAxFA", "locale": "it-IT", "lastSeen": "2018-11-09T16:23:17Z" }, "conversation": { "conversationId": "ABwppHGh2EhXREkW2aiYNmbMz7aTVtLrOSW0spPJ4joKTPlaJ6OKRZTto4xwpjv5gtUzRT4cb3VGHfhqiw", "type": "ACTIVE", "conversationToken": "[]" }, "inputs": [ { "intent": "actions.intent.TEXT", "rawInputs": [ { "inputType": "KEYBOARD", "query": "orari aula 1d150" } ], "arguments": [ { "name": "text", "rawText": "orari aula 1d150", "textValue": "orari aula 1d150" } ] } ], "surface": { "capabilities": [ { "name": "actions.capability.MEDIA_RESPONSE_AUDIO" }, { "name": "actions.capability.WEB_BROWSER" }, { "name": "actions.capability.AUDIO_OUTPUT" }, { "name": "actions.capability.SCREEN_OUTPUT" } ] }, "isInSandbox": true, "availableSurfaces": [ { "capabilities": [ { "name": "actions.capability.WEB_BROWSER" }, { "name": "actions.capability.AUDIO_OUTPUT" }, { "name": "actions.capability.SCREEN_OUTPUT" } ] } ], "requestType": "SIMULATOR" }

0