Results 1 to 6 of 6
Thread: Spreadsheet Help Needed!
-
2019-09-25, 03:06 PM (ISO 8601)
- Join Date
- Feb 2019
- Location
- Iceland
- Gender
Spreadsheet Help Needed!
I thought about consolidating all my random tables into a spreadsheet.
Random Table Column Dice Dice Result Crit Table Melee Weapon 1d100 56 This is a dropdown^ This is a dropdown^ This is fetched information
based on the two drop-
down menus chosenThis what we type in based on the physical dice roll
Then there's another cell with the effect.
We love random tables, and this would significantly reduce the time spent flipping through papers and finding the right table. The problem is that I don't know how to 'fetch' information based on conditions.
With this sheet we can simply roll the dice, and have the result appear in just a couple of clicks.
Can anyone help me code this?
EDIT: I started with my limited knowledge over here.
VLOOKUP seems to be helping, but it can only use one input. Anyone?Last edited by Bjarkmundur; 2019-09-25 at 03:53 PM.
-
2019-09-26, 11:29 AM (ISO 8601)
- Join Date
- Sep 2019
- Location
- Florida
- Gender
Re: Spreadsheet Help Needed!
So answering your specific question about lookup with two inputs first.
In your lookup table, create the third column called "key", create the value by concatenating the values of the "table" and "column" columns. Do the vlookup by the concatenation of the values in the drop-downs.
More generally:
It seems to you trying to actually lookup tables and then do a second lookup on the specific table.
Do these tables all have the same set of columns? Because if not you'll need to lookup the column options based on the tables.
-
2019-09-26, 05:13 PM (ISO 8601)
- Join Date
- Feb 2019
- Location
- Iceland
- Gender
Re: Spreadsheet Help Needed!
Thank you kind stranger!
I'm trying to decide if I want to recompile all the tables I'm done writing up into separate tables in reverse order. I'll probably do both MATCH and VLOOKUP versions. Since I'm already here I might as well learn both methods.
You'll see this document in my signature once it's done. I'll turn off editing for now. Thanks again :DLast edited by Bjarkmundur; 2019-09-26 at 05:13 PM.
-
2019-09-26, 05:17 PM (ISO 8601)
- Join Date
- Jan 2017
Re: Spreadsheet Help Needed!
VLOOKUP does not have the ability to find "smallest number greater than equal to X" that MATCH does, so you'd need to write out your table fully, with one line for each possible die roll.
My one piece of homebrew: The Shaman. A Druid replacement with more powerlevel control.
The bargain bin- malfunctioning, missing, and broken magic items.
Spirit Barbarian: The Barbarian, with heavy elements from the Shaman. Complete up to level 17.
The Priest: A cleric reword which ran out of steam. Still a fun prestige class suitable for E6.
The Coward: Not every hero can fight.
-
2019-09-26, 05:48 PM (ISO 8601)
- Join Date
- Feb 2019
- Location
- Iceland
- Gender
Re: Spreadsheet Help Needed!
-
2019-10-03, 03:39 PM (ISO 8601)
- Join Date
- Sep 2007
- Gender
Re: Spreadsheet Help Needed!
Homebrew
Current Project (A sequel to Tome of Battle)
Past Projects, some of which I may come back toSpoiler