发布网友 发布时间:2022-04-29 13:09
共2个回答
热心网友 时间:2023-10-30 19:17
用编程,比较方便
Sub 统计()
Dim I, K
For I = 1 To 9
For K = 1 To 6
If Cells(I, K).Interior.Color = 49407 And Cells(I, K) = "木材" Then
n = n + 1
End If
Next
Next
MsgBox n
[G1] = n
End Sub
热心网友 时间:2023-10-30 19:17
这种情况用宏可能更方便