+ Reply to Thread
Results 1 to 4 of 4

Automatic numbering till a threshold is met and then start with the following number.

  1. #1
    Registered User
    Join Date
    03-02-2021
    Location
    Heerlen, Netherlands
    MS-Off Ver
    2016
    Posts
    2

    Automatic numbering till a threshold is met and then start with the following number.

    Hello everybody,

    I'm breaking my head over this problem for a couple of days now.
    Maybe somebody knows how to get to the desired point.

    I've got an excel file with in Column X weights of parcels.
    I need to generate the same number in Column A untill the threshold of 1100 Kg is met.

    So for example;
    Excel needs the generate number "1" from row 2 till 28 because then 1100 kg is reached.
    After that it needs to do the same with the others parcels only with number "2", "3" etc.

    I've allready added a macro with automatic sorting. So the parcels are already in the right place.

    Hopefully somebody is able to help me with this problem.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Automatic numbering till a threshold is met and then start with the following number.

    Code I have written not working as expected. Will continue to try.
    Last edited by maniacb; 03-02-2021 at 01:25 PM. Reason: further test show not working yet

  3. #3
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Automatic numbering till a threshold is met and then start with the following number.

    Try

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    03-02-2021
    Location
    Heerlen, Netherlands
    MS-Off Ver
    2016
    Posts
    2

    Re: Automatic numbering till a threshold is met and then start with the following number.

    Thank you!
    It seems to do something, but i'll have a look tomorrow morning.
    As far as my knowledge goes for macro's.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 11
    Last Post: 08-05-2020, 10:17 AM
  2. Replies: 1
    Last Post: 11-30-2016, 08:02 PM
  3. Replies: 1
    Last Post: 03-12-2015, 01:51 AM
  4. [SOLVED] Need help to Make group col values till another value start with date col B:B value vba
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-20-2014, 03:15 AM
  5. How to add sequential numbering down a column until the next number 1 and start over
    By diaphanous1138 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-13-2014, 04:52 PM
  6. Replies: 4
    Last Post: 10-14-2012, 12:25 PM
  7. Automatic numbering based on last number
    By Makafi in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-17-2009, 03:33 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1