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

[µo°Ý] ³sÄò­«ÂЦr´£¿ô

[µo°Ý] ³sÄò­«ÂЦr´£¿ô

¦pªG³sÄò­«ÂЪºA²Ä7¦¸´NÅܦⴣ¿ô¡A¸Õ¹L COUNTIF  OFFSET µo²{¥u¯à¤@¦¸¤¤¶¡Â_¤F´N¨S¿ëªk¤F

Excel.jpg (32.69 KB)

Excel.jpg

³sÄò¬Û¦P¦r.rar (6.52 KB)

=MOD(COLUMN()-MAX(($A1:A1<>A1)*COLUMN($A:A)),7)=0

TOP

¦^´_ 6# hcm19522


    ¦nªº ÁÂÁ±z §Ú¬ã¨s¤@¤U

TOP

¥»©«³Ì«á¥Ñ hcm19522 ©ó 2022-3-17 18:01 ½s¿è

¦^´_ 5# regedit77

(¤@ ) (mod(~,7)=0)  (¤G) (A1<>"")   (¤T) (A1'"A")  ¤T±ø¥ó³£­n¨í©·
google"EXCEL°g"  blog  ©Îgoogleºô§}:https://hcm19522.blogspot.com/

TOP

½Ð°Ý¤@¤U hcm19522 ¥ý¶i ¬°¤°»òmod ²[¼Æ¥~­±­n¦³­Ó¬A¸¹¡A¤@¯ë¤£¬O³£ª½±µmod(x,x)¶Ü¡AÁÙ¦³¬°¤°»ò­n¨Ï¥Îmod ·Q¤£¥X¨Ó

TOP

ÁÂÁ samwang  hcm19522 ¨â¦ì¥ý¶iÀ°¦£¡A  samwang ªº¤Ó²`¤F¡A¤£·|¥Î¡A¦ýÁÙ¬O«D±`·PÁ¡Ahcm19522 ªº¥i¥H¨Ï¥Î¡A§Ú¦b¬ã¨s¤@¤U±z¬O¦p¦ó¼gªº ¦A¦¸ÁÂÁ¨â¦ì

TOP

google"EXCEL°g"  blog  ©Îgoogleºô§}:https://hcm19522.blogspot.com/

TOP

¦^´_ 1# regedit77

½Ð´ú¸Õ¬Ý¬Ý¡AÁÂÁÂ
Sub test()
Dim Arr, i&, j%, ct%
With Sheets(1)
    Arr = .UsedRange
    For i = 1 To UBound(Arr)
        ct = 0
        For j = 1 To UBound(Arr, 2)
            If Arr(i, j) = "" Then GoTo 95
            If UCase(Arr(i, j)) = "A" Then ct = ct + 1 Else ct = 0
            If ct = 7 Then .Cells(i, j).Font.ColorIndex = 3: ct = 0
        Next
95  Next
End With
End Sub

TOP

        ÀR«ä¦Û¦b : ¦a¤WºØ¤Fµæ¡A´N¤£©öªø¯ó¡F¤ß¤¤¦³µ½¡A´N¤£©ö¥Í´c¡C
ªð¦^¦Cªí ¤W¤@¥DÃD