Excel auto incremental number in a formula












0














I need to make a formula that has a number in it which I would like to be auto incremented once I hold and drag the formula along a row.



For example my formula (simplified) is:



=500 + 1


And if I try to hold and drag the formula from A1 along the row, the formula will remain the same. But I would like to indicate that the number 1 should is an incremental value (without introducing any new row with data). So the result I'm trying to achieve will look like this:



enter image description here










share|improve this question



























    0














    I need to make a formula that has a number in it which I would like to be auto incremented once I hold and drag the formula along a row.



    For example my formula (simplified) is:



    =500 + 1


    And if I try to hold and drag the formula from A1 along the row, the formula will remain the same. But I would like to indicate that the number 1 should is an incremental value (without introducing any new row with data). So the result I'm trying to achieve will look like this:



    enter image description here










    share|improve this question

























      0












      0








      0







      I need to make a formula that has a number in it which I would like to be auto incremented once I hold and drag the formula along a row.



      For example my formula (simplified) is:



      =500 + 1


      And if I try to hold and drag the formula from A1 along the row, the formula will remain the same. But I would like to indicate that the number 1 should is an incremental value (without introducing any new row with data). So the result I'm trying to achieve will look like this:



      enter image description here










      share|improve this question













      I need to make a formula that has a number in it which I would like to be auto incremented once I hold and drag the formula along a row.



      For example my formula (simplified) is:



      =500 + 1


      And if I try to hold and drag the formula from A1 along the row, the formula will remain the same. But I would like to indicate that the number 1 should is an incremental value (without introducing any new row with data). So the result I'm trying to achieve will look like this:



      enter image description here







      microsoft-excel worksheet-function






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 13 '18 at 14:16









      Mike

      420313




      420313






















          2 Answers
          2






          active

          oldest

          votes


















          2














          Using my version of Excel 2013 (prior and later compatibility will need to be verified), if I input "500" in A1 and I input =A1 + 1 in B1 and then drag across columns, it will not increment the number (1) but the cell reference (A1) and will yield the result you are after I believe:




          Cell A1 Will be "500"
          Cell B1 will be "=A1 + 1"
          Cell C1 will be "=B1 + 1"


          And so on.






          share|improve this answer























          • FYI It should be moving across columns, not rows
            – PeterH
            Dec 13 '18 at 15:52










          • @PeterH It works either ways but I corrected my example to reflect OP's use case, thanks for noting it!
            – Dyno Sires
            Dec 13 '18 at 19:21












          • Cool nice answer +1 !
            – PeterH
            Dec 14 '18 at 8:02



















          2














          Put this in A1:



          =500 + COLUMN(A1)


          And drag across.



          Or put 501 in A1 and in B1 put:



          =A1 + 1


          And drag across



          The relative reference will update as it is drug across adding 1 more to the previous cell.






          share|improve this answer





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            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: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            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
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1383302%2fexcel-auto-incremental-number-in-a-formula%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            Using my version of Excel 2013 (prior and later compatibility will need to be verified), if I input "500" in A1 and I input =A1 + 1 in B1 and then drag across columns, it will not increment the number (1) but the cell reference (A1) and will yield the result you are after I believe:




            Cell A1 Will be "500"
            Cell B1 will be "=A1 + 1"
            Cell C1 will be "=B1 + 1"


            And so on.






            share|improve this answer























            • FYI It should be moving across columns, not rows
              – PeterH
              Dec 13 '18 at 15:52










            • @PeterH It works either ways but I corrected my example to reflect OP's use case, thanks for noting it!
              – Dyno Sires
              Dec 13 '18 at 19:21












            • Cool nice answer +1 !
              – PeterH
              Dec 14 '18 at 8:02
















            2














            Using my version of Excel 2013 (prior and later compatibility will need to be verified), if I input "500" in A1 and I input =A1 + 1 in B1 and then drag across columns, it will not increment the number (1) but the cell reference (A1) and will yield the result you are after I believe:




            Cell A1 Will be "500"
            Cell B1 will be "=A1 + 1"
            Cell C1 will be "=B1 + 1"


            And so on.






            share|improve this answer























            • FYI It should be moving across columns, not rows
              – PeterH
              Dec 13 '18 at 15:52










            • @PeterH It works either ways but I corrected my example to reflect OP's use case, thanks for noting it!
              – Dyno Sires
              Dec 13 '18 at 19:21












            • Cool nice answer +1 !
              – PeterH
              Dec 14 '18 at 8:02














            2












            2








            2






            Using my version of Excel 2013 (prior and later compatibility will need to be verified), if I input "500" in A1 and I input =A1 + 1 in B1 and then drag across columns, it will not increment the number (1) but the cell reference (A1) and will yield the result you are after I believe:




            Cell A1 Will be "500"
            Cell B1 will be "=A1 + 1"
            Cell C1 will be "=B1 + 1"


            And so on.






            share|improve this answer














            Using my version of Excel 2013 (prior and later compatibility will need to be verified), if I input "500" in A1 and I input =A1 + 1 in B1 and then drag across columns, it will not increment the number (1) but the cell reference (A1) and will yield the result you are after I believe:




            Cell A1 Will be "500"
            Cell B1 will be "=A1 + 1"
            Cell C1 will be "=B1 + 1"


            And so on.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Dec 13 '18 at 19:20

























            answered Dec 13 '18 at 14:23









            Dyno Sires

            362




            362












            • FYI It should be moving across columns, not rows
              – PeterH
              Dec 13 '18 at 15:52










            • @PeterH It works either ways but I corrected my example to reflect OP's use case, thanks for noting it!
              – Dyno Sires
              Dec 13 '18 at 19:21












            • Cool nice answer +1 !
              – PeterH
              Dec 14 '18 at 8:02


















            • FYI It should be moving across columns, not rows
              – PeterH
              Dec 13 '18 at 15:52










            • @PeterH It works either ways but I corrected my example to reflect OP's use case, thanks for noting it!
              – Dyno Sires
              Dec 13 '18 at 19:21












            • Cool nice answer +1 !
              – PeterH
              Dec 14 '18 at 8:02
















            FYI It should be moving across columns, not rows
            – PeterH
            Dec 13 '18 at 15:52




            FYI It should be moving across columns, not rows
            – PeterH
            Dec 13 '18 at 15:52












            @PeterH It works either ways but I corrected my example to reflect OP's use case, thanks for noting it!
            – Dyno Sires
            Dec 13 '18 at 19:21






            @PeterH It works either ways but I corrected my example to reflect OP's use case, thanks for noting it!
            – Dyno Sires
            Dec 13 '18 at 19:21














            Cool nice answer +1 !
            – PeterH
            Dec 14 '18 at 8:02




            Cool nice answer +1 !
            – PeterH
            Dec 14 '18 at 8:02













            2














            Put this in A1:



            =500 + COLUMN(A1)


            And drag across.



            Or put 501 in A1 and in B1 put:



            =A1 + 1


            And drag across



            The relative reference will update as it is drug across adding 1 more to the previous cell.






            share|improve this answer


























              2














              Put this in A1:



              =500 + COLUMN(A1)


              And drag across.



              Or put 501 in A1 and in B1 put:



              =A1 + 1


              And drag across



              The relative reference will update as it is drug across adding 1 more to the previous cell.






              share|improve this answer
























                2












                2








                2






                Put this in A1:



                =500 + COLUMN(A1)


                And drag across.



                Or put 501 in A1 and in B1 put:



                =A1 + 1


                And drag across



                The relative reference will update as it is drug across adding 1 more to the previous cell.






                share|improve this answer












                Put this in A1:



                =500 + COLUMN(A1)


                And drag across.



                Or put 501 in A1 and in B1 put:



                =A1 + 1


                And drag across



                The relative reference will update as it is drug across adding 1 more to the previous cell.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 13 '18 at 14:20









                Scott Craner

                11.2k1815




                11.2k1815






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • 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.


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





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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.


                    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%2fsuperuser.com%2fquestions%2f1383302%2fexcel-auto-incremental-number-in-a-formula%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

                    Plaza Victoria

                    In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

                    How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...