2

我正在制作簿记表。

目的是创建规则,从我们的银行对帐单中搜索导入的字段,如果找到匹配项,则使用规则数据自动填充相邻的单元格。

例子:

数据:

HEAD - Imported Field       - Payees (autofill) - Account (autofill)
ROW1 - payment to JASON U   - from rule below   - from rule below
ROW2 - 234322 MERCHANT FEES - from rule below   - from rule below

规则:(单独的表格)

HEAD - Matched Term - Payee     - Account
ROW1 - JASON U      - Jason Ure - Drawings
ROW2 - MERCHANT     - CBA       - Fees

我们现在可以在 Excel 中使用它,但需要让它在 Google 电子表格中使用。有谁知道如何转换这个?

4

1 回答 1

1

This formula works in Google Spreadsheet

=VLOOKUP(INDEX(SearchTerms,MAX(IF(ISERROR(FIND(SearchTerms,C8)),-1,1)*(ROW(SearchTerms)-ROW(FirstTerm)+1))),SearchPayee,2,FALSE)

Named Ranges:

SearchTerms = G3:G7

SearchPayee = G3:H7

FirstTerm = G3

于 2013-10-01T06:34:35.097 回答