自动完成"应付账款"工作簿的表格修改与跨年度数据比对,按科目名称匹配、供应商名称模糊匹配,将2022年金额回填并标注差异项,最后核验数据一致性,适合财务对账场景。

中文版提示词

目标:自动化填表操作,并确保数据的正确性。
任务详细步骤:
1. 文件与位置:打开名为"应付账款比对"的工作簿,导航至"应付账款2023"表。
2. 表格修改:
   - 在"金额(元)"列后,新增"对应2022金额"列。
   - 再在"对应2022金额"列后,新增"备注"列。
3. 数据比对:
   - 对"应付账款2023"的每一行数据,按"A列(科目名称)"在"应付账款2022"表中寻找完全匹配的行。
   - 若找到,进一步核对"B列(供应商名称)",要求达到80%的相似度。
   - 特别注意,如"东莞市"与"东莞"、"公司"与"有限公司"这类词汇,应视为相同,并在备注列注明。
   - 匹配到的2022年金额,复制到"对应2022金额"列。
   - 未匹配到的,复制到"应付账款2023"表底部,并备注为"差异项"。
4. 核验:检查"对应2022金额"列的总和与"应付账款2022"的总和是否匹配。
5. 完成动作:如数据一致,保存并提交;如不一致,重启比对过程。

英文版提示词

Goal: Automate the form-filling operation and ensure data accuracy.
Detailed task steps:
1. File and location: Open the workbook named "Accounts Payable Comparison" and navigate to the "Accounts Payable 2023" sheet.
2. Table modification:
   - After the "Amount (RMB)" column, add a new column "Corresponding 2022 Amount."
   - After the "Corresponding 2022 Amount" column, add a "Remarks" column.
3. Data comparison:
   - For each row in "Accounts Payable 2023," search for a fully matching row in the "Accounts Payable 2022" sheet based on "Column A (Account Name)."
   - If found, further check "Column B (Supplier Name)" at a similarity threshold of 80%.
   - Note that terms like "东莞市" and "东莞", or "公司" and "有限公司", should be treated as the same and noted in the Remarks column.
   - Copy the matched 2022 amount to the "Corresponding 2022 Amount" column.
   - For unmatched rows, copy them to the bottom of the "Accounts Payable 2023" sheet and mark them as "Difference items."
4. Verification: Check whether the sum of the "Corresponding 2022 Amount" column matches the sum of "Accounts Payable 2022."
5. Completion: If the data is consistent, save and submit; if not, restart the comparison process.

🛠️ **适用 AI 工具**:ChatGPT、Claude、Kimi、通义千问、DeepSeek