½Ð±Ð¦U¦ì¦Ñ®v:
¤U¦Cµ{§Ç¬O¥H F1~K1ªº¥ô·N¼Æ¦r¬°¤ñ¹ïì©l¸ê®Æ,N11~N15ªº¥ô·N¼Æ¦rY¦³»PF1~K1ªº¥ô·N¼Æ¦r¬Û¦PªÌ,«h¤À§O¦bN4~N8Åã¥Ü¼Æ¦r1 ,³Ì«á¦A¥[Á`©óN1³B.
Sub ZZ()
Set rng = [F1:K1]
For C = 14 To 24
Range(Cells(3, C), Cells(8, C)).Clear
Cells(1, C) = 0
For r = 11 To 15
If Application.CountIf(rng, Cells(r, C)) >= 1 Then
Cells(r - 7, C) = 1
Cells(1, C) = Cells(1, C) + 1
End If
Next r
Next C
End Sub
¦pªþ¥ó---------------¥H¤W¬O¤§«e½Ð±Ð¤j¤jªº¤èªk.
¦ý¬O¦]¬°¥u»Ýn±NN11~N15ªº¥ô·N¼Æ¦rY¦³»PF1~K1ªº¥ô·N¼Æ¦r¬Û¦PªÌ¥[Á`,Åã¥Ü¦bN1³B§Y¥i.
¤£»Ýn¤À§O¦bN4~N8Åã¥Ü¼Æ¦r1,¦]¬°·|¼W¥[ VBA »P¤º®eªºt¾á.
©Ò¥H·Qn¦bÁY´îµ{§Ç,¤£ª¾¹D¦æ¤£¦æ?ÁÂÁ |