Excel Challenge - Create sequential numbers with a twist (SCAN)

Поделиться
HTML-код
  • Опубликовано: 16 июл 2024
  • In this video, we show a method to create a sequence of numbers where the sequence has to be paused when it encounters a non-blank entry and continues afterwards. The trick, for me, lies in the SCAN Function
    Workbook link:
    docs.google.com/spreadsheets/...
    00:00 Introduction
    00:28 Problem description
    00:51 My thought process
    02:06 Why a SCAN function may work
    02:32 SCAN function example
    04:35 SCAN Solution starts
    09:18 Solution 2 using SCAN
    11:20 Closing thoughts

Комментарии • 35

  • @IvanCortinas_ES
    @IvanCortinas_ES 8 месяцев назад +3

    A continuous source of learning. Excellent logic. Thank you Victor!!!

    • @ExcelMoments
      @ExcelMoments  8 месяцев назад

      Thanks Ivan. We keep learning

  • @markpodesta4605
    @markpodesta4605 8 месяцев назад +1

    More Excel magic from you Victor! 👍

    • @ExcelMoments
      @ExcelMoments  8 месяцев назад +1

      Thanks Mark. Just doing my bit for the Excel community

  • @waitplanwp4129
    @waitplanwp4129 8 месяцев назад +1

    Victor, you are a magician, you are constantly only increasing your level. Just a pleasure, wow!

    • @ExcelMoments
      @ExcelMoments  8 месяцев назад

      I do Excel, not Magic 😁😁 Thanks for your feedback. Much appreciated

  • @abdanomer
    @abdanomer 8 месяцев назад +1

    Thank you for the simple presentation.
    I hope to see more Reduce next time!

    • @ExcelMoments
      @ExcelMoments  8 месяцев назад

      You are welcome. i have used the REDUCE in some of the previous solutions demonstrated on the channel

  • @qasimawan3569
    @qasimawan3569 8 месяцев назад +1

    I learn so many interesting techniques to solve problems from your channel. Thanks for sharing Victor!

    • @ExcelMoments
      @ExcelMoments  8 месяцев назад

      You are welcome. Glad to know it is helping your Excel journey

  • @willm7994
    @willm7994 8 месяцев назад +3

    Victor you never fail to amaze me , I am getting better by watching your content thank you 🙌🏿

    • @ExcelMoments
      @ExcelMoments  8 месяцев назад

      Thank you so much for the feedback, i really do appreciate it

  • @ivanmamchych5802
    @ivanmamchych5802 8 месяцев назад +1

    Very neat and logical solution.
    Thank you, Victor.

    • @ExcelMoments
      @ExcelMoments  8 месяцев назад +1

      Thank you very much. I appreciate the kind words/feedback

  • @jazzista1967
    @jazzista1967 8 месяцев назад +1

    Victor... what a challenge ....and the best part is your elegant solution using scan and spilling a 2D array.... Keep these challenges coming. Thank you for posting this amazing challenge!

    • @ExcelMoments
      @ExcelMoments  8 месяцев назад

      Thanks Luis for your comments always. Very much appreciated . The lambda helper functions have no issues spilling a 2D array if the input is a 2D array, the challenge is going from a 1D to a 2D array (Makearray and Reduce will rescue you though)

    • @jazzista1967
      @jazzista1967 8 месяцев назад +1

      HI Victor... i just replicated your challenge with SCAN.... it worked like a charm.... beautifully. ! No... my only challenge for me is why a+(b="") equals to 1

    • @ExcelMoments
      @ExcelMoments  8 месяцев назад

      @@jazzista1967 a is the total at any point, while b is the value being iterated, b is either blank or not blank, so if you do b="", at the point that b is blank, the result is TRUE, whereas it is FALSE for b not being blank. the implication is that a+(b="") would be a+TRUE(when b is blank) which would mean increasing a's value by 1 or a+FALSE(which means a remains the same, when b is not blank), as TRUE/FALSE are 1/0 in this case. Does this help?

    • @jazzista1967
      @jazzista1967 8 месяцев назад +1

      YESSSSSSSSSSS... I got it now..... Thanks for explaining so cristal clear!

    • @ExcelMoments
      @ExcelMoments  8 месяцев назад

      Great, Glad to help @@jazzista1967

  • @stevereed5776
    @stevereed5776 8 месяцев назад +1

    Thank you Victor. Another great video and solution to what I thought was a real problem. It's just knowing that you can select the whole grid and use it with the SCAN function. Brilliant!

    • @ExcelMoments
      @ExcelMoments  8 месяцев назад +1

      Yea Steve, i remember you pointed this out as one of the challenges you would love I review. It does not appear to be hardest, right, once you are familiar with the SCAN function

    • @stevereed5776
      @stevereed5776 8 месяцев назад +1

      @@ExcelMoments Yes, you made it look very simple

    • @ExcelMoments
      @ExcelMoments  8 месяцев назад +1

      @@stevereed5776 Maybe it actually is!! 😀 but not at first look

  • @Leon-tw3nt
    @Leon-tw3nt 8 месяцев назад +1

    Дядя Витя, это было превосходно!

  • @Bhavik_Khatri
    @Bhavik_Khatri 8 месяцев назад +1

    Wow, bloody awesome

    • @ExcelMoments
      @ExcelMoments  8 месяцев назад

      Thanks for your comments!! Much appreciated

  • @sunnybaggu785
    @sunnybaggu785 8 месяцев назад +1

    Thank you for making us learn from your content.
    Its really helpful for excel enthusiast. Best wishes sir!

    • @ExcelMoments
      @ExcelMoments  8 месяцев назад

      Thanks Sunny. We are waiting for your Excel channel too as you are up to very great stuff

    • @sunnybaggu785
      @sunnybaggu785 8 месяцев назад

      thanks for the kind and encouraging words sir@@ExcelMoments ...inspired by your work🙏

  • @TopBam
    @TopBam 8 месяцев назад +1

    Genious!

    • @ExcelMoments
      @ExcelMoments  8 месяцев назад +1

      Far from it 😁😁 I just try to share my "little" with the world

  • @crispexcel
    @crispexcel 8 месяцев назад +1

    🤯🤯🤯🤯

    • @ExcelMoments
      @ExcelMoments  8 месяцев назад

      Let me look for an Excel course on Emoiis. i am struggling to decipher this one. 😁😁😁😁