How to find next available date inlineScript for condition based copy cells from one sheet to another sheetHow to autofill dates using arrayforumlaspreadsheet Determining days between two dates when criteria metCan't run filter on query results in google sheetsUse Arrayformula to show two times each cellAutomatically increment a COUNTIF date criterionWhat Google Sheet function can i use to Calculate Cash on Hand?Importrange and Query IssueGoogle Sheets - Number of days since the last date a range of cells

What are the real benefits of using Salesforce DX?

Gladys goes shopping

Where can I find visible/radio telescopic observations of the center of the Milky Way galaxy?

Where's this lookout in Nova Scotia?

Plot and know intersection points of multiple lines/functions

What does this symbol on the box of power supply mean?

Website returning plaintext password

Is it possible to play as a necromancer skeleton?

What to keep in mind when telling an aunt how wrong her actions are, without creating further family conflict?

Which melee weapons have the Two-Handed property, but lack Heavy and Special?

what kind of chord progession is this?

Have 1.5% of all nuclear reactors ever built melted down?

How to patch glass cuts in a bicycle tire?

Is real public IP Address hidden when using a system wide proxy in Windows 10?

Should one buy new hardware after a system compromise?

Caught 2 students cheating together on the final exam that I proctored

Python program to take in two strings and print the larger string

A steel cutting sword?

How strong are Wi-Fi signals?

Construct a word ladder

Make 24 using exactly three 3s

Boss wants me to falsify a report. How should I document this unethical demand?

Popcorn is the only acceptable snack to consume while watching a movie

Sitecore 9.0 works with solr 7.2.1?



How to find next available date inline


Script for condition based copy cells from one sheet to another sheetHow to autofill dates using arrayforumlaspreadsheet Determining days between two dates when criteria metCan't run filter on query results in google sheetsUse Arrayformula to show two times each cellAutomatically increment a COUNTIF date criterionWhat Google Sheet function can i use to Calculate Cash on Hand?Importrange and Query IssueGoogle Sheets - Number of days since the last date a range of cells






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















I have this demo sheet



https://docs.google.com/spreadsheets/d/1iexvfvQVHUc8BooAxpDg8awf6CDpv80b6Z_etBNPc0M/edit?usp=sharing



What I need is an arrayformula is to find inline the next available date from Col "C" and Col "D" dates, and apply colors depending on it



Also, want to have a "Past" in the dates already past



I have in Col F my expected result, cuz is hard to explain exactly what I need



Any help please.










share|improve this question






























    1















    I have this demo sheet



    https://docs.google.com/spreadsheets/d/1iexvfvQVHUc8BooAxpDg8awf6CDpv80b6Z_etBNPc0M/edit?usp=sharing



    What I need is an arrayformula is to find inline the next available date from Col "C" and Col "D" dates, and apply colors depending on it



    Also, want to have a "Past" in the dates already past



    I have in Col F my expected result, cuz is hard to explain exactly what I need



    Any help please.










    share|improve this question


























      1












      1








      1








      I have this demo sheet



      https://docs.google.com/spreadsheets/d/1iexvfvQVHUc8BooAxpDg8awf6CDpv80b6Z_etBNPc0M/edit?usp=sharing



      What I need is an arrayformula is to find inline the next available date from Col "C" and Col "D" dates, and apply colors depending on it



      Also, want to have a "Past" in the dates already past



      I have in Col F my expected result, cuz is hard to explain exactly what I need



      Any help please.










      share|improve this question
















      I have this demo sheet



      https://docs.google.com/spreadsheets/d/1iexvfvQVHUc8BooAxpDg8awf6CDpv80b6Z_etBNPc0M/edit?usp=sharing



      What I need is an arrayformula is to find inline the next available date from Col "C" and Col "D" dates, and apply colors depending on it



      Also, want to have a "Past" in the dates already past



      I have in Col F my expected result, cuz is hard to explain exactly what I need



      Any help please.







      google-sheets google-sheets-formula






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 24 at 4:20









      player0

      10.8k41335




      10.8k41335










      asked Mar 24 at 4:02









      SATH59SATH59

      579




      579






















          1 Answer
          1






          active

          oldest

          votes


















          0














          =ARRAYFORMULA(QUERY(IFERROR(QUERY(IF(LEN(C2:C), 
          IF((C2:C<TODAY())*(D2:D<TODAY()), "Past",
          IF((C2:C<TODAY())*(D2:D>TODAY()), "On Going now", )), ),
          "where Col1='Past' or Col1='On Going now'"),"");
          QUERY(IF(LEN(C2:C),
          IF((C2:C>TODAY())*(D2:D>TODAY()), "Next Available", ), ),
          "where Col1='Next Available' limit 1"),
          "where Col1 is not null"))


          0






          share|improve this answer

























          • Hi, thank you, it works great, but I have added a line where the dates are occurring now, how can I add "on going now" ?

            – SATH59
            Mar 24 at 4:37











          • and if there is no past dates, it seems is not working, thanks for your help

            – SATH59
            Mar 24 at 4:40











          • Thanks, is working, the only problem is when there are not past dates I'm getting N/A

            – SATH59
            Mar 24 at 5:09











          • @SATH59 fixed... answer updated

            – player0
            Mar 24 at 10:48











          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          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%2fstackoverflow.com%2fquestions%2f55320621%2fhow-to-find-next-available-date-inline%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          =ARRAYFORMULA(QUERY(IFERROR(QUERY(IF(LEN(C2:C), 
          IF((C2:C<TODAY())*(D2:D<TODAY()), "Past",
          IF((C2:C<TODAY())*(D2:D>TODAY()), "On Going now", )), ),
          "where Col1='Past' or Col1='On Going now'"),"");
          QUERY(IF(LEN(C2:C),
          IF((C2:C>TODAY())*(D2:D>TODAY()), "Next Available", ), ),
          "where Col1='Next Available' limit 1"),
          "where Col1 is not null"))


          0






          share|improve this answer

























          • Hi, thank you, it works great, but I have added a line where the dates are occurring now, how can I add "on going now" ?

            – SATH59
            Mar 24 at 4:37











          • and if there is no past dates, it seems is not working, thanks for your help

            – SATH59
            Mar 24 at 4:40











          • Thanks, is working, the only problem is when there are not past dates I'm getting N/A

            – SATH59
            Mar 24 at 5:09











          • @SATH59 fixed... answer updated

            – player0
            Mar 24 at 10:48















          0














          =ARRAYFORMULA(QUERY(IFERROR(QUERY(IF(LEN(C2:C), 
          IF((C2:C<TODAY())*(D2:D<TODAY()), "Past",
          IF((C2:C<TODAY())*(D2:D>TODAY()), "On Going now", )), ),
          "where Col1='Past' or Col1='On Going now'"),"");
          QUERY(IF(LEN(C2:C),
          IF((C2:C>TODAY())*(D2:D>TODAY()), "Next Available", ), ),
          "where Col1='Next Available' limit 1"),
          "where Col1 is not null"))


          0






          share|improve this answer

























          • Hi, thank you, it works great, but I have added a line where the dates are occurring now, how can I add "on going now" ?

            – SATH59
            Mar 24 at 4:37











          • and if there is no past dates, it seems is not working, thanks for your help

            – SATH59
            Mar 24 at 4:40











          • Thanks, is working, the only problem is when there are not past dates I'm getting N/A

            – SATH59
            Mar 24 at 5:09











          • @SATH59 fixed... answer updated

            – player0
            Mar 24 at 10:48













          0












          0








          0







          =ARRAYFORMULA(QUERY(IFERROR(QUERY(IF(LEN(C2:C), 
          IF((C2:C<TODAY())*(D2:D<TODAY()), "Past",
          IF((C2:C<TODAY())*(D2:D>TODAY()), "On Going now", )), ),
          "where Col1='Past' or Col1='On Going now'"),"");
          QUERY(IF(LEN(C2:C),
          IF((C2:C>TODAY())*(D2:D>TODAY()), "Next Available", ), ),
          "where Col1='Next Available' limit 1"),
          "where Col1 is not null"))


          0






          share|improve this answer















          =ARRAYFORMULA(QUERY(IFERROR(QUERY(IF(LEN(C2:C), 
          IF((C2:C<TODAY())*(D2:D<TODAY()), "Past",
          IF((C2:C<TODAY())*(D2:D>TODAY()), "On Going now", )), ),
          "where Col1='Past' or Col1='On Going now'"),"");
          QUERY(IF(LEN(C2:C),
          IF((C2:C>TODAY())*(D2:D>TODAY()), "Next Available", ), ),
          "where Col1='Next Available' limit 1"),
          "where Col1 is not null"))


          0







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 24 at 10:48

























          answered Mar 24 at 4:18









          player0player0

          10.8k41335




          10.8k41335












          • Hi, thank you, it works great, but I have added a line where the dates are occurring now, how can I add "on going now" ?

            – SATH59
            Mar 24 at 4:37











          • and if there is no past dates, it seems is not working, thanks for your help

            – SATH59
            Mar 24 at 4:40











          • Thanks, is working, the only problem is when there are not past dates I'm getting N/A

            – SATH59
            Mar 24 at 5:09











          • @SATH59 fixed... answer updated

            – player0
            Mar 24 at 10:48

















          • Hi, thank you, it works great, but I have added a line where the dates are occurring now, how can I add "on going now" ?

            – SATH59
            Mar 24 at 4:37











          • and if there is no past dates, it seems is not working, thanks for your help

            – SATH59
            Mar 24 at 4:40











          • Thanks, is working, the only problem is when there are not past dates I'm getting N/A

            – SATH59
            Mar 24 at 5:09











          • @SATH59 fixed... answer updated

            – player0
            Mar 24 at 10:48
















          Hi, thank you, it works great, but I have added a line where the dates are occurring now, how can I add "on going now" ?

          – SATH59
          Mar 24 at 4:37





          Hi, thank you, it works great, but I have added a line where the dates are occurring now, how can I add "on going now" ?

          – SATH59
          Mar 24 at 4:37













          and if there is no past dates, it seems is not working, thanks for your help

          – SATH59
          Mar 24 at 4:40





          and if there is no past dates, it seems is not working, thanks for your help

          – SATH59
          Mar 24 at 4:40













          Thanks, is working, the only problem is when there are not past dates I'm getting N/A

          – SATH59
          Mar 24 at 5:09





          Thanks, is working, the only problem is when there are not past dates I'm getting N/A

          – SATH59
          Mar 24 at 5:09













          @SATH59 fixed... answer updated

          – player0
          Mar 24 at 10:48





          @SATH59 fixed... answer updated

          – player0
          Mar 24 at 10:48



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • 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%2fstackoverflow.com%2fquestions%2f55320621%2fhow-to-find-next-available-date-inline%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

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현