Excel: Automatically detect if value is lower or higher












0















I want to have an excel sheet for staff with the following info



Name | Week 1 | Week 2 | Week 3 | Week 4 | Drop?


Info will be like



Mike | 100 | 80 | 90 | 100 | 90 | Yes


I want the last cell to tell me if the cell to the left, is lower than the cell to the left of that. But each week I will add a new week in. So dynamically always need the "drop" column to read the left two cells and tell me if the most recent one has dropped in value???



Is that possible?










share|improve this question





























    0















    I want to have an excel sheet for staff with the following info



    Name | Week 1 | Week 2 | Week 3 | Week 4 | Drop?


    Info will be like



    Mike | 100 | 80 | 90 | 100 | 90 | Yes


    I want the last cell to tell me if the cell to the left, is lower than the cell to the left of that. But each week I will add a new week in. So dynamically always need the "drop" column to read the left two cells and tell me if the most recent one has dropped in value???



    Is that possible?










    share|improve this question



























      0












      0








      0








      I want to have an excel sheet for staff with the following info



      Name | Week 1 | Week 2 | Week 3 | Week 4 | Drop?


      Info will be like



      Mike | 100 | 80 | 90 | 100 | 90 | Yes


      I want the last cell to tell me if the cell to the left, is lower than the cell to the left of that. But each week I will add a new week in. So dynamically always need the "drop" column to read the left two cells and tell me if the most recent one has dropped in value???



      Is that possible?










      share|improve this question
















      I want to have an excel sheet for staff with the following info



      Name | Week 1 | Week 2 | Week 3 | Week 4 | Drop?


      Info will be like



      Mike | 100 | 80 | 90 | 100 | 90 | Yes


      I want the last cell to tell me if the cell to the left, is lower than the cell to the left of that. But each week I will add a new week in. So dynamically always need the "drop" column to read the left two cells and tell me if the most recent one has dropped in value???



      Is that possible?







      microsoft-excel worksheet-function






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 4 at 11:32









      Máté Juhász

      14.3k63351




      14.3k63351










      asked Jan 4 at 11:29









      MikeMike

      31




      31






















          2 Answers
          2






          active

          oldest

          votes


















          0














          @Máté's solution is right. But you could also just copy the drop column to the column right of it, and change the first drop column into your new week. The drop column could have a simple formula as:



          =IF(H14<G14;"Yes";"No")





          share|improve this answer
























          • Thank you very much

            – Mike
            Jan 7 at 15:21



















          0














          You can use OFFSET() to make reference not affected by column inserts:



          =OFFSET(F2,0,-1)<OFFSET(F2,0,-2)



          enter image description here






          share|improve this answer
























          • Thank you very much.

            – Mike
            Jan 7 at 15:21











          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%2f1390478%2fexcel-automatically-detect-if-value-is-lower-or-higher%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









          0














          @Máté's solution is right. But you could also just copy the drop column to the column right of it, and change the first drop column into your new week. The drop column could have a simple formula as:



          =IF(H14<G14;"Yes";"No")





          share|improve this answer
























          • Thank you very much

            – Mike
            Jan 7 at 15:21
















          0














          @Máté's solution is right. But you could also just copy the drop column to the column right of it, and change the first drop column into your new week. The drop column could have a simple formula as:



          =IF(H14<G14;"Yes";"No")





          share|improve this answer
























          • Thank you very much

            – Mike
            Jan 7 at 15:21














          0












          0








          0







          @Máté's solution is right. But you could also just copy the drop column to the column right of it, and change the first drop column into your new week. The drop column could have a simple formula as:



          =IF(H14<G14;"Yes";"No")





          share|improve this answer













          @Máté's solution is right. But you could also just copy the drop column to the column right of it, and change the first drop column into your new week. The drop column could have a simple formula as:



          =IF(H14<G14;"Yes";"No")






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 4 at 13:09









          JoostJoost

          6027




          6027













          • Thank you very much

            – Mike
            Jan 7 at 15:21



















          • Thank you very much

            – Mike
            Jan 7 at 15:21

















          Thank you very much

          – Mike
          Jan 7 at 15:21





          Thank you very much

          – Mike
          Jan 7 at 15:21













          0














          You can use OFFSET() to make reference not affected by column inserts:



          =OFFSET(F2,0,-1)<OFFSET(F2,0,-2)



          enter image description here






          share|improve this answer
























          • Thank you very much.

            – Mike
            Jan 7 at 15:21
















          0














          You can use OFFSET() to make reference not affected by column inserts:



          =OFFSET(F2,0,-1)<OFFSET(F2,0,-2)



          enter image description here






          share|improve this answer
























          • Thank you very much.

            – Mike
            Jan 7 at 15:21














          0












          0








          0







          You can use OFFSET() to make reference not affected by column inserts:



          =OFFSET(F2,0,-1)<OFFSET(F2,0,-2)



          enter image description here






          share|improve this answer













          You can use OFFSET() to make reference not affected by column inserts:



          =OFFSET(F2,0,-1)<OFFSET(F2,0,-2)



          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 4 at 11:36









          Máté JuhászMáté Juhász

          14.3k63351




          14.3k63351













          • Thank you very much.

            – Mike
            Jan 7 at 15:21



















          • Thank you very much.

            – Mike
            Jan 7 at 15:21

















          Thank you very much.

          – Mike
          Jan 7 at 15:21





          Thank you very much.

          – Mike
          Jan 7 at 15:21


















          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1390478%2fexcel-automatically-detect-if-value-is-lower-or-higher%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

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

           ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕