- ©«¤l
- 703
- ¥DÃD
- 276
- ºëµØ
- 0
- ¿n¤À
- 1005
- ÂI¦W
- 1
- §@·~¨t²Î
- Windows 10
- ³nÅ骩¥»
- Office 2019
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-6-30
- ³Ì«áµn¿ý
- 2024-5-29
|
¦^´_ 1# av8d
¥Ø«e¤wª¾- Private Sub Worksheet_Change(ByVal Target As Range)
- With Target
- i = 2
- For j = i To 100
- If .Row = j And .Column = 3 Then
- If .Value <> "" Then
- .Offset(0, 4) = ""
- End If
- End If
- Next
- End With
- End Sub
½Æ»s¥N½X .Offset(0, 4) = "" ¦]¬° ""n¼g¤J¨ç¼Æ
¥Ø«eÁÙ¦b¬ã¨s¤¤¡A§Ú¥ýºI¨ú¤@ӳ̵uªº¨ç¼Æ¦p¤U¡G
IF(AND(DATEDIF(C2,H2,"y")=0,DATEDIF(C2,H2,"ym")<6),
IF(AND(DATEDIF(H2,I2,"ym")=0,DATEDIF(H2,I2,"md")<>0),"¦A"&DATEDIF(H2,I2,"md")&"¤Ñ¡Aº¡6Ó¤ë¡A¯S¥ð3¤Ñ¡C",
IF(AND(DATEDIF(H2,I2,"ym")<>0,DATEDIF(H2,I2,"md")=0),"¦A"&DATEDIF(H2,I2,"ym")&"Ó¤ë¡Aº¡6Ó¤ë¡A¯S¥ð3¤Ñ¡C",
IF(AND(DATEDIF(H2,I2,"ym")<>0,DATEDIF(H2,I2,"md")<>0),"¦A"&DATEDIF(H2,I2,"ym")&"Ó¤ë¤S"&DATEDIF(H2,I2,"md")&"¤Ñ¡Aº¡6Ó¤ë¡A¯S¥ð3¤Ñ¡C"))), |
|