What is the formula behind each level spell slot progression that I can use in a spreadsheet? The 2019 Stack Overflow Developer Survey Results Are InWhat spell slot count formula can I use to base my homebrew mechanic on?Why do Warlocks only have spells up to 5th level? What's the correct progression for their slots?Can you use Magical Secrets to choose high level spells when multiclassing as a Bard?How does spell slot progression work with multiclassing?What is the reason to only give casters a single high level slot up to the upper levels?If I multiclass as a warlock and another class, and I get spell slots from that other class, do they count as my highest-level slot or not?Multiclass Spellcaster: Do the involved classes share the same pool of spell slots?What spell slot count formula can I use to base my homebrew mechanic on?Can a multiclass spellcaster use spell slots of a level higher than the spells he could learn through a class to cast a spell learned through a feat?What does “as if you were a single-classed member of that class” mean for spells known and spell slots?Are the amount of spell slots per caster level derived with math or decided arbitrarily?

How to deal with speedster characters?

Who coined the term "madman theory"?

Why hard-Brexiteers don't insist on a hard border to prevent illegal immigration after Brexit?

Is flight data recorder erased after every flight?

What does Linus Torvalds mean when he says that Git "never ever" tracks a file?

Is an up-to-date browser secure on an out-of-date OS?

How to support a colleague who finds meetings extremely tiring?

How are circuits which use complex ICs normally simulated?

Is "plugging out" electronic devices an American expression?

Why was M87 targetted for the Event Horizon Telescope instead of Sagittarius A*?

How to answer pointed "are you quitting" questioning when I don't want them to suspect

Why isn't airport relocation done gradually?

How to deal with fear of taking dependencies

What are the motivations for publishing new editions of an existing textbook, beyond new discoveries in a field?

One word riddle: Vowel in the middle

Is bread bad for ducks?

Is a "Democratic" Oligarchy-Style System Possible?

FPGA - DIY Programming

Does the shape of a die affect the probability of a number being rolled?

Does a dangling wire really electrocute me if I'm standing in water?

What to do when moving next to a bird sanctuary with a loosely-domesticated cat?

For what reasons would an animal species NOT cross a *horizontal* land bridge?

Can we generate random numbers using irrational numbers like π and e?

Did Scotland spend $250,000 for the slogan "Welcome to Scotland"?



What is the formula behind each level spell slot progression that I can use in a spreadsheet?



The 2019 Stack Overflow Developer Survey Results Are InWhat spell slot count formula can I use to base my homebrew mechanic on?Why do Warlocks only have spells up to 5th level? What's the correct progression for their slots?Can you use Magical Secrets to choose high level spells when multiclassing as a Bard?How does spell slot progression work with multiclassing?What is the reason to only give casters a single high level slot up to the upper levels?If I multiclass as a warlock and another class, and I get spell slots from that other class, do they count as my highest-level slot or not?Multiclass Spellcaster: Do the involved classes share the same pool of spell slots?What spell slot count formula can I use to base my homebrew mechanic on?Can a multiclass spellcaster use spell slots of a level higher than the spells he could learn through a class to cast a spell learned through a feat?What does “as if you were a single-classed member of that class” mean for spells known and spell slots?Are the amount of spell slots per caster level derived with math or decided arbitrarily?



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








5












$begingroup$


I have been trying to find a way to find the formula behind spell slot progression on the multiclass caster table, to add a spell slot table to this sheet with the best example being on the last table group at the end of the second page and there seems to be a pattern, but I can’t seem to find what the formula for it would be. Especially because many lower level slots cap out at a number around 3 after only a few levels.



I have been linked to this post a few times because it has a similar title to my question, but it does not have the answer I am looking for. If anyone has the formula for the individual level slot progression per level that would be greatly appreciated.



What is the formula that can be used to generate the spell slots for each level on the multiclassing spell slot table?



I would prefer the mathematical function that gives it, so it could be used in other projects should the time arise. But if there is no other solution a spreadsheet specific answer would be appreciated.










share|improve this question











$endgroup$











  • $begingroup$
    Comments are not for extended discussion; this conversation has been moved to chat.
    $endgroup$
    – mxyzplk
    7 hours ago

















5












$begingroup$


I have been trying to find a way to find the formula behind spell slot progression on the multiclass caster table, to add a spell slot table to this sheet with the best example being on the last table group at the end of the second page and there seems to be a pattern, but I can’t seem to find what the formula for it would be. Especially because many lower level slots cap out at a number around 3 after only a few levels.



I have been linked to this post a few times because it has a similar title to my question, but it does not have the answer I am looking for. If anyone has the formula for the individual level slot progression per level that would be greatly appreciated.



What is the formula that can be used to generate the spell slots for each level on the multiclassing spell slot table?



I would prefer the mathematical function that gives it, so it could be used in other projects should the time arise. But if there is no other solution a spreadsheet specific answer would be appreciated.










share|improve this question











$endgroup$











  • $begingroup$
    Comments are not for extended discussion; this conversation has been moved to chat.
    $endgroup$
    – mxyzplk
    7 hours ago













5












5








5





$begingroup$


I have been trying to find a way to find the formula behind spell slot progression on the multiclass caster table, to add a spell slot table to this sheet with the best example being on the last table group at the end of the second page and there seems to be a pattern, but I can’t seem to find what the formula for it would be. Especially because many lower level slots cap out at a number around 3 after only a few levels.



I have been linked to this post a few times because it has a similar title to my question, but it does not have the answer I am looking for. If anyone has the formula for the individual level slot progression per level that would be greatly appreciated.



What is the formula that can be used to generate the spell slots for each level on the multiclassing spell slot table?



I would prefer the mathematical function that gives it, so it could be used in other projects should the time arise. But if there is no other solution a spreadsheet specific answer would be appreciated.










share|improve this question











$endgroup$




I have been trying to find a way to find the formula behind spell slot progression on the multiclass caster table, to add a spell slot table to this sheet with the best example being on the last table group at the end of the second page and there seems to be a pattern, but I can’t seem to find what the formula for it would be. Especially because many lower level slots cap out at a number around 3 after only a few levels.



I have been linked to this post a few times because it has a similar title to my question, but it does not have the answer I am looking for. If anyone has the formula for the individual level slot progression per level that would be greatly appreciated.



What is the formula that can be used to generate the spell slots for each level on the multiclassing spell slot table?



I would prefer the mathematical function that gives it, so it could be used in other projects should the time arise. But if there is no other solution a spreadsheet specific answer would be appreciated.







dnd-5e spells multi-classing spell-slots






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 1 hour ago









V2Blast

26.3k591161




26.3k591161










asked 15 hours ago









Gerome the namelessGerome the nameless

846




846











  • $begingroup$
    Comments are not for extended discussion; this conversation has been moved to chat.
    $endgroup$
    – mxyzplk
    7 hours ago
















  • $begingroup$
    Comments are not for extended discussion; this conversation has been moved to chat.
    $endgroup$
    – mxyzplk
    7 hours ago















$begingroup$
Comments are not for extended discussion; this conversation has been moved to chat.
$endgroup$
– mxyzplk
7 hours ago




$begingroup$
Comments are not for extended discussion; this conversation has been moved to chat.
$endgroup$
– mxyzplk
7 hours ago










4 Answers
4






active

oldest

votes


















14












$begingroup$

There is no General Formula



Or at least not one that is pretty.



Let's start by looking at how many spell slots are gained at each level:



beginarrayrl
textLevel & text+ Slots & textLevel & text+ Slots \ hline
text1st & text+2 1st & text11th & text+1 6th \
text2nd & text+1 1st & text12th & - \
text3rd & text+1 1st; +2 2nd & text13th & text+1 7th \
text4th & text+1 2nd & text14th & - \
text5th & text+2 3rd & text15th & text+1 8th \
text6th & text+1 3rd & text16th & - \
text7th & text+1 4th & text17th & text+1 9th \
text8th & text+1 4th & text18th & text+1 5th \
text9th & text+1 5th; +1 4th & text19th & text+1 6th \
text10th & text+1 5th & text20th & text+1 7th \
endarray



So looking at this, there are a few patterns that stand out:



  • For Tiers 1 & 2 (Levels 1-4 and 5-10) the very first level gives 2 spell slots of the type gained at that level. Then, the second-to-last level gives two types of spell slots, not just one.

  • In Tier 3 (Levels 11-16), you only gain spell slots every other level, on the odd levels. Nothing is gained on the even levels (except, usually, for class features).

  • In Tier 4, (Levels 17-20), the first level gains the 9th level spell slot, but then all the other levels give lower level spell slots.

But these patterns don't give us enough to work with in terms of writing a clean formula. The table is built from deliberate decisions about how the designers wanted to advance power at each stage of the game, not a single encompassing formula.



So if you're trying to put spell slot numbers into spreadsheet software, you'll need to punch the table in manually somewhere.



Spreadsheet Math



This is what I came up with:



Spell Slot Spreadsheet



In Cells M3 to M11, the formula used there is



=IF(OFFSET($B$1,$M$2,MATCH(L3,$B$1:$J$1)-1)<>0, OFFSET($B$1,$M$2,MATCH(L3,$B$1:$J$1)-1), "")


All of the other cells are just flat values.



That formula will fill in the correct number of spell slots based on what is punched in in M2, the cell next to LEVEL. All you have to do is supply the correct "effective" caster level to that cell, based on the total caster level of the character, multiclassed or single-classed.



The idea is that the array on the right, with the complex lookup formula, can be copied (with the references being updated) into each of the character sheets you're trying to generate, and it'll generate the correct values for each character. All you then have to do is just copy down the canonical table somewhere in your workbook so you can use it as a reference.



And if you're feeling really frisky bold, you could even homebrew alternate spell slot progressions into that table, and the formula would pick up the homebrew instead, with minimal effort needed to make changes... Just saying...






share|improve this answer











$endgroup$




















    4












    $begingroup$

    Just use a sum of conditionals



    I have recently implemented auto-updating spell slot numbers in a character sheet spreadsheet, and the only reasonable way I found to do it was write a bespoke formula for each spell slot level. For example, you gain a 5th level slot at caster levels 9, 10, and 18. Sure, you could find some non-linear function that matches this behavior, or you could just encode this as 3 conditional statements:



    = (LEVEL >= 9) + (LEVEL >= 10) + (LEVEL >= 18)


    This formula is for Google Sheets, and LEVEL should be replaced by the absolute cell ID containing your caster level. In your example sheet this would be $BX$27. Each conditional evaluates to TRUE or FALSE, and when you treat them as numbers by adding them together, TRUE becomes 1 and FALSE becomes 0. You will need to write a similar formula for each spell slot level. Note that for 8th and 9th level slots, which only have one conditional, you'll need to add a +0 just to convert the T/F to 1/0.






    share|improve this answer











    $endgroup$




















      2












      $begingroup$

      There is no formula for number of spell slots simple enough to be useful. Some numbers in RPGs are ad hoc and not based on consistent math, and this seems to be such a case.






      share|improve this answer









      $endgroup$




















        0












        $begingroup$

        There if no succinct mathematical function that does it, but we can construct a function for number of nth level spell slots for a level m caster by using an if function which takes two inputs, (a, b) and returns 1 of $a >= b$ and 0 if $b > a$. The number of 1st level spellslots a m level caster has becomes:
        $$
        2 cdot textif (m, 1) + textif (m, 2) + textif(m, 3)
        $$

        and so on. You can implement this in a spreadsheet by the IF() function (Works in Excel and Google Spreadsheet):



         =IF(LEVEL>=1, 2, 0)+IF(LEVEL>=2, 1, 0) + IF(LEVEL>=3, 1, 0)`


        where LEVEL is the cell containing the casters level. And so on for the other spell slot levels.






        share|improve this answer











        $endgroup$













          Your Answer





          StackExchange.ifUsing("editor", function ()
          return StackExchange.using("mathjaxEditing", function ()
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["\$", "\$"]]);
          );
          );
          , "mathjax-editing");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "122"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2frpg.stackexchange.com%2fquestions%2f144945%2fwhat-is-the-formula-behind-each-level-spell-slot-progression-that-i-can-use-in-a%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          4 Answers
          4






          active

          oldest

          votes








          4 Answers
          4






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          14












          $begingroup$

          There is no General Formula



          Or at least not one that is pretty.



          Let's start by looking at how many spell slots are gained at each level:



          beginarrayrl
          textLevel & text+ Slots & textLevel & text+ Slots \ hline
          text1st & text+2 1st & text11th & text+1 6th \
          text2nd & text+1 1st & text12th & - \
          text3rd & text+1 1st; +2 2nd & text13th & text+1 7th \
          text4th & text+1 2nd & text14th & - \
          text5th & text+2 3rd & text15th & text+1 8th \
          text6th & text+1 3rd & text16th & - \
          text7th & text+1 4th & text17th & text+1 9th \
          text8th & text+1 4th & text18th & text+1 5th \
          text9th & text+1 5th; +1 4th & text19th & text+1 6th \
          text10th & text+1 5th & text20th & text+1 7th \
          endarray



          So looking at this, there are a few patterns that stand out:



          • For Tiers 1 & 2 (Levels 1-4 and 5-10) the very first level gives 2 spell slots of the type gained at that level. Then, the second-to-last level gives two types of spell slots, not just one.

          • In Tier 3 (Levels 11-16), you only gain spell slots every other level, on the odd levels. Nothing is gained on the even levels (except, usually, for class features).

          • In Tier 4, (Levels 17-20), the first level gains the 9th level spell slot, but then all the other levels give lower level spell slots.

          But these patterns don't give us enough to work with in terms of writing a clean formula. The table is built from deliberate decisions about how the designers wanted to advance power at each stage of the game, not a single encompassing formula.



          So if you're trying to put spell slot numbers into spreadsheet software, you'll need to punch the table in manually somewhere.



          Spreadsheet Math



          This is what I came up with:



          Spell Slot Spreadsheet



          In Cells M3 to M11, the formula used there is



          =IF(OFFSET($B$1,$M$2,MATCH(L3,$B$1:$J$1)-1)<>0, OFFSET($B$1,$M$2,MATCH(L3,$B$1:$J$1)-1), "")


          All of the other cells are just flat values.



          That formula will fill in the correct number of spell slots based on what is punched in in M2, the cell next to LEVEL. All you have to do is supply the correct "effective" caster level to that cell, based on the total caster level of the character, multiclassed or single-classed.



          The idea is that the array on the right, with the complex lookup formula, can be copied (with the references being updated) into each of the character sheets you're trying to generate, and it'll generate the correct values for each character. All you then have to do is just copy down the canonical table somewhere in your workbook so you can use it as a reference.



          And if you're feeling really frisky bold, you could even homebrew alternate spell slot progressions into that table, and the formula would pick up the homebrew instead, with minimal effort needed to make changes... Just saying...






          share|improve this answer











          $endgroup$

















            14












            $begingroup$

            There is no General Formula



            Or at least not one that is pretty.



            Let's start by looking at how many spell slots are gained at each level:



            beginarrayrl
            textLevel & text+ Slots & textLevel & text+ Slots \ hline
            text1st & text+2 1st & text11th & text+1 6th \
            text2nd & text+1 1st & text12th & - \
            text3rd & text+1 1st; +2 2nd & text13th & text+1 7th \
            text4th & text+1 2nd & text14th & - \
            text5th & text+2 3rd & text15th & text+1 8th \
            text6th & text+1 3rd & text16th & - \
            text7th & text+1 4th & text17th & text+1 9th \
            text8th & text+1 4th & text18th & text+1 5th \
            text9th & text+1 5th; +1 4th & text19th & text+1 6th \
            text10th & text+1 5th & text20th & text+1 7th \
            endarray



            So looking at this, there are a few patterns that stand out:



            • For Tiers 1 & 2 (Levels 1-4 and 5-10) the very first level gives 2 spell slots of the type gained at that level. Then, the second-to-last level gives two types of spell slots, not just one.

            • In Tier 3 (Levels 11-16), you only gain spell slots every other level, on the odd levels. Nothing is gained on the even levels (except, usually, for class features).

            • In Tier 4, (Levels 17-20), the first level gains the 9th level spell slot, but then all the other levels give lower level spell slots.

            But these patterns don't give us enough to work with in terms of writing a clean formula. The table is built from deliberate decisions about how the designers wanted to advance power at each stage of the game, not a single encompassing formula.



            So if you're trying to put spell slot numbers into spreadsheet software, you'll need to punch the table in manually somewhere.



            Spreadsheet Math



            This is what I came up with:



            Spell Slot Spreadsheet



            In Cells M3 to M11, the formula used there is



            =IF(OFFSET($B$1,$M$2,MATCH(L3,$B$1:$J$1)-1)<>0, OFFSET($B$1,$M$2,MATCH(L3,$B$1:$J$1)-1), "")


            All of the other cells are just flat values.



            That formula will fill in the correct number of spell slots based on what is punched in in M2, the cell next to LEVEL. All you have to do is supply the correct "effective" caster level to that cell, based on the total caster level of the character, multiclassed or single-classed.



            The idea is that the array on the right, with the complex lookup formula, can be copied (with the references being updated) into each of the character sheets you're trying to generate, and it'll generate the correct values for each character. All you then have to do is just copy down the canonical table somewhere in your workbook so you can use it as a reference.



            And if you're feeling really frisky bold, you could even homebrew alternate spell slot progressions into that table, and the formula would pick up the homebrew instead, with minimal effort needed to make changes... Just saying...






            share|improve this answer











            $endgroup$















              14












              14








              14





              $begingroup$

              There is no General Formula



              Or at least not one that is pretty.



              Let's start by looking at how many spell slots are gained at each level:



              beginarrayrl
              textLevel & text+ Slots & textLevel & text+ Slots \ hline
              text1st & text+2 1st & text11th & text+1 6th \
              text2nd & text+1 1st & text12th & - \
              text3rd & text+1 1st; +2 2nd & text13th & text+1 7th \
              text4th & text+1 2nd & text14th & - \
              text5th & text+2 3rd & text15th & text+1 8th \
              text6th & text+1 3rd & text16th & - \
              text7th & text+1 4th & text17th & text+1 9th \
              text8th & text+1 4th & text18th & text+1 5th \
              text9th & text+1 5th; +1 4th & text19th & text+1 6th \
              text10th & text+1 5th & text20th & text+1 7th \
              endarray



              So looking at this, there are a few patterns that stand out:



              • For Tiers 1 & 2 (Levels 1-4 and 5-10) the very first level gives 2 spell slots of the type gained at that level. Then, the second-to-last level gives two types of spell slots, not just one.

              • In Tier 3 (Levels 11-16), you only gain spell slots every other level, on the odd levels. Nothing is gained on the even levels (except, usually, for class features).

              • In Tier 4, (Levels 17-20), the first level gains the 9th level spell slot, but then all the other levels give lower level spell slots.

              But these patterns don't give us enough to work with in terms of writing a clean formula. The table is built from deliberate decisions about how the designers wanted to advance power at each stage of the game, not a single encompassing formula.



              So if you're trying to put spell slot numbers into spreadsheet software, you'll need to punch the table in manually somewhere.



              Spreadsheet Math



              This is what I came up with:



              Spell Slot Spreadsheet



              In Cells M3 to M11, the formula used there is



              =IF(OFFSET($B$1,$M$2,MATCH(L3,$B$1:$J$1)-1)<>0, OFFSET($B$1,$M$2,MATCH(L3,$B$1:$J$1)-1), "")


              All of the other cells are just flat values.



              That formula will fill in the correct number of spell slots based on what is punched in in M2, the cell next to LEVEL. All you have to do is supply the correct "effective" caster level to that cell, based on the total caster level of the character, multiclassed or single-classed.



              The idea is that the array on the right, with the complex lookup formula, can be copied (with the references being updated) into each of the character sheets you're trying to generate, and it'll generate the correct values for each character. All you then have to do is just copy down the canonical table somewhere in your workbook so you can use it as a reference.



              And if you're feeling really frisky bold, you could even homebrew alternate spell slot progressions into that table, and the formula would pick up the homebrew instead, with minimal effort needed to make changes... Just saying...






              share|improve this answer











              $endgroup$



              There is no General Formula



              Or at least not one that is pretty.



              Let's start by looking at how many spell slots are gained at each level:



              beginarrayrl
              textLevel & text+ Slots & textLevel & text+ Slots \ hline
              text1st & text+2 1st & text11th & text+1 6th \
              text2nd & text+1 1st & text12th & - \
              text3rd & text+1 1st; +2 2nd & text13th & text+1 7th \
              text4th & text+1 2nd & text14th & - \
              text5th & text+2 3rd & text15th & text+1 8th \
              text6th & text+1 3rd & text16th & - \
              text7th & text+1 4th & text17th & text+1 9th \
              text8th & text+1 4th & text18th & text+1 5th \
              text9th & text+1 5th; +1 4th & text19th & text+1 6th \
              text10th & text+1 5th & text20th & text+1 7th \
              endarray



              So looking at this, there are a few patterns that stand out:



              • For Tiers 1 & 2 (Levels 1-4 and 5-10) the very first level gives 2 spell slots of the type gained at that level. Then, the second-to-last level gives two types of spell slots, not just one.

              • In Tier 3 (Levels 11-16), you only gain spell slots every other level, on the odd levels. Nothing is gained on the even levels (except, usually, for class features).

              • In Tier 4, (Levels 17-20), the first level gains the 9th level spell slot, but then all the other levels give lower level spell slots.

              But these patterns don't give us enough to work with in terms of writing a clean formula. The table is built from deliberate decisions about how the designers wanted to advance power at each stage of the game, not a single encompassing formula.



              So if you're trying to put spell slot numbers into spreadsheet software, you'll need to punch the table in manually somewhere.



              Spreadsheet Math



              This is what I came up with:



              Spell Slot Spreadsheet



              In Cells M3 to M11, the formula used there is



              =IF(OFFSET($B$1,$M$2,MATCH(L3,$B$1:$J$1)-1)<>0, OFFSET($B$1,$M$2,MATCH(L3,$B$1:$J$1)-1), "")


              All of the other cells are just flat values.



              That formula will fill in the correct number of spell slots based on what is punched in in M2, the cell next to LEVEL. All you have to do is supply the correct "effective" caster level to that cell, based on the total caster level of the character, multiclassed or single-classed.



              The idea is that the array on the right, with the complex lookup formula, can be copied (with the references being updated) into each of the character sheets you're trying to generate, and it'll generate the correct values for each character. All you then have to do is just copy down the canonical table somewhere in your workbook so you can use it as a reference.



              And if you're feeling really frisky bold, you could even homebrew alternate spell slot progressions into that table, and the formula would pick up the homebrew instead, with minimal effort needed to make changes... Just saying...







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited 14 hours ago

























              answered 14 hours ago









              XiremaXirema

              23.8k268140




              23.8k268140























                  4












                  $begingroup$

                  Just use a sum of conditionals



                  I have recently implemented auto-updating spell slot numbers in a character sheet spreadsheet, and the only reasonable way I found to do it was write a bespoke formula for each spell slot level. For example, you gain a 5th level slot at caster levels 9, 10, and 18. Sure, you could find some non-linear function that matches this behavior, or you could just encode this as 3 conditional statements:



                  = (LEVEL >= 9) + (LEVEL >= 10) + (LEVEL >= 18)


                  This formula is for Google Sheets, and LEVEL should be replaced by the absolute cell ID containing your caster level. In your example sheet this would be $BX$27. Each conditional evaluates to TRUE or FALSE, and when you treat them as numbers by adding them together, TRUE becomes 1 and FALSE becomes 0. You will need to write a similar formula for each spell slot level. Note that for 8th and 9th level slots, which only have one conditional, you'll need to add a +0 just to convert the T/F to 1/0.






                  share|improve this answer











                  $endgroup$

















                    4












                    $begingroup$

                    Just use a sum of conditionals



                    I have recently implemented auto-updating spell slot numbers in a character sheet spreadsheet, and the only reasonable way I found to do it was write a bespoke formula for each spell slot level. For example, you gain a 5th level slot at caster levels 9, 10, and 18. Sure, you could find some non-linear function that matches this behavior, or you could just encode this as 3 conditional statements:



                    = (LEVEL >= 9) + (LEVEL >= 10) + (LEVEL >= 18)


                    This formula is for Google Sheets, and LEVEL should be replaced by the absolute cell ID containing your caster level. In your example sheet this would be $BX$27. Each conditional evaluates to TRUE or FALSE, and when you treat them as numbers by adding them together, TRUE becomes 1 and FALSE becomes 0. You will need to write a similar formula for each spell slot level. Note that for 8th and 9th level slots, which only have one conditional, you'll need to add a +0 just to convert the T/F to 1/0.






                    share|improve this answer











                    $endgroup$















                      4












                      4








                      4





                      $begingroup$

                      Just use a sum of conditionals



                      I have recently implemented auto-updating spell slot numbers in a character sheet spreadsheet, and the only reasonable way I found to do it was write a bespoke formula for each spell slot level. For example, you gain a 5th level slot at caster levels 9, 10, and 18. Sure, you could find some non-linear function that matches this behavior, or you could just encode this as 3 conditional statements:



                      = (LEVEL >= 9) + (LEVEL >= 10) + (LEVEL >= 18)


                      This formula is for Google Sheets, and LEVEL should be replaced by the absolute cell ID containing your caster level. In your example sheet this would be $BX$27. Each conditional evaluates to TRUE or FALSE, and when you treat them as numbers by adding them together, TRUE becomes 1 and FALSE becomes 0. You will need to write a similar formula for each spell slot level. Note that for 8th and 9th level slots, which only have one conditional, you'll need to add a +0 just to convert the T/F to 1/0.






                      share|improve this answer











                      $endgroup$



                      Just use a sum of conditionals



                      I have recently implemented auto-updating spell slot numbers in a character sheet spreadsheet, and the only reasonable way I found to do it was write a bespoke formula for each spell slot level. For example, you gain a 5th level slot at caster levels 9, 10, and 18. Sure, you could find some non-linear function that matches this behavior, or you could just encode this as 3 conditional statements:



                      = (LEVEL >= 9) + (LEVEL >= 10) + (LEVEL >= 18)


                      This formula is for Google Sheets, and LEVEL should be replaced by the absolute cell ID containing your caster level. In your example sheet this would be $BX$27. Each conditional evaluates to TRUE or FALSE, and when you treat them as numbers by adding them together, TRUE becomes 1 and FALSE becomes 0. You will need to write a similar formula for each spell slot level. Note that for 8th and 9th level slots, which only have one conditional, you'll need to add a +0 just to convert the T/F to 1/0.







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited 14 hours ago

























                      answered 14 hours ago









                      Ryan ThompsonRyan Thompson

                      11.7k23987




                      11.7k23987





















                          2












                          $begingroup$

                          There is no formula for number of spell slots simple enough to be useful. Some numbers in RPGs are ad hoc and not based on consistent math, and this seems to be such a case.






                          share|improve this answer









                          $endgroup$

















                            2












                            $begingroup$

                            There is no formula for number of spell slots simple enough to be useful. Some numbers in RPGs are ad hoc and not based on consistent math, and this seems to be such a case.






                            share|improve this answer









                            $endgroup$















                              2












                              2








                              2





                              $begingroup$

                              There is no formula for number of spell slots simple enough to be useful. Some numbers in RPGs are ad hoc and not based on consistent math, and this seems to be such a case.






                              share|improve this answer









                              $endgroup$



                              There is no formula for number of spell slots simple enough to be useful. Some numbers in RPGs are ad hoc and not based on consistent math, and this seems to be such a case.







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered 14 hours ago









                              Derek StuckiDerek Stucki

                              21.4k768110




                              21.4k768110





















                                  0












                                  $begingroup$

                                  There if no succinct mathematical function that does it, but we can construct a function for number of nth level spell slots for a level m caster by using an if function which takes two inputs, (a, b) and returns 1 of $a >= b$ and 0 if $b > a$. The number of 1st level spellslots a m level caster has becomes:
                                  $$
                                  2 cdot textif (m, 1) + textif (m, 2) + textif(m, 3)
                                  $$

                                  and so on. You can implement this in a spreadsheet by the IF() function (Works in Excel and Google Spreadsheet):



                                   =IF(LEVEL>=1, 2, 0)+IF(LEVEL>=2, 1, 0) + IF(LEVEL>=3, 1, 0)`


                                  where LEVEL is the cell containing the casters level. And so on for the other spell slot levels.






                                  share|improve this answer











                                  $endgroup$

















                                    0












                                    $begingroup$

                                    There if no succinct mathematical function that does it, but we can construct a function for number of nth level spell slots for a level m caster by using an if function which takes two inputs, (a, b) and returns 1 of $a >= b$ and 0 if $b > a$. The number of 1st level spellslots a m level caster has becomes:
                                    $$
                                    2 cdot textif (m, 1) + textif (m, 2) + textif(m, 3)
                                    $$

                                    and so on. You can implement this in a spreadsheet by the IF() function (Works in Excel and Google Spreadsheet):



                                     =IF(LEVEL>=1, 2, 0)+IF(LEVEL>=2, 1, 0) + IF(LEVEL>=3, 1, 0)`


                                    where LEVEL is the cell containing the casters level. And so on for the other spell slot levels.






                                    share|improve this answer











                                    $endgroup$















                                      0












                                      0








                                      0





                                      $begingroup$

                                      There if no succinct mathematical function that does it, but we can construct a function for number of nth level spell slots for a level m caster by using an if function which takes two inputs, (a, b) and returns 1 of $a >= b$ and 0 if $b > a$. The number of 1st level spellslots a m level caster has becomes:
                                      $$
                                      2 cdot textif (m, 1) + textif (m, 2) + textif(m, 3)
                                      $$

                                      and so on. You can implement this in a spreadsheet by the IF() function (Works in Excel and Google Spreadsheet):



                                       =IF(LEVEL>=1, 2, 0)+IF(LEVEL>=2, 1, 0) + IF(LEVEL>=3, 1, 0)`


                                      where LEVEL is the cell containing the casters level. And so on for the other spell slot levels.






                                      share|improve this answer











                                      $endgroup$



                                      There if no succinct mathematical function that does it, but we can construct a function for number of nth level spell slots for a level m caster by using an if function which takes two inputs, (a, b) and returns 1 of $a >= b$ and 0 if $b > a$. The number of 1st level spellslots a m level caster has becomes:
                                      $$
                                      2 cdot textif (m, 1) + textif (m, 2) + textif(m, 3)
                                      $$

                                      and so on. You can implement this in a spreadsheet by the IF() function (Works in Excel and Google Spreadsheet):



                                       =IF(LEVEL>=1, 2, 0)+IF(LEVEL>=2, 1, 0) + IF(LEVEL>=3, 1, 0)`


                                      where LEVEL is the cell containing the casters level. And so on for the other spell slot levels.







                                      share|improve this answer














                                      share|improve this answer



                                      share|improve this answer








                                      edited 13 hours ago

























                                      answered 14 hours ago









                                      Someone_EvilSomeone_Evil

                                      1,540218




                                      1,540218



























                                          draft saved

                                          draft discarded
















































                                          Thanks for contributing an answer to Role-playing Games Stack Exchange!


                                          • Please be sure to answer the question. Provide details and share your research!

                                          But avoid


                                          • Asking for help, clarification, or responding to other answers.

                                          • Making statements based on opinion; back them up with references or personal experience.

                                          Use MathJax to format equations. MathJax reference.


                                          To learn more, see our tips on writing great answers.




                                          draft saved


                                          draft discarded














                                          StackExchange.ready(
                                          function ()
                                          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2frpg.stackexchange.com%2fquestions%2f144945%2fwhat-is-the-formula-behind-each-level-spell-slot-progression-that-i-can-use-in-a%23new-answer', 'question_page');

                                          );

                                          Post as a guest















                                          Required, but never shown





















































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown

































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown







                                          Popular posts from this blog

                                          How to make RAID controller rescan devices The 2019 Stack Overflow Developer Survey Results Are InLSI MegaRAID SAS 9261-8i: Disk isn't recognized after replacementHow to monitor the hard disk status behind Dell PERC H710 Raid Controller with CentOS 6?LSI MegaRAID - Recreate missing RAID 1 arrayext. 2-bay USB-Drive with RAID: btrfs RAID vs built-in RAIDInvalid SAS topologyDoes enabling JBOD mode on LSI based controllers affect existing logical disks/arrays?Why is there a shift between the WWN reported from the controller and the Linux system?Optimal RAID 6+0 Setup for 40+ 4TB DisksAccidental SAS cable removal

                                          Куамањотепек (Чилапа де Алварез) Садржај Становништво Види још Референце Спољашње везе Мени за навигацију17°19′47″N 99°1′51″W / 17.32972° СГШ; 99.03083° ЗГД / 17.32972; -99.0308317°19′47″N 99°1′51″W / 17.32972° СГШ; 99.03083° ЗГД / 17.32972; -99.030838877656„Instituto Nacional de Estadística y Geografía”„The GeoNames geographical database”Мексичка насељапроширитиуу

                                          Can the Right Ascension and Argument of Perigee of a spacecraft's orbit keep varying by themselves with time? The 2019 Stack Overflow Developer Survey Results Are InHow is the altitude of a satellite defined, given that the Earth is not spherical?Why do satellites appear to move faster when overhead and slower closer to the horizon?For the mathematical relationship between J2 (km^5/s^2) and dimensionless J2 - which one is derived from the other?Why is Nodal precession affected by the rotational period of the planet?Why is it so difficult to predict the exact reentry location and time of a very low earth orbit object?Why are low earth orbit satellites not visible from the same place all the time?Perifocal coordinates and the orbit equationHow feasible is the Moonspike mission?What was the typical perigee after a shuttle de-orbit burn?I am having trouble calculating my classic orbital elements and am at a loss on where to lookAm I supposed to modify the gravitational constant with scale and why do fps & time scale changes cause my orbit to break?How Local time of a sun synchronous orbit is related to Right ascension of ascending node?What is wrong with my orbit sim equations? How can I fix them?How to obtain the initial positions and velocities of an inclined orbit?