Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Excelでゲームを作るときに役立つ関数5選
Search
10mikiya
November 30, 2018
Programming
1.1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Excelでゲームを作るときに役立つ関数5選
10mikiya
November 30, 2018
More Decks by 10mikiya
See All by 10mikiya
ExcelでVBA無しでドラクエ3を作った話
10mikiya
1
1k
ExcelでGWの行動を可視化する
10mikiya
0
110
ExcelでWebAPIを叩きデータを取得する
10mikiya
0
1.2k
PowerAppsで九死に一生を得る
10mikiya
1
530
コーディング要らず!5分でアプリが作れるPowerAppsを刮目せよ!
10mikiya
0
890
Other Decks in Programming
See All in Programming
Agents on Rails - Rails at Scale 2026
irinanazarova
0
340
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
5
4.9k
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
7.7k
モバイル交通系ICへのチャージ実例から考える、クロスプラットフォーム開発におけるiOS実機テスト設計とCI運用
yusuga
1
580
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
2
1.8k
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
470
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
160
Heart of Swift Concurrency
koher
0
1.2k
Rでドレミ/Do-Re-Mi_with_R
florets1
0
130
20260914 AIエージェント時代のPlatform Engineering LLM基盤とプロダクトの責務境界線
kanfab1
7
2.4k
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
170
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.1k
Featured
See All Featured
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
エンジニアに許された特別な時間の終わり
watany
109
250k
Bash Introduction
62gerente
615
220k
Heart Work Chapter 1 - Part 1
lfama
PRO
10
37k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.3k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
260
Testing 201, or: Great Expectations
jmmastey
46
8.3k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
How Software Deployment tools have changed in the past 20 years
geshan
2
35k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.6k
Transcript
Excelでゲームを 作るときに役立つ 関数5選 2018/11/30 テックトーク
皆さん、もちろん一度は 自作ゲームを作ってみたいと思ったこと あるよね
皆さん、もちろん一度は 自作ゲームを作ってみたいと思ったこと あるよね
そんなあなたに伝えたい ゲームを作るときに役立つ関数5選
RANDBETWEEN
RANDBTWEEN(最小値、最大値) ・最小値から最大値までのランダムな整数値を返してくれる ・自動計算するたびに値が変わる 揮発性関数 ・エンカウント処理やダメージ誤差を出すのにぴったり
OFFSET
OFFSET(参照、行数、列数、[高さ]、[幅]) ・参照に指定したセルから〇行目の〇列のセルの値を返す ・高さ、幅を指定すると配列数式で返す ・壁判定やアニメーションにもってこい =OFFSET($D$4,2,3) a b c d e
a b c d e f g h i j k f g h i j k l m n o p q l m n o p q r s t u v w r s t u v w =OFFSET($D$4,2,3,2,3)
SUMPRODUCT
SUMPRODUCT(配列、[配列]、[配列]、,,,) ・配列同士の積の和を返す ・複数条件を満たすレコードの和として便利 ・SUMIFSができる前はこの関数を多用していた ・特定条件を満たした場合にフラグを立てられる。
INDEX + MATCH
MATCH(検査値、検査範囲、[照合の種類]) ・検索範囲から検索値を探す ・VLOOKUPに似てる ・VLOOKUPはセルの値を返す。MATCHは番地を返す
INDEX(配列、行番号、[列番号]、[領域番号]) ・配列の行番号目の値を返す ・OFFSETでも似たようなことはできるが INDEXの方を使っていきたい。(OFFSETは揮発性関数)
INDEX+MATCH ・VLOOKUPの上位互換 ・検索キーが一番左でなくてよい ・検索結果は検索キーより左にあってもよい ・検索範囲を表全体囲まなくてよい ・「何列目」を意識しなくてよい ・キャラクターの移動履歴を検索するときに使う
(おまけ)INDEX+MATCH+構造化参照 ・セルの範囲を気にする必要がなくなる
以上、みんなゲーム作ろうぜ!