Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中 
Join Delanceyplace

Sign up to receive a free quote from a non fiction book every weekday.
From our sponsors
VBA~統計7欄=Num次的數字及其標示之語法。
Dec 25th 2013, 19:51

參考附件︰http://www.FunP.Net/31067
Nrange =800-800Num=1-3Tmthc =30為例

先請問:
98.Columns("K:N").Copy.Range("DV1:DY1")
281.[DV1] = "NUM測數"
為什麼列98少計一欄^^"
EX
800_1_30(USED)

新增需求1
各區段的次數欄=Num者,則該儲存格標示4號底色。
EXL8=1(=Num),則L8標示4號底色(800_1_30)
EX
L5=2(=Num),則L5標示4號底色(800_2_30)
其餘類推。

新增需求2
DV
=
將每區段的次數欄有顯示=Num的左邊對應之推測數字(重複取其1)
以遞增方式往下填入本欄。
EXL8=1L10=1...Y4=1Y7=1...BB21=1...CR19=1
則將各次數=Num的左邊數字往下填入DV(800_1_30)
EX
L3=2L5=2BP8=2
則將各次數=Num363842數字往下填入DV(800_2_30)
其餘類推。

DW
=
以每區段的次數欄有顯示=Num視為1次,
DV欄數字在7個次數欄=Num者的次數加總後,並填入本欄的對應儲存格,
EX
L10=1BB21=1,則DW18=2(800_1_30)
EX
BP8=2,則DW2=1(800_2_30)
其餘類推。

且將本欄的最大次數(可並取)DV欄對應儲存格標示44號底色。
EX
DV7=2(800_1_30)DV2=1(800_2_30)
其餘類推。

DX
=
DV欄有標示44號底色的數字,有顯示在開獎版的最末列(即當期開獎號碼)時,
則將該等數字以遞增方式往下填入本欄。
EX
DV2338填入DX2 (800_1_30)DV338填入DX2 (800_2_30)
其餘類推。

DY
=
DX
欄有顯示數字的儲存格加總個數/DV欄有標示44號底色的儲存格加總個數
EXDY2=16.67% (800_1_30)DY2=33.33% (800_2_30)

附件只作Mth工作表,其餘Mth-1Mth-6類推

以上 敬請 各位前輩賜教是幸! 謝謝!


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.

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
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 aploks 的頭像
    aploks

    2016 台北日本料理推薦 , 台北日本料理吃到飽 , 台北日本料理名店 , 台北日本料理吃到飽推薦 , 台北日本料理推薦2014

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