LoginSignup
12
11

More than 5 years have passed since last update.

ズンドコキヨシ with Excel

Posted at

Excelでズンドコキヨシをやってみた。

=IF(ROW()>5, IF(OR(A5="", A5="キ・ヨ・シ!"), "", IF(AND(A1="ズン", A2="ズン", A3="ズン", A4="ズン", A5="ドコ"), "キ・ヨ・シ!", IF(INT(RAND()*2)=0, "ズン", "ドコ"))), IF(INT(RAND()*2)=0, "ズン", "ドコ"))

これをA6のセルにコピペして、上下にコピーすると…

zundoko.png
できたっ!

勝手に再帰してくれるのがイイなー。
思いつくがままに書いてみたけどもうちょっとキレイに書ける気がする。。

12
11
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
11