Menu
News
All News
Dungeons & Dragons
Level Up: Advanced 5th Edition
Pathfinder
Starfinder
Warhammer
2d20 System
Year Zero Engine
Industry News
Reviews
Dragon Reflections
White Dwarf Reflections
Columns
Weekly Digests
Weekly News Digest
Freebies, Sales & Bundles
RPG Print News
RPG Crowdfunding News
Game Content
ENterplanetary DimENsions
Mythological Figures
Opinion
Worlds of Design
Peregrine's Nest
RPG Evolution
Other Columns
From the Freelancing Frontline
Monster ENcyclopedia
WotC/TSR Alumni Look Back
4 Hours w/RSD (Ryan Dancey)
The Road to 3E (Jonathan Tweet)
Greenwood's Realms (Ed Greenwood)
Drawmij's TSR (Jim Ward)
Community
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Resources
Wiki
Pages
Latest activity
Media
New media
New comments
Search media
Downloads
Latest reviews
Search resources
EN Publishing
Store
EN5ider
Adventures in ZEITGEIST
Awfully Cheerful Engine
What's OLD is NEW
Judge Dredd & The Worlds Of 2000AD
War of the Burning Sky
Level Up: Advanced 5E
Events & Releases
Upcoming Events
Private Events
Featured Events
Socials!
EN Publishing
Twitter
BlueSky
Facebook
Instagram
EN World
BlueSky
YouTube
Facebook
Twitter
Twitch
Podcast
Features
Top 5 RPGs Compiled Charts 2004-Present
Adventure Game Industry Market Research Summary (RPGs) V1.0
Ryan Dancey: Acquiring TSR
Q&A With Gary Gygax
D&D Rules FAQs
TSR, WotC, & Paizo: A Comparative History
D&D Pronunciation Guide
Million Dollar TTRPG Kickstarters
Tabletop RPG Podcast Hall of Fame
Eric Noah's Unofficial D&D 3rd Edition News
D&D in the Mainstream
D&D & RPG History
About Morrus
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
Community
General Tabletop Discussion
*Pathfinder & Starfinder
Magus' Excel 2007 Initiative Tracker DM Tool
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="deleteme123456" data-source="post: 4427690" data-attributes="member: 65832"><p>Excel allows you to name ranges (and by definition a single cell is a range). I don't have o2007 on my work PC so you'll have to dig in the ribbon for it, but in o2003 it's Insert -> Name -> Define (ALT-I, N, D may work). I vaguely recall it being on the data tab of the ribbon.</p><p></p><p>Basically you define a range either by a fixed absolute or relative reference (handy if say you're making a character sheet, you could have a cell that calculates your STR mod and name it STRMOD). Any formula or VBA function can access that range, and if it resolves to a single cell, then you just use it like you would $B$25 or wherever your strmod is. </p><p></p><p>This definition is a little more interesting, in that it uses OFFSET and COUNTA to find the boundary of the table. The width of the table is found by looking across row 1 for all nonblanks (if you have a blank interposing, this won't work, which is a minor problem but workable, and I could fix it but I'm lazy <img src="https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f609.png" class="smilie smilie--emoji" loading="lazy" width="64" height="64" alt=";)" title="Wink ;)" data-smilie="2"data-shortname=";)" />)</p><p></p><p>The height of the table .. well, I needed something reliable to count, so I used PC names (column b). Again, I was lazy / sloppy and only did a counta instead of a match(*) but oh well. So that way the range is always dynamically checked, if you add a PC, as long as they have a name, you're golden, and you can add more columns as long as they have a header (hard not to in a list).</p></blockquote><p></p>
[QUOTE="deleteme123456, post: 4427690, member: 65832"] Excel allows you to name ranges (and by definition a single cell is a range). I don't have o2007 on my work PC so you'll have to dig in the ribbon for it, but in o2003 it's Insert -> Name -> Define (ALT-I, N, D may work). I vaguely recall it being on the data tab of the ribbon. Basically you define a range either by a fixed absolute or relative reference (handy if say you're making a character sheet, you could have a cell that calculates your STR mod and name it STRMOD). Any formula or VBA function can access that range, and if it resolves to a single cell, then you just use it like you would $B$25 or wherever your strmod is. This definition is a little more interesting, in that it uses OFFSET and COUNTA to find the boundary of the table. The width of the table is found by looking across row 1 for all nonblanks (if you have a blank interposing, this won't work, which is a minor problem but workable, and I could fix it but I'm lazy ;)) The height of the table .. well, I needed something reliable to count, so I used PC names (column b). Again, I was lazy / sloppy and only did a counta instead of a match(*) but oh well. So that way the range is always dynamically checked, if you add a PC, as long as they have a name, you're golden, and you can add more columns as long as they have a header (hard not to in a list). [/QUOTE]
Insert quotes…
Verification
Post reply
Community
General Tabletop Discussion
*Pathfinder & Starfinder
Magus' Excel 2007 Initiative Tracker DM Tool
Top