Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 已解決
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 已解決 
50% off Print Subscription of USA Today

Get the news delivered to your doorstep. Lock in the savings and receive USA Today for just $0.75 a day.
From our sponsors
想請問大家如何用EXCEL計算
Oct 15th 2013, 10:41

A1輸入"期數",B1輸入"次數"
實際的期數,次數由第2列以下開始放
D1輸入"上一期出現0下一期出現1的次數"
用以下的程式,可算出上一期出現0下一期出現1的次數,顯示在D2

Sub my_count()

Dim i, c As Integer

i = 3
c = 0
Do While Worksheets("Sheet1").Cells(i, 2) <> ""
If Worksheets("Sheet1").Cells(i - 1, 2) = 0 And Worksheets("Sheet1").Cells(i, 2) = 1 Then
c = c + 1
End If
i = i + 1
Loop

Worksheets("Sheet1").Cells(2, 4) = c

End Sub

This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers. Five Filters recommends:

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
創作者介紹
創作者 韓國小姐 劇情介紹 韓國小姐線上看 第1集 韓國小姐線上看 第2集 韓國小姐線上看 第3集 韓國小姐線上看 第4集 韓國小姐線上看 第5集 韓國小姐線上看 第6集 的頭像
xcvbd

韓國小姐 劇情介紹 韓國小姐線上看 第1集 韓國小姐線上看 第2集 韓國小姐線上看 第3集 韓國小姐線上看 第4集 韓國小姐線上看 第5集 韓國小姐線上看 第6集

xcvbd 發表在 痞客邦 留言(0) 人氣( 0 )