Forum Discussion

AdamDesrosiers's avatar
AdamDesrosiers
Copper Contributor
Mar 07, 2022

Formula Help, auto fill finite amount of cells based on a quantity and in between specific range

 Hello all,

 

I am trying to auto fill an excel sheet within a specific range of serial numbers based on a fixed quantity. 

For example, If I have serial number range 2000 to 2100 I want to auto populate cells below between that range based on quantity of 100. So, when I enter 100 for the quantity I want the cells to auto populate between serial number range. 

 

Thanks in advance

 

see below my excel sheet: 

 

 

 

6 Replies

  • Riny_van_Eekelen's avatar
    Riny_van_Eekelen
    Platinum Contributor

    AdamDesrosiers If you have Excel for MS365 or 2021, you could use SEQUENCE to create the type of serial number table you describe. For instance,

     

    =TRANSPOSE(SEQUENCE(10,100,2000,1))

     

    will create a matrix, 10 columns wide, 100 rows long, starting at 2000. Starting at 2000, going down to 2099 and then starting again in the next column start at 2100 and so on. Adapt the number of columns to your needs.

     

    • AdamDesrosiers's avatar
      AdamDesrosiers
      Copper Contributor

      Riny_van_Eekelen 

      Unfortunately, our workplace only has MS excel 2013, so we can't use that function. 

      What I really need is for the person to just input a number in the quantity cell and populates the cells based on the quantity and in between the serial number range. 

      Hope that makes sense. 

  • JKPieterse's avatar
    JKPieterse
    Silver Contributor
    I'm not sure I understand your question, can you please state it in different words?
    NB: from 2000 to 2100 is 101 items, not 100.
    • AdamDesrosiers's avatar
      AdamDesrosiers
      Copper Contributor

      JKPieterse Hello Jan, 

       

      I am trying to auto populate cells based on a range of numbers when you just input a number for the quantity. Does that help? 

      Yes, correct 101 not 100.

Resources