#VALUE cells not updating formulas











up vote
0
down vote

favorite












I am having an issue.



My formula works and comes up with #VALUE when it has no data ready for it to calculate. However, when data is put in for it to calculate it won't pick it up unless I delete the formula and retype it in. I don't change the formula at all but it suddenly allows for itself to work.



Here is the formula:



=COUNTIFS('Data Input - All Students'!D$37:D$639,"*Writing*",'Data Input - All Students'!N$37:N$594,"PD 1 (i)")



Things I've tried/checked




  • File - Options - Formulas - Workbook Calculations - Automatic


  • Deleting and retyping formula (works.. but document is too big with too many formulas for this to be practical)











share|improve this question
























  • It would help people try to reproduce this and experiment with it if you would give an example of what you're doing that results in the #VALUE error.  Not the entire 2000-character formula, of course; just the part that causes the error.  Please do not respond in comments; edit your question to make it clearer and more complete.
    – Scott
    Nov 22 at 0:20















up vote
0
down vote

favorite












I am having an issue.



My formula works and comes up with #VALUE when it has no data ready for it to calculate. However, when data is put in for it to calculate it won't pick it up unless I delete the formula and retype it in. I don't change the formula at all but it suddenly allows for itself to work.



Here is the formula:



=COUNTIFS('Data Input - All Students'!D$37:D$639,"*Writing*",'Data Input - All Students'!N$37:N$594,"PD 1 (i)")



Things I've tried/checked




  • File - Options - Formulas - Workbook Calculations - Automatic


  • Deleting and retyping formula (works.. but document is too big with too many formulas for this to be practical)











share|improve this question
























  • It would help people try to reproduce this and experiment with it if you would give an example of what you're doing that results in the #VALUE error.  Not the entire 2000-character formula, of course; just the part that causes the error.  Please do not respond in comments; edit your question to make it clearer and more complete.
    – Scott
    Nov 22 at 0:20













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am having an issue.



My formula works and comes up with #VALUE when it has no data ready for it to calculate. However, when data is put in for it to calculate it won't pick it up unless I delete the formula and retype it in. I don't change the formula at all but it suddenly allows for itself to work.



Here is the formula:



=COUNTIFS('Data Input - All Students'!D$37:D$639,"*Writing*",'Data Input - All Students'!N$37:N$594,"PD 1 (i)")



Things I've tried/checked




  • File - Options - Formulas - Workbook Calculations - Automatic


  • Deleting and retyping formula (works.. but document is too big with too many formulas for this to be practical)











share|improve this question















I am having an issue.



My formula works and comes up with #VALUE when it has no data ready for it to calculate. However, when data is put in for it to calculate it won't pick it up unless I delete the formula and retype it in. I don't change the formula at all but it suddenly allows for itself to work.



Here is the formula:



=COUNTIFS('Data Input - All Students'!D$37:D$639,"*Writing*",'Data Input - All Students'!N$37:N$594,"PD 1 (i)")



Things I've tried/checked




  • File - Options - Formulas - Workbook Calculations - Automatic


  • Deleting and retyping formula (works.. but document is too big with too many formulas for this to be practical)








microsoft-excel automatic-update refresh






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 22 at 2:58









Scott

15.5k113789




15.5k113789










asked Nov 21 at 23:53









shannon

31




31












  • It would help people try to reproduce this and experiment with it if you would give an example of what you're doing that results in the #VALUE error.  Not the entire 2000-character formula, of course; just the part that causes the error.  Please do not respond in comments; edit your question to make it clearer and more complete.
    – Scott
    Nov 22 at 0:20


















  • It would help people try to reproduce this and experiment with it if you would give an example of what you're doing that results in the #VALUE error.  Not the entire 2000-character formula, of course; just the part that causes the error.  Please do not respond in comments; edit your question to make it clearer and more complete.
    – Scott
    Nov 22 at 0:20
















It would help people try to reproduce this and experiment with it if you would give an example of what you're doing that results in the #VALUE error.  Not the entire 2000-character formula, of course; just the part that causes the error.  Please do not respond in comments; edit your question to make it clearer and more complete.
– Scott
Nov 22 at 0:20




It would help people try to reproduce this and experiment with it if you would give an example of what you're doing that results in the #VALUE error.  Not the entire 2000-character formula, of course; just the part that causes the error.  Please do not respond in comments; edit your question to make it clearer and more complete.
– Scott
Nov 22 at 0:20










3 Answers
3






active

oldest

votes

















up vote
0
down vote



accepted










The article at support.office.com for the COUNTIFS function states:




Important: Each additional range must have the same number of rows and columns as the criteria_range1 argument. The ranges do not have to be adjacent to each other.<




In your formula critera_range1 is D$37:D$639 while your criteria_range2 is N$37:N$594. Change criteria_range2 to N$37:N$639 and the formula should work.






share|improve this answer





















  • Good job!  I was just a little bit faster.
    – Scott
    Nov 22 at 3:38










  • That fixed it!!! Thank you everyone so much. I did a quick find and replace and it all just automatically worked!! You guys are legends!
    – shannon
    Nov 22 at 23:49


















up vote
0
down vote













You're not telling us the whole story, or at least not accurately. 
COUNTIFS counts the number of cells in criteria_range1
where criteria1 is true,
and where criteria2 is true for the corresponding cell in criteria_range2,
and so on (up to 127 range/criteria pairs). 
In order for the concept "the corresponding cell" to be meaningful / valid,
all the ranges must be the same dimensionality. 
This is stated in the documentation for COUNTIFS:




Important:
Each additional range must have the same number of rows and columns
as the criteria_range1 argument.




here and here.



You are using COUNTIFS on two ranges that are not the same size:





  • D$37:D$639 is 603 rows, and


  • N$37:N$594 is 558 rows.


That formula will never work.



My guess is that you have some other version of that formula,
where the two ranges are the same size, and when you "retype" the formula,
you are actually typing in the correct version.





P.S. I've been staring at this for the past half hour,
and I just noticed that the two ranges start in the same row
and end in different rows. 
So of course they are different numbers of rows long.






share|improve this answer




























    up vote
    -1
    down vote













    I can't help you cure the cause, but would it work and make it more bearable in the short run (until you get a better answer) if you press F9 to "Calculate Now"? If the document is massive I suspect it might be the cause, but there are a lot of things to consider.






    share|improve this answer





















    • F9 doesn't change it unfortunately. So far the only solution is retyping the formula
      – shannon
      Nov 22 at 1:20










    • =COUNTIFS('Data Input - All Students'!D$37:D$639,"Writing",'Data Input - All Students'!N$37:N$594,"PD 1 (i)") This is the formula i'm using
      – shannon
      Nov 22 at 1:21












    • Welcome to StackExchange! I have updated your post with this formula. It may take awhile to see because it has to be peer reviewed. Please edit your post instead of adding information in a comment. When you get a chance, you can review site guidelines on How to Ask to help you get the most from this site.
      – Rey Juna
      Nov 22 at 2:37













    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',
    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%2f1377439%2fvalue-cells-not-updating-formulas%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote



    accepted










    The article at support.office.com for the COUNTIFS function states:




    Important: Each additional range must have the same number of rows and columns as the criteria_range1 argument. The ranges do not have to be adjacent to each other.<




    In your formula critera_range1 is D$37:D$639 while your criteria_range2 is N$37:N$594. Change criteria_range2 to N$37:N$639 and the formula should work.






    share|improve this answer





















    • Good job!  I was just a little bit faster.
      – Scott
      Nov 22 at 3:38










    • That fixed it!!! Thank you everyone so much. I did a quick find and replace and it all just automatically worked!! You guys are legends!
      – shannon
      Nov 22 at 23:49















    up vote
    0
    down vote



    accepted










    The article at support.office.com for the COUNTIFS function states:




    Important: Each additional range must have the same number of rows and columns as the criteria_range1 argument. The ranges do not have to be adjacent to each other.<




    In your formula critera_range1 is D$37:D$639 while your criteria_range2 is N$37:N$594. Change criteria_range2 to N$37:N$639 and the formula should work.






    share|improve this answer





















    • Good job!  I was just a little bit faster.
      – Scott
      Nov 22 at 3:38










    • That fixed it!!! Thank you everyone so much. I did a quick find and replace and it all just automatically worked!! You guys are legends!
      – shannon
      Nov 22 at 23:49













    up vote
    0
    down vote



    accepted







    up vote
    0
    down vote



    accepted






    The article at support.office.com for the COUNTIFS function states:




    Important: Each additional range must have the same number of rows and columns as the criteria_range1 argument. The ranges do not have to be adjacent to each other.<




    In your formula critera_range1 is D$37:D$639 while your criteria_range2 is N$37:N$594. Change criteria_range2 to N$37:N$639 and the formula should work.






    share|improve this answer












    The article at support.office.com for the COUNTIFS function states:




    Important: Each additional range must have the same number of rows and columns as the criteria_range1 argument. The ranges do not have to be adjacent to each other.<




    In your formula critera_range1 is D$37:D$639 while your criteria_range2 is N$37:N$594. Change criteria_range2 to N$37:N$639 and the formula should work.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Nov 22 at 3:35









    Mark Fitzgerald

    246211




    246211












    • Good job!  I was just a little bit faster.
      – Scott
      Nov 22 at 3:38










    • That fixed it!!! Thank you everyone so much. I did a quick find and replace and it all just automatically worked!! You guys are legends!
      – shannon
      Nov 22 at 23:49


















    • Good job!  I was just a little bit faster.
      – Scott
      Nov 22 at 3:38










    • That fixed it!!! Thank you everyone so much. I did a quick find and replace and it all just automatically worked!! You guys are legends!
      – shannon
      Nov 22 at 23:49
















    Good job!  I was just a little bit faster.
    – Scott
    Nov 22 at 3:38




    Good job!  I was just a little bit faster.
    – Scott
    Nov 22 at 3:38












    That fixed it!!! Thank you everyone so much. I did a quick find and replace and it all just automatically worked!! You guys are legends!
    – shannon
    Nov 22 at 23:49




    That fixed it!!! Thank you everyone so much. I did a quick find and replace and it all just automatically worked!! You guys are legends!
    – shannon
    Nov 22 at 23:49












    up vote
    0
    down vote













    You're not telling us the whole story, or at least not accurately. 
    COUNTIFS counts the number of cells in criteria_range1
    where criteria1 is true,
    and where criteria2 is true for the corresponding cell in criteria_range2,
    and so on (up to 127 range/criteria pairs). 
    In order for the concept "the corresponding cell" to be meaningful / valid,
    all the ranges must be the same dimensionality. 
    This is stated in the documentation for COUNTIFS:




    Important:
    Each additional range must have the same number of rows and columns
    as the criteria_range1 argument.




    here and here.



    You are using COUNTIFS on two ranges that are not the same size:





    • D$37:D$639 is 603 rows, and


    • N$37:N$594 is 558 rows.


    That formula will never work.



    My guess is that you have some other version of that formula,
    where the two ranges are the same size, and when you "retype" the formula,
    you are actually typing in the correct version.





    P.S. I've been staring at this for the past half hour,
    and I just noticed that the two ranges start in the same row
    and end in different rows. 
    So of course they are different numbers of rows long.






    share|improve this answer

























      up vote
      0
      down vote













      You're not telling us the whole story, or at least not accurately. 
      COUNTIFS counts the number of cells in criteria_range1
      where criteria1 is true,
      and where criteria2 is true for the corresponding cell in criteria_range2,
      and so on (up to 127 range/criteria pairs). 
      In order for the concept "the corresponding cell" to be meaningful / valid,
      all the ranges must be the same dimensionality. 
      This is stated in the documentation for COUNTIFS:




      Important:
      Each additional range must have the same number of rows and columns
      as the criteria_range1 argument.




      here and here.



      You are using COUNTIFS on two ranges that are not the same size:





      • D$37:D$639 is 603 rows, and


      • N$37:N$594 is 558 rows.


      That formula will never work.



      My guess is that you have some other version of that formula,
      where the two ranges are the same size, and when you "retype" the formula,
      you are actually typing in the correct version.





      P.S. I've been staring at this for the past half hour,
      and I just noticed that the two ranges start in the same row
      and end in different rows. 
      So of course they are different numbers of rows long.






      share|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        You're not telling us the whole story, or at least not accurately. 
        COUNTIFS counts the number of cells in criteria_range1
        where criteria1 is true,
        and where criteria2 is true for the corresponding cell in criteria_range2,
        and so on (up to 127 range/criteria pairs). 
        In order for the concept "the corresponding cell" to be meaningful / valid,
        all the ranges must be the same dimensionality. 
        This is stated in the documentation for COUNTIFS:




        Important:
        Each additional range must have the same number of rows and columns
        as the criteria_range1 argument.




        here and here.



        You are using COUNTIFS on two ranges that are not the same size:





        • D$37:D$639 is 603 rows, and


        • N$37:N$594 is 558 rows.


        That formula will never work.



        My guess is that you have some other version of that formula,
        where the two ranges are the same size, and when you "retype" the formula,
        you are actually typing in the correct version.





        P.S. I've been staring at this for the past half hour,
        and I just noticed that the two ranges start in the same row
        and end in different rows. 
        So of course they are different numbers of rows long.






        share|improve this answer












        You're not telling us the whole story, or at least not accurately. 
        COUNTIFS counts the number of cells in criteria_range1
        where criteria1 is true,
        and where criteria2 is true for the corresponding cell in criteria_range2,
        and so on (up to 127 range/criteria pairs). 
        In order for the concept "the corresponding cell" to be meaningful / valid,
        all the ranges must be the same dimensionality. 
        This is stated in the documentation for COUNTIFS:




        Important:
        Each additional range must have the same number of rows and columns
        as the criteria_range1 argument.




        here and here.



        You are using COUNTIFS on two ranges that are not the same size:





        • D$37:D$639 is 603 rows, and


        • N$37:N$594 is 558 rows.


        That formula will never work.



        My guess is that you have some other version of that formula,
        where the two ranges are the same size, and when you "retype" the formula,
        you are actually typing in the correct version.





        P.S. I've been staring at this for the past half hour,
        and I just noticed that the two ranges start in the same row
        and end in different rows. 
        So of course they are different numbers of rows long.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 22 at 3:30









        Scott

        15.5k113789




        15.5k113789






















            up vote
            -1
            down vote













            I can't help you cure the cause, but would it work and make it more bearable in the short run (until you get a better answer) if you press F9 to "Calculate Now"? If the document is massive I suspect it might be the cause, but there are a lot of things to consider.






            share|improve this answer





















            • F9 doesn't change it unfortunately. So far the only solution is retyping the formula
              – shannon
              Nov 22 at 1:20










            • =COUNTIFS('Data Input - All Students'!D$37:D$639,"Writing",'Data Input - All Students'!N$37:N$594,"PD 1 (i)") This is the formula i'm using
              – shannon
              Nov 22 at 1:21












            • Welcome to StackExchange! I have updated your post with this formula. It may take awhile to see because it has to be peer reviewed. Please edit your post instead of adding information in a comment. When you get a chance, you can review site guidelines on How to Ask to help you get the most from this site.
              – Rey Juna
              Nov 22 at 2:37

















            up vote
            -1
            down vote













            I can't help you cure the cause, but would it work and make it more bearable in the short run (until you get a better answer) if you press F9 to "Calculate Now"? If the document is massive I suspect it might be the cause, but there are a lot of things to consider.






            share|improve this answer





















            • F9 doesn't change it unfortunately. So far the only solution is retyping the formula
              – shannon
              Nov 22 at 1:20










            • =COUNTIFS('Data Input - All Students'!D$37:D$639,"Writing",'Data Input - All Students'!N$37:N$594,"PD 1 (i)") This is the formula i'm using
              – shannon
              Nov 22 at 1:21












            • Welcome to StackExchange! I have updated your post with this formula. It may take awhile to see because it has to be peer reviewed. Please edit your post instead of adding information in a comment. When you get a chance, you can review site guidelines on How to Ask to help you get the most from this site.
              – Rey Juna
              Nov 22 at 2:37















            up vote
            -1
            down vote










            up vote
            -1
            down vote









            I can't help you cure the cause, but would it work and make it more bearable in the short run (until you get a better answer) if you press F9 to "Calculate Now"? If the document is massive I suspect it might be the cause, but there are a lot of things to consider.






            share|improve this answer












            I can't help you cure the cause, but would it work and make it more bearable in the short run (until you get a better answer) if you press F9 to "Calculate Now"? If the document is massive I suspect it might be the cause, but there are a lot of things to consider.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 22 at 0:10









            pateksan

            143




            143












            • F9 doesn't change it unfortunately. So far the only solution is retyping the formula
              – shannon
              Nov 22 at 1:20










            • =COUNTIFS('Data Input - All Students'!D$37:D$639,"Writing",'Data Input - All Students'!N$37:N$594,"PD 1 (i)") This is the formula i'm using
              – shannon
              Nov 22 at 1:21












            • Welcome to StackExchange! I have updated your post with this formula. It may take awhile to see because it has to be peer reviewed. Please edit your post instead of adding information in a comment. When you get a chance, you can review site guidelines on How to Ask to help you get the most from this site.
              – Rey Juna
              Nov 22 at 2:37




















            • F9 doesn't change it unfortunately. So far the only solution is retyping the formula
              – shannon
              Nov 22 at 1:20










            • =COUNTIFS('Data Input - All Students'!D$37:D$639,"Writing",'Data Input - All Students'!N$37:N$594,"PD 1 (i)") This is the formula i'm using
              – shannon
              Nov 22 at 1:21












            • Welcome to StackExchange! I have updated your post with this formula. It may take awhile to see because it has to be peer reviewed. Please edit your post instead of adding information in a comment. When you get a chance, you can review site guidelines on How to Ask to help you get the most from this site.
              – Rey Juna
              Nov 22 at 2:37


















            F9 doesn't change it unfortunately. So far the only solution is retyping the formula
            – shannon
            Nov 22 at 1:20




            F9 doesn't change it unfortunately. So far the only solution is retyping the formula
            – shannon
            Nov 22 at 1:20












            =COUNTIFS('Data Input - All Students'!D$37:D$639,"Writing",'Data Input - All Students'!N$37:N$594,"PD 1 (i)") This is the formula i'm using
            – shannon
            Nov 22 at 1:21






            =COUNTIFS('Data Input - All Students'!D$37:D$639,"Writing",'Data Input - All Students'!N$37:N$594,"PD 1 (i)") This is the formula i'm using
            – shannon
            Nov 22 at 1:21














            Welcome to StackExchange! I have updated your post with this formula. It may take awhile to see because it has to be peer reviewed. Please edit your post instead of adding information in a comment. When you get a chance, you can review site guidelines on How to Ask to help you get the most from this site.
            – Rey Juna
            Nov 22 at 2:37






            Welcome to StackExchange! I have updated your post with this formula. It may take awhile to see because it has to be peer reviewed. Please edit your post instead of adding information in a comment. When you get a chance, you can review site guidelines on How to Ask to help you get the most from this site.
            – Rey Juna
            Nov 22 at 2:37




















            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%2f1377439%2fvalue-cells-not-updating-formulas%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

            QoS: MAC-Priority for clients behind a repeater

            Ивакино (Тотемский район)

            Can't locate Autom4te/ChannelDefs.pm in @INC (when it definitely is there)