How to generate a Serial number or Sequence number in Google Sheets Part 2 - Leading Zeros

Поделиться
HTML-код
  • Опубликовано: 17 окт 2024

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

  • @pauls.769
    @pauls.769 23 дня назад +1

    Do you have another video that explains how to have several different numbers in a single cell, and I only want some to increase while others are supposed to stay the same..? Sheets basically only increases the last number, automatically, and keeps anything before that same - no matter how many or what formats.

    • @practicalsheets
      @practicalsheets  15 дней назад

      Have you tried using advanced formats?
      Kind Regards

  • @cric8482
    @cric8482 2 года назад +8

    There is an easyer solution for the zero problem in column C : arrayformula(IF(A2:A="","","REF"&rept("0",5-LEN(A2:A))&A2:A)). Just repeat "0" 5 time minus length of a2:a

    • @practicalsheets
      @practicalsheets  2 года назад

      Very nice solution!
      Thank you for sharing!
      It is simpler. and more elegant!
      Regards!

  • @abdullahquhtani4247
    @abdullahquhtani4247 2 года назад +1

    Great 👍🏼.
    The question is:
    Can we used this unique serial member as a key to update row data from another sheet ?!
    To clarify this. If I have filtered data in another sheet and want to edit value of a row in the master data.
    Is that possible 🤔🧐?

    • @practicalsheets
      @practicalsheets  2 года назад

      Hello!
      I think that the best solution will always be with GAS, pasting the new consecutive as a value. This works fine, but when you reorder, it will change the data.
      If you´d like we can do a video on this
      Regards!

  • @AllanFaddes
    @AllanFaddes 6 месяцев назад +1

    Hey, great video but I am struggling with something a little more advanced. I am using one sheet for case management and I have different workstreams on the sheet, post, email, phone, in person etc. I have a drop down to select which but I only want to generate a reference number for phone. Is this possible?

    • @practicalsheets
      @practicalsheets  6 месяцев назад

      Hi!
      I don´t think I fully understand how do you want to do it
      Kind Regards

    • @AllanFaddes
      @AllanFaddes 6 месяцев назад +1

      @@practicalsheets In colum 'A' I have dropdowns. In Column B is for reference numbers. However, I want to manually input the reference numbers in all but 1 of the dropdown options. So if I chose 'Phone' from column 'A' I would like column B to auto populate a unique reference number

    • @practicalsheets
      @practicalsheets  6 месяцев назад

      @@AllanFaddes Then you could use the code in this video:
      ruclips.net/video/Wb8aMIL0Idw/видео.html
      But in the conditions you would add a condition value=="Phone" so that it only works when you write phone

  • @vojislavkostic3478
    @vojislavkostic3478 6 месяцев назад +1

    Hello, I have a problem. Error #REF! How can I solve an iterative calculation?

    • @practicalsheets
      @practicalsheets  6 месяцев назад +1

      Go to File>Settings>Calculation
      Regards!

  • @adnanibraheemghazy6092
    @adnanibraheemghazy6092 Год назад

    Actually I tried this formula but didn't work for me.
    Gives me (3 arguements instead of 1 arguement) error

  • @lmvd1234
    @lmvd1234 6 месяцев назад +1

    THANKS SO MUCH !

  • @No_one_wp
    @No_one_wp Год назад +1

    I wanna add ti this if c2:c = Grade 6 it show G6 like this how to add thi

    • @practicalsheets
      @practicalsheets  Год назад

      It is not easy with this example. I try to do it in another video but it is very complicated
      Maybe with the new function such as LAMBDA it will be easier
      Regards!

  • @Mohammedbasim
    @Mohammedbasim Год назад

    There is an easier solution. CONCATENATE("REF", REPT("0", 6-LEN(ROW()-2)), ROW()-2) . Here I have given ROW()-2 because my data starts at row 3.