- ©«¤l
- 678
- ¥DÃD
- 147
- ºëµØ
- 0
- ¿n¤À
- 799
- ÂI¦W
- 0
- §@·~¨t²Î
- win 8
- ³nÅ骩¥»
- MS 2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2016-2-9
- ³Ì«áµn¿ý
- 2022-1-20
|
´ú¸ÕÀÉ :
®æ¦¡¤Æ±ø¥ó¤½¦¡.rar (7.64 KB)
¥H¤U¬OB2¡JF2,G2¡JK2,......, AU2¡JAX2®æ¦¡¤Æ±ø¥ó¤½¦¡¿ý»sªºµ{¦¡½X¡J
Range("B2:F2").Select
Selection.FormatConditions.Delete
Selection.FormatConditions.Add Type:=xlExpression, Formula1:= _
"=(B2=MAX($B2:$F2))*(B2>0)"
Selection.FormatConditions(1).Interior.ColorIndex = 43
Selection.FormatConditions.Add Type:=xlExpression, Formula1:= _
"=(SUMPRODUCT((B2<=$B2:$F2)/COUNTIF($B2:$F2,$B2:$F2))=2)*(B2>0)"
Selection.FormatConditions(2).Interior.ColorIndex = 8
Selection.FormatConditions.Add Type:=xlExpression, Formula1:= _
"=(SUMPRODUCT((B2<=$B2:$F2)/COUNTIF($B2:$F2,$B2:$F2))=3)*(B2>0)"
Selection.FormatConditions(3).Interior.ColorIndex = 37
Range("G2:K2").Select
Selection.FormatConditions.Delete
Selection.FormatConditions.Add Type:=xlExpression, Formula1:= _
"=(G2=MAX($G2:$K2))*(G2>0)"
Selection.FormatConditions(1).Interior.ColorIndex = 43
Selection.FormatConditions.Add Type:=xlExpression, Formula1:= _
"=(SUMPRODUCT((G2<=$G2:$K2)/COUNTIF($G2:$K2,$G2:$K2))=2)*(G2>0)"
Selection.FormatConditions(2).Interior.ColorIndex = 8
Selection.FormatConditions.Add Type:=xlExpression, Formula1:= _
"=(SUMPRODUCT((G2<=$G2:$K2)/COUNTIF($G2:$K2,$G2:$K2))=3)*(G2>0)"
Selection.FormatConditions(3).Interior.ColorIndex = 37
¡J
¡J
Range("AU2:AX2").Select
Selection.FormatConditions.Delete
Selection.FormatConditions.Add Type:=xlExpression, Formula1:= _
"=(AU2=MAX($AU2:$AX2))*(AU2>0)"
Selection.FormatConditions(1).Interior.ColorIndex = 43
Selection.FormatConditions.Add Type:=xlExpression, Formula1:= _
"=(SUMPRODUCT((AU2<=$AU2:$AX2)/COUNTIF($AU2:$AX2,$AU2:$AX2))=2)*(AU2>0)"
Selection.FormatConditions(2).Interior.ColorIndex = 8
Selection.FormatConditions.Add Type:=xlExpression, Formula1:= _
"=(SUMPRODUCT((AU2<=$AU2:$AX2)/COUNTIF($AU2:$AX2,$AU2:$AX2))=3)*(AU2>0)"
Selection.FormatConditions(3).Interior.ColorIndex = 37
¦@10¬q(½Ð¸Ô¨£´ú¸ÕÀÉ)
½Ð°Ý¡J¥i¥H¦A²¤Æ¶Ü?
PS¡J
¤½¦¡n«O¯d¡C
¦pªG¥u¯à¤@¬q¤@¬q§ï¡A´N½Ð¥u§ï¤@¬q´N¥i¥H¤F¡A¨ä¥¦9¬q§Ú¦A®M¼g´N¦n!
ÁÂÁÂÀ°¦£! |
|