+ Reply to Thread
Results 1 to 4 of 4

Add serial numbers according data entry

  1. #1
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,095

    Add serial numbers according data entry

    Hello
    i want to add automatically numbers( 1 to 55 ) in column A9:A10000, when i add entry from B9:B10000

    e,g
    i m adding data in Range(B9:B10000), add auto number from 1 to 55, when i reach B65 then start number from start 1 to 55 again

    thanx
    Last edited by HaroonSid; 04-28-2014 at 12:48 AM.

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,565

    Re: Add serial numbers according data entry

    Hi haroon2015,

    Do you really need a macro? You could put the following formula in cell A10...

    =IF(ROW()=10,1,IF(OFFSET(A10,-1,0)=55,1,OFFSET(A10,-1,0)+1))

    ...and fill down as required.

    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  3. #3
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,095

    Re: Add serial numbers according data entry

    hello Trebor76
    works perfect thanx lot

    will add u reputation

  4. #4
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,565

    Re: Add serial numbers according data entry

    Thanks for the feedback and marking the thread as solved (and of course for adding to my reputation )

+ 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. how to put serial numbers to data rows
    By sumesh56 in forum Excel General
    Replies: 3
    Last Post: 04-13-2012, 07:34 PM
  2. Assign serial number for entry
    By ebin charles in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-11-2010, 06:07 AM
  3. Validating mixed data fields (serial numbers)
    By gavsev in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-17-2009, 08:45 AM
  4. 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
  5. [SOLVED] to find missing serial numbers in randomly generated numbers
    By B.H. Hadi in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-01-2005, 07:00 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