You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在Google Sheets中根据付款条款自动调整到期日期(解决“收到即付”场景计算问题)

Solution for Auto-Calculating Due Dates in Google Sheets

Hey there, great job getting the NetX terms working already! To fix the "收到即付" (Pay Upon Receipt) scenario, we just need to add a simple conditional check to your formula. Here's the updated version you can drop into your first due date cell (e.g., D2):

=IF(C2="收到即付", B2, B2+RIGHT(C2,2))

Breakdown of how this works:

  • Conditional Check: The IF function first verifies if the payment term in cell C2 is exactly "收到即付". If that's true, it returns the original date from B2—since payment is due immediately when received.
  • NetX Term Handling: If the term isn't "收到即付", the formula uses your original logic: it grabs the rightmost 2 characters from the payment term (which gives the number of days to extend) and adds that to the original date in B2. This works for both "Net30" (no space) and "Net 15" (with space) formats perfectly.

Sample Output for Your Data:

Applying this formula to your table will give you these correct due dates:

日期付款条款到期日期
7/20/2020收到即付7/20/2020
6/29/2019Net307/29/2019
4/5/2020Net 154/20/2020
5/7/2020Net607/6/2020
6/8/2020Net407/18/2020

Just drag the formula down the column, and it’ll handle all your payment term scenarios automatically.

内容的提问来源于stack exchange,提问作者Karan Singh

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.29 23:32:28