§Q¥Î¤é´Á¨Ó¥[Á`·í¤éª÷ÃB¥X¿ù
- ©«¤l
- 162
- ¥DÃD
- 33
- ºëµØ
- 0
- ¿n¤À
- 243
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- excel 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2018-1-5
- ³Ì«áµn¿ý
- 2024-10-22
|
§Q¥Î¤é´Á¨Ó¥[Á`·í¤éª÷ÃB¥X¿ù
½Ð°Ý¦U¦ì¤j¤j
§ÚnpºâªºÄæ¦ì¬OBGÄæ¦ì
§PÂ_¬OAOÄæ¦ì
§Úªºpºâ¦¡¦p¤U¡G
=SUMPRODUCT((AO3:AO39=TODAY())*BG46:BG82)
¦ý¬O§ÚAOÄæ¦ì¬O¥Îpºâ¦¡Åã¥Ü¤é´Á
=IF(AS3="","",IF(AO3="",TEXT(TODAY(),"YYYY/mm/dd"),AO3))
¾ÉPSUMPRODUCTµLªk§PÂ_¤é´Á
½Ð°Ý¤j¤j¦³¤èªk¶Ü
ÁÂÁÂ |
|
|
|
|
|
|
- ©«¤l
- 1387
- ¥DÃD
- 4
- ºëµØ
- 0
- ¿n¤À
- 1397
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN
- ³nÅ骩¥»
- 2007
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2015-9-11
- ³Ì«áµn¿ý
- 2024-11-22
|
=SUMPRODUCT((AO3:AO39-TODAY()=0)*BG46:BG82) |
|
google"EXCEL°g" blog ©Îgoogleºô§}:https://hcm19522.blogspot.com/
|
|
|
|
|
- ©«¤l
- 162
- ¥DÃD
- 33
- ºëµØ
- 0
- ¿n¤À
- 243
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- excel 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2018-1-5
- ³Ì«áµn¿ý
- 2024-10-22
|
¦^´_ 2# hcm19522
³ø§i¤j¤j
¤£¦æ
µ²ªG¬O0
¦]¬°§Úªº¤é´Á¤£¬O¤â°Ê¿é¤Jªº
¬O¤½¦¡
¾ÉPSUMPRODUCTµLªk§PÂ_AOÄæ¦ì¤é´Á(¦]¬°¬O¤½¦¡)
½Ð°Ý¤j¤j¦³¸Ñ¤è¶Ü¡H
ÁÂÁ¤j¤j |
|
|
|
|
|
|
- ©«¤l
- 1446
- ¥DÃD
- 40
- ºëµØ
- 0
- ¿n¤À
- 1470
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Excel 2010 & 2016
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2020-7-15
- ³Ì«áµn¿ý
- 2024-10-21
|
¦^´_ 3# coafort
ÁÂÁ«e½úµoªí¦¹¥DÃD
½Ð«e½ú¸Õ¸Õ¬Ý
1.AO3:AO39®æ¦¡³]¬°yyyy/m/d;@
2.AO3³]¤½¦¡ =IF(AS3="","",TODAY())
3.¤U¨ê¨ìAO39
TEST_20220923-1.zip (25.09 KB)
¤µ¤é²ß±o=SUMPRODUCT()- Option Explicit
- Sub TEST_1()
- '[AS3:AS39]Åܧó IJµo
- 'Åý[AO3:AO39]¤µ¤Ñ¤é´ÁªºAO©³¦â¤£¦P,¹ïÀ³[BG46:BG82]©³¦â¤£¦P¤]¤£¦P
- '¥uÁ`p[AO3:AO39]¬O¤µ¤éªº,¹ïÀ³[BG46:BG82]¼ÆȦbBG2
- Application.ScreenUpdating = False
- Dim i
- [BG2] = ""
- For i = 3 To 39
- If Cells(i, "AO") = Date Then
- Cells(i, "AO").Interior.ColorIndex = 17
- Cells(i, "BG").Item(44, 1).Interior.ColorIndex = 17
- [BG2] = [BG2] + Cells(i, "BG").Item(44, 1)
- Else
- Cells(i, "AO").Interior.ColorIndex = xlNone
- Cells(i, "BG").Item(44, 1).Interior.ColorIndex = xlNone
- End If
- Next
- End Sub
- Sub TEST_2()
- '[AS3:AS39]Åܧó IJµo
- 'Åý[AO3:AO39]¤µ¤Ñ¤é´ÁªºAO©³¦â¤£¦P,¹ïÀ³[BG46:BG82]©³¦â¤£¦P¤]¤£¦P
- '¥uÁ`p[AO3:AO39]¬O¤µ¤éªº,¹ïÀ³[BG46:BG82]¼ÆȦbBG2
- Application.ScreenUpdating = False
- Dim i As Range, Y
- Set Y = CreateObject("Scripting.Dictionary")
- [BG2] = ""
- For Each i In Range([AO3], [AO82])
- Y.Add i, i.Item(44, 19)
- If i = Date Then
- i.Interior.ColorIndex = 35
- i.Item(44, 19).Interior.ColorIndex = 35
- [BG2] = [BG2] + Y(i)
- Else
- i.Interior.ColorIndex = xlNone
- i.Item(44, 19).Interior.ColorIndex = xlNone
- End If
- Next
- End Sub
- Sub TEST_3()
- '[AS3:AS39]Åܧó IJµo
- 'Åý[AO3:AO39]¤µ¤Ñ¤é´ÁªºAO©³¦â¤£¦P,¹ïÀ³[BG46:BG82]©³¦â¤£¦P¤]¤£¦P
- '¥uÁ`p[AO3:AO39]¬O¤µ¤éªº,¹ïÀ³[BG46:BG82]¼ÆȦbBG2
- Application.ScreenUpdating = False
- Dim R&, Y, Z As Range, xR As Range
- Set Y = CreateObject("Scripting.Dictionary")
- [BG2] = ""
- Set Z = Range([AO3], [BG82])
- Z.Interior.ColorIndex = xlNone
- For Each xR In Z
- Y(xR.Value) = Y(xR.Value) + xR.Item(44, 19).Value
- If xR = Date Then
- xR.Interior.ColorIndex = 38
- xR.Item(44, 19).Interior.ColorIndex = 38
- End If
- Next
- [BG2] = Y(Date)
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 162
- ¥DÃD
- 33
- ºëµØ
- 0
- ¿n¤À
- 243
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- excel 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2018-1-5
- ³Ì«áµn¿ý
- 2024-10-22
|
¦^´_ 4# Andy2483
ÁÂÁ¤j¤j
¤ñ¸û»Ýn¥i¥H¤£¥Î«ö¿z¿ï
ª½±µ¦Û°Ê§PÂ_ªº |
|
|
|
|
|
|
- ©«¤l
- 1387
- ¥DÃD
- 4
- ºëµØ
- 0
- ¿n¤À
- 1397
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN
- ³nÅ骩¥»
- 2007
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2015-9-11
- ³Ì«áµn¿ý
- 2024-11-22
|
¦^´_ 3# coafort
=SUMPRODUCT(IFERROR(AO3:AO39-TODAY()=0,)*BG46:BG82) |
|
google"EXCEL°g" blog ©Îgoogleºô§}:https://hcm19522.blogspot.com/
|
|
|
|
|
- ©«¤l
- 162
- ¥DÃD
- 33
- ºëµØ
- 0
- ¿n¤À
- 243
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- excel 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2018-1-5
- ³Ì«áµn¿ý
- 2024-10-22
|
¦^´_ 6# hcm19522
³ø§i¤j¤j
¥X²{#name?¿ù»~
ÁÂÁ¤j¤j |
|
|
|
|
|
|
- ©«¤l
- 2834
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 2890
- ÂI¦W
- 0
- §@·~¨t²Î
- ¡e²¤¡f
- ³nÅ骩¥»
- ¡e²¤¡f
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¡e²¤¡f
- µù¥U®É¶¡
- 2013-5-13
- ³Ì«áµn¿ý
- 2024-11-23
|
=SUMPRODUCT(Isnumber(0/(AO3:AO39-TODAY()=0))*BG46:BG82) |
|
|
|
|
|
|
- ©«¤l
- 162
- ¥DÃD
- 33
- ºëµØ
- 0
- ¿n¤À
- 243
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- excel 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2018-1-5
- ³Ì«áµn¿ý
- 2024-10-22
|
¥»©«³Ì«á¥Ñ coafort ©ó 2022-9-24 17:51 ½s¿è
¦^´_ 8# ã´£³¡ªL
ÁÂÁ¤j¤j
¥i¥H¥Î
¦ý¬O
¦pªGÄæ¦ì¬OªÅ¥Õ
·|¥X²{#VALUE¡I
¦]¬°§ÚBG46:BG82¬O¥Î=IF(AS41="","",...............
¦pªG§ï¬°=IF(AS41="",0,...............
¬O¥i¥H¸Ñ
¨º¦pªGn«O¯d¥Î=IF(AS41="","",...............
¸Ó«ç»òקï©O¡H
·P®¦¤j¤j |
|
|
|
|
|
|
- ©«¤l
- 2834
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 2890
- ÂI¦W
- 0
- §@·~¨t²Î
- ¡e²¤¡f
- ³nÅ骩¥»
- ¡e²¤¡f
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¡e²¤¡f
- µù¥U®É¶¡
- 2013-5-13
- ³Ì«áµn¿ý
- 2024-11-23
|
¦^´_ 9# coafort
=SUMPRODUCT(--Isnumber(0/(AO3:AO39-TODAY()=0)),BG46:BG82) |
|
|
|
|
|
|