ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

¦p¦ó¥h§äÂ÷¦Û¤v³Ìªñªº­È?

¦p¦ó¥h§äÂ÷¦Û¤v³Ìªñªº­È?

¨D­È.rar (7.45 KB)
ª©¤W¤j¤j¡A½Ð°Ý¦p¦Pªþ¥ó¤¤ªºÀɮ׼ХܡA¦p¦ó¼g¨ç¼Æ¥h´M§äÂ÷¦Û¤v³Ìªñªº­È¥h°µ¬Û´î©O?

¦^´_ 24# ­ã´£³¡ªL


   §Ú¦A¸Õ¸Õ¬Ý

TOP

¥»©«³Ì«á¥Ñ ­ã´£³¡ªL ©ó 2024-2-17 11:47 ½s¿è

¦^´_ 23# ÂŤÑÄR¦À


ÀÉ®×´ú¤£¤F//
¥i¥Î¥t¤@¤è¦¡:§Q¥Î¤@Àx¦s®æ(¨Ò¦p:V4)¿é¤J°}¦C¤½¦¡, °õ¦æ®É¥ÎV4¥hCOPY
    If Not Intersect(Target, [B5:B210000]) Is Nothing Then
       Range("V4").Copy Range("V" & Target.Row)

TOP

¥»©«³Ì«á¥Ñ ÂŤÑÄR¦À ©ó 2024-2-15 21:40 ½s¿è

¦^´_ 22# ­ã´£³¡ªL

TEST.rar (806.63 KB) ³o­Ó
§Ú¦Û¤v²q·Q¬O¸Ì­±¦h­Ó°}¦C¬Û¥[´îªº­ì¦]¡A¬O¤£¬O­n±N°}¦C¤À¶}¨Ó¬Û¥[´î¤~¤£·|¥X²{¿ù»~¡A§Ú¥t¤@­ÓÀɮקâ¦o©î¶}´N¨S¨Æ¡A¦ý¬O¤£¥ÎVBAªº¤è¦¡ª½±µ¥´¦bÀx¦s®æ¤W«o¥i¥H¡A§Ú´Nı±o¦³ÂI©_©Ç¤F

TOP

¦^´_ 21# ÂŤÑÄR¦À


¤W¶ÇÀɮ׬ݬÝ~~

TOP

¦^´_ 19# ­ã´£³¡ªL


        ­ã¤j¸ò§A½Ð±Ð¤@¤U¡A¤W¦¸§Ú®Ú¾Ú§A±Ð§Úªº²Ä3ÂI¥h¿ý»s¡A¤§«á°õ¦æµ{¦¡¡A¥X²{"µLªk³]©wºØÃþrangeªºformulaArrayÄÝ©Ê"ªº¿ù»~°T®§¡A¥H¤U¬O§Úªºµ{¦¡½X¡A¬O¦³­þÃä¥X¿ù¶Ü?(¥X²{¿ù»~ªº¦a¤è¦bRange("V" & Target.Row).FormulaArray³oÃä)

Private Sub Worksheet_Change(ByVal Target As Range)
    Application.EnableEvents = False
    If Not Intersect(Target, [B5:B210000]) Is Nothing Then
        Range("V" & Target.Row).FormulaArray = "=IF(AND(RC[-20]=R[-1]C[-20],RC[-19]=R[-1]C[-19],RC[-18]=R[-1]C[-18],RC[-17]=R[-1]C[-17],RC[-16]=R[-1]C[-16]),RC[-10]-R[-1]C[-10]+RC[-9]-R[-1]C[-9]+RC[-8]-R[-1]C[-8]+RC[-7]-R[-1]C[-7]+RC[-6]-R[-1]C[-6],IF(OR(R4C2:R[-1]C6=RC[-20]),RC[-10]-MOD(MAX((R4C2:R[-1]C6=RC[-20])*(ROW(R1C1:R[-4]C1)*10^5+R4C12:R[-1]C16)),10^5),0)+IF(OR(R4C2:R[-1]C6=RC[-19]),RC[-9]-MOD(MAX((R4C2:R[-1]C6=RC[-19])*(ROW(R1C1:R[-4]C1)*10^5+R4C12:R[-1]C16)),10^5),0)+IF(OR(R4C2:R[-1]C6=RC[-18]),RC[-8]-MOD(MAX((R4C2:R[-1]C6=RC[-18])*(ROW(R1C1:R[-4]C1)*10^5+R4C12:R[-1]C16)),10^5),0)+IF(OR(R4C2:R[-1]C6=RC[-17]),RC[-7]-MOD(MAX((R4C2:R[-1]C6=RC[-17])*(ROW(R1C1:R[-4]C1)*10^5+R4C12:R[-1]C16)),10^5),0)+IF(OR(R4C2:R[-1]C6=RC[-16]),RC[-6]-MOD(MAX((R4C2:R[-1]C6=RC[-16])*(ROW(R1C1:R[-4]C1)*10^5+R4C12:R[-1]C16)),10^5),0))"
      
     ElseIf Not Intersect(Target, [C5:C210000]) Is Nothing Then
        Range("W" & Target.Row).FormulaArray = "=IF(AND(RC[-16]=R[-1]C[-16],RC[-15]=R[-1]C[-15],RC[-14]=R[-1]C[-14],RC[-13]=R[-1]C[-13],RC[-12]=R[-1]C[-12]),RC[-6]-R[-1]C[-6]+RC[-5]-R[-1]C[-5]+RC[-4]-R[-1]C[-4]+RC[-3]-R[-1]C[-3]+RC[-2]-R[-1]C[-2],IF(OR(R4C7:R[-1]C11=RC[-16]),RC[-6]-MOD(MAX((R4C7:R[-1]C11=RC[-16])*(ROW(R1C1:R[-4]C1)*10^5+R4C17:R[-1]C21)),10^5),0)+IF(OR(R4C7:R[-1]C11=RC[-15]),RC[-5]-MOD(MAX((R4C7:R[-1]C11=RC[-15])*(ROW(R1C1:R[-4]C1)*10^5+R4C17:R[-1]C21)),10^5),0)+IF(OR(R4C7:R[-1]C11=RC[-14]),RC[-4]-MOD(MAX((R4C7:R[-1]C11=RC[-14])*(ROW(R1C1:R[-4]C1)*10^5+R4C17:R[-1]C21)),10^5),0)+IF(OR(R4C7:R[-1]C11=RC[-13]),RC[-3]-MOD(MAX((R4C7:R[-1]C11=RC[-13])*(ROW(R1C1:R[-4]C1)*10^5+R4C17:R[-1]C21)),10^5),0)+IF(OR(R4C7:R[-1]C11=RC[-12]),RC[-2]-MOD(MAX((R4C7:R[-1]C11=RC[-12])*(ROW(R1C1:R[-4]C1)*10^5+R4C17:R[-1]C21)),10^5),0))"
   End If
   Application.EnableEvents = True
        

End Sub

TOP

¦^´_ 19# ­ã´£³¡ªL


    ·PÁ­ã¤jªº¦^ÂСA§Ú¦A¬ã¨s¬Ý¬Ý

TOP

¥»©«³Ì«á¥Ñ ­ã´£³¡ªL ©ó 2024-2-7 10:24 ½s¿è

¦^´_ 17# ÂŤÑÄR¦À


2.³o­Ó°}¦C¤½¦¡¿é¤J§¹¨S°ÝÃD«á¡A§Ú¦A¥hÂIK2Åý¦o§e²{½s¿èª¬ºA¡A
µM«á¤°»ò³£¤£§ï¡A¦b«öENTER¡A¤§«á¦o·|¥X²{#VALUE¡A¬°Ô£{}·|®ø¥¢¤£¨£?¤S¬°Ô£¦Û¤v¥[{}«o¨S¿ìªk¦³°}¦Cªº®ÄªG¤F©O?


¥u­nÂI¶iÀx¦s®æ, ¤£ºÞ¸Ì­±¬OªÅ®æ/¤å¦r©Î¤½¦¡, ¥¦´N¹F¨ì CHANGE ®ÄªG

°ÝÃD(3)//ÂI"¿ý»s¥¨¶°" >> ÂI¶i¤½¦¡½s¿è. ¤TÁ䧹¦¨ > °±¤î¿ý»s
¤½¦¡¹ïÀx¦s®æ¦³"¬Û¹ï°Ñ·Ó/µ´¹ï°Ñ·Ó"¤§¤À, ¦b¤£¦P¦ì¸m²£¥Í¤£¦P°Ñ·Ó, ­Y¤£¼ô±x¨ä¹B§@, ¨Ï¥Î¿ý»s¥X¨Óªºµ{¦¡½X¸û¤£·|¦³°ÝÃD~~

­è¤JEXCEL¤§ªù, ÁÙ¬O­n¦Û¦æ¦h¦hGOOGLE, ©Î¦A¦hªá®É¶¡¬Ý¬Ý½×¾Â©«¤l§a!  
¦]¬°¦^µª°_¨Ó¤Óªá®É¶¡~~~¦^µª¤F°ÝÃD¤S·|°Ý§ó¦h///

TOP

¥»©«³Ì«á¥Ñ ­ã´£³¡ªL ©ó 2024-2-7 10:09 ½s¿è

¦^´_ 17# ÂŤÑÄR¦À

Æ[¹î°}¦C¤½¦¡, ±oµ½¥Î"F9", ¥H¤U¤½¦¡³v¤@¿é¤J¦Ü K5, ¦b"½s¿èª¬ºA"¤U, «öF9¬Ý¬Ý//
(1) =($C$1:$F4=C5)  «öF9,
    ¥i¬Ý¨ì//{FALSE,FALSE,FALSE,FALSE;FALSE,TRUE,FALSE,FALSE;TRUE,FALSE,FALSE,FALSE;FALSE,FALSE,FALSE,FALSE}
(2) =($C$1:$F4=C5)*(ROW($A$1:$A4)*10^5+$G$1:$J4)
    //{0,0,0,0;0,200005,0,0;300012,0,0,0;0,0,0,0}

(3) =MAX(($C$1:$F4=C5)*(ROW($A$1:$A4)*10^5+$G$1:$J4)) ... ³o®É¥u·|¥X²{¤@­Óµ²ªG//300012...mod§À¼Æ12´N¬Oµ²ªG

¦b§¹¾ã¤½¦¡¤U,
=IF(OR($C$1:$F4=C5),G5-MOD(MAX(($C$1:$F4=C5)*(ROW($A$1:$A4)*10^5+$G$1:$J4)),10^5),"")
¿ï¨ú¬õ¦â¦r¬q, ¦A«öF9, §Y¬°(2)ªºµ²ªG

TOP

¦^´_ 14# ­ã´£³¡ªL


    ¥t¥~¡A­ã¤j§Ú¦³¨Ç¦a¤è¤£¤Ó¤F¸Ñ¡A§Ú¦³¥ÎGPT¥ý¬d¤F¤@¤UÁÙ¬O¤£¤ÓÀ´¡A¦b¸ò±z½Ð±Ð¤@¤U

      1.MOD(MAX(($C$1:$F2=C3)*(ROW($A$1:$A2)*10^5+$G$1:$J2)),10^5) ³oÃä³o¦ê§Ú¤£¤Ó¤F¸Ñ¥¦ªº­ì²zMAX¡BROW¡BMOD¡B10^5¡A³o¨Ç¤À¶}§Ú³£¬Ý±oÀ´¡A¦ý¦X¦b¤@°_§Ú´N¤£À´¤F¡A¥i¥H³Â·Ð­ã¤jÀ°§Ú»¡©ú¤@¤U¶Ü?
      
      2.³o­Ó°}¦C¤½¦¡¿é¤J§¹¨S°ÝÃD«á¡A§Ú¦A¥hÂIK2Åý¦o§e²{½s¿èª¬ºA¡AµM«á¤°»ò³£¤£§ï¡A¦b«öENTER¡A¤§«á¦o·|¥X²{#VALUE¡A¬°Ô£{}·|®ø¥¢¤£¨£?¤S¬°Ô£¦Û¤v¥[{}«o¨S¿ìªk¦³°}¦Cªº®ÄªG¤F©O?

      3.¤]¬O¦P¤W­±ªº°ÝÃD¡A°²¦p§Ú¦³¥H¤Uªºµ{¦¡½X¡A¦b³o¸Ìªº³¡¤À­n¶ñ¤JRange("V" & Target.Row).Formula = "{=IF(OR($C$1:$F1=C2),G2-MOD(MAX(($C$1:$F1=C2)*(ROW($A$1:$A1)*10^5+$G$1:$J1)),10^5),"")"}¡A¦ý¤S¦]¬°{}¦Û¤v¥[·|¨S®ÄªG¡A¨º§Úµ{¦¡½X¤SÀ³¸Ó¦p¦ó§ó§ï©O?

Private Sub Worksheet_Change(ByVal Target As Range)
    Application.EnableEvents = False
    If Not Intersect(Target, [B5:B210000]) Is Nothing Then
        Range("V" & Target.Row).Formula = "³o¸Ì"
      
     ElseIf Not Intersect(Target, [C5:C210000]) Is Nothing Then
        Range("W" & Target.Row).Formula = "³o¸Ì"
   End If
   Application.EnableEvents = True
        

End Sub

­ã¤j©êºp¡A°ÝÃD¤ñ¸û¦h¡A·Q»¡³o­Ó½×¾Â¦³«Ü¦h¼F®`ªº«e½ú¦b¡A·Q¦h¦h¾Ç²ß¡AÁٽЭã¤j¤£§[½ç±Ð

TOP

        ÀR«ä¦Û¦b : ¦³¦h¤Ö¤O¶q´N°µ¦h¤Ö¨Æ¡A¤£­n¤ß¦sµ¥«Ý¡Aµ¥«Ý¤~·|¸¨ªÅ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD