首頁>Club>
6
回覆列表
  • 1 # DevilOrNot

    A8中填寫 例如:2010/10/15

    A9中填寫如下公式得出結果 5

    =IF(DAY(A8)>=10,IF((MONTH(NOW())-MONTH(A8))<0,MONTH(NOW())-MONTH(A8)+(YEAR(NOW())-YEAR(A8))*12,MONTH(NOW())-MONTH(A8))-1,IF((MONTH(NOW())-MONTH(A8))<0,MONTH(NOW())-MONTH(A8)+(YEAR(NOW())-YEAR(A8))*12,MONTH(NOW())-MONTH(A8)))

    =IF(DAY(A8)>=10,IF((MONTH(NOW())-MONTH(A8))<0,MONTH(NOW())-MONTH(A8)+(YEAR(NOW())-YEAR(A8))*12,MONTH(NOW())-MONTH(A8)),IF((MONTH(NOW())-MONTH(A8))<0,MONTH(NOW())-MONTH(A8)+(YEAR(NOW())-YEAR(A8))*12,MONTH(NOW())-MONTH(A8))+1)

  • 中秋節和大豐收的關聯?
  • 商品進銷差價怎麼算差價率?