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

                                          Куамањотепек (Чилапа де Алварез) Садржај Становништво Види још Референце Спољашње везе Мени за навигацију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”Мексичка насељапроширитиуу

                                          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

                                          Срби Садржај Географија Етимологија Генетика Историја Језик Религија Популација Познати Срби Види још Напомене Референце Извори Литература Спољашње везе Мени за навигацијууrs.one.un.orgАрхивираноАрхивирано из оригиналаПопис становништва из 2011. годинеCOMMUNITY PROFILE: SERB COMMUNITY„1996 population census in Bosnia and Herzegovina”„CIA - The World Factbook - Bosnia and Herzegovina”American FactFinder - Results„2011 National Household Survey: Data tables”„Srbi u Nemačkoj | Srbi u Njemačkoj | Zentralrat der Serben in Deutschland”оригинала„Vesti online - Srpski informativni portal”„The Serbian Diaspora and Youth: Cross-Border Ties and Opportunities for Development”оригиналаSerben-Demo eskaliert in Wien„The People of Australia – Statistics from the 2011 Census”„Erstmals über eine Million EU- und EFTA Angehörige in der Schweiz”STANOVNIŠTVO PREMA NARODNOSTI – DETALJNA KLASIFIKACIJA – POPIS 2011.(Завод за статистику Црне Горе)title=Présentation de la République de SerbieSerbian | EthnologuePopulation by ethnic affiliation, Slovenia, Census 1953, 1961, 1971, 1981, 1991 and 2002Попис на населението, домаќинствата и становите во Република Македонија, 2002: Дефинитивни податоциALBANIJA ETNIČKI ČISTI SRBE: Iščezlo 100.000 ljudi pokrštavanjem, kao što su to radile ustaše u NDH! | Telegraf – Najnovije vestiИз удаљене Аргентине„Tab11. Populaţia stabilă după etnie şi limba maternă, pe categorii de localităţi”Суседи броје Србе„Srpska Dijaspora”оригиналаMinifacts about Norway 2012„Statistiques - 01.06.2008”ПРЕДСЕДНИК СРБИЈЕ СА СРБИМА У БРАТИСЛАВИСлавка Драшковић: Многа питања Срба у Црној Гори нерешенаThe Spread of the SlavesGoogle Book„Distribution of European Y-chromosome DNA (Y-DNA) haplogroups by country in percentage”American Journal of Physical Anthropology 142:380–390 (2010)„Архивирана копија”оригинала„Haplogroup I2 (Y-DNA)”„Архивирана копија”оригиналаVTS 01 1 - YouTubeПрви сукоби Срба и Турака - Политикин забавникАрхивираноConstantine Porphyrogenitus: De Administrando ImperioВизантиски извори за историју народа ЈугославијеDe conversione Croatorum et Serborum: A Lost SourceDe conversione Croatorum et Serborum: Изгубљени извор Константина ПорфирогенитаИсторија српске државностиИсторија српског народаСрбофобија и њени извориСерска област после Душанове смртиИсторија ВизантијеИсторија средњовековне босанске државеСрби међу европским народимаСрби у средњем векуМедијиПодациууууу00577267