+ Reply to Thread
Results 1 to 17 of 17

Help continue serial between two Value

  1. #1
    Registered User
    Join Date
    04-07-2019
    Location
    Madagascar
    MS-Off Ver
    2013
    Posts
    43

    Help continue serial between two Value

    Hello everybody,

    I need to help. I have two values a and b, a has a minimum value and b has a maximum value, The value of the between of these two is to be serialized.

    thank you
    Attached Files Attached Files

  2. #2
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,713

    Re: Help continue serial between two Value

    Hi jessica,

    Try below code based on your sample file ...
    Please Login or Register  to view this content.
    If I was able to help, you can thank me by clicking the * Add Reputation under my user name

  3. #3
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,281

    Re: Help continue serial between two Value

    Quote Originally Posted by jessica0007 View Post
    ... a has a minimum value and b has a maximum value ...
    Can the minimum value be zero ?

  4. #4
    Registered User
    Join Date
    04-07-2019
    Location
    Madagascar
    MS-Off Ver
    2013
    Posts
    43

    Re: Help continue serial between two Value

    porucha vevrku,
    No, the minimum value cannot be zero.

  5. #5
    Registered User
    Join Date
    04-07-2019
    Location
    Madagascar
    MS-Off Ver
    2013
    Posts
    43

    Re: Help continue serial between two Value

    nankw83,
    Wow the answer is almost correct, but there is a small problem, serial number 17 does not have the number 24 between A and B.
    Last edited by jessica0007; 11-05-2020 at 09:08 PM.

  6. #6
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,713

    Re: Help continue serial between two Value

    Quote Originally Posted by jessica0007 View Post
    but there is a small problem, serial number 17 does not have the number 24 between A and B.
    I have actually noticed this difference but I though it was a typo from your end. The logic I used is to take the minimum & maximum for all values that fall under each serial number. While this logic works for Sr. # 14 it doesn't work for Sr. # 17 ... Maybe I am missing something that you can explain

  7. #7
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Help continue serial between two Value

    Try
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    04-07-2019
    Location
    Madagascar
    MS-Off Ver
    2013
    Posts
    43

    Re: Help continue serial between two Value

    nankw83,
    You are right, serial number 14 has the same value as 15,14, when I gave 15,16,17,18 it is wrong, I should have corrected this mistake in Excel, accordingly you created the code correctly . .

  9. #9
    Registered User
    Join Date
    04-07-2019
    Location
    Madagascar
    MS-Off Ver
    2013
    Posts
    43

    Re: Help continue serial between two Value

    jindon,

    Thanks for your code

  10. #10
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Help continue serial between two Value

    Quote Originally Posted by jessica0007 View Post
    The value of the between of these two is to be serialized.
    .................

  11. #11
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,713

    Re: Help continue serial between two Value

    Quote Originally Posted by jessica0007 View Post
    I should have corrected this mistake in Excel
    Post back another excel file with the correct expected results & I'll adjust the code accordingly

  12. #12
    Registered User
    Join Date
    04-07-2019
    Location
    Madagascar
    MS-Off Ver
    2013
    Posts
    43

    Re: Help continue serial between two Value

    nankw83,
    Please see the attached file.
    Attached Files Attached Files

  13. #13
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Help continue serial between two Value

    Please Login or Register  to view this content.

  14. #14
    Registered User
    Join Date
    04-07-2019
    Location
    Madagascar
    MS-Off Ver
    2013
    Posts
    43

    Re: Help continue serial between two Value

    jindon,
    Thank you very much this is what I wanted..

  15. #15
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,713

    Re: Help continue serial between two Value

    This is my attempt

    Please Login or Register  to view this content.

  16. #16
    Registered User
    Join Date
    04-07-2019
    Location
    Madagascar
    MS-Off Ver
    2013
    Posts
    43

    Re: Help continue serial between two Value

    nankw83,
    Thank you very much...
    That's perfect........

  17. #17
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,713

    Re: Help continue serial between two Value

    Glad to help & thanks for the added Rep.

+ 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. Insert rows, serial number and sub serial number
    By bavarunbansal in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-10-2020, 11:43 AM
  2. VBA for Sub Serial no on Based to Serial No. for Data
    By santosh226001 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-31-2018, 04:58 AM
  3. [SOLVED] count number in serial and break up serial count
    By gondal in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-28-2016, 08:44 AM
  4. vba to add new row and continue new #
    By adamheon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-21-2013, 03:42 PM
  5. Serial dates in VBA vs Serial dates in Excel
    By tom.hogan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-20-2011, 09:10 AM
  6. Finding a serial number in a list of serial numbers
    By zocoloco in forum Excel General
    Replies: 2
    Last Post: 02-04-2009, 05:20 AM
  7. [SOLVED] Continue
    By Steph in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-31-2006, 01:55 PM

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