+ Reply to Thread
Results 1 to 5 of 5

auto generate number

  1. #1
    Forum Contributor
    Join Date
    04-08-2009
    Location
    Bristol, UK
    MS-Off Ver
    Excel 2003
    Posts
    228

    Cool auto generate number

    Morning again all.

    Now I have the issue of adding additional rows to a sheet without overwriting existing ones sorted I have another question which relates to submitting additional rows.

    I would like the form to generate a unique reference, preferably in the form of ascending numbers. It would need to check the column to make sure no similar number exists and then add in the next number.

    please see .xls
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    04-08-2009
    Location
    Bristol, UK
    MS-Off Ver
    Excel 2003
    Posts
    228

    Re: auto generate number

    Previous issue found here http://www.excelforum.com/excel-prog...-new-rows.html

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: auto generate number

    Not sure what you are really after,
    but try this in A5, it might be one way.

    =MAX($A$2:A4)+1

    Drag/Fill Down as required.

    Hope this helps.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  4. #4
    Forum Contributor
    Join Date
    04-08-2009
    Location
    Bristol, UK
    MS-Off Ver
    Excel 2003
    Posts
    228

    Re: auto generate number

    Thanks for that but it's not quite what I'm after.

    It's essentially when someone submits a new row an independant reference is automatically generated for it.

  5. #5
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: auto generate number

    Just do the max in code:
    Please Login or Register  to view this content.
    Remember what the dormouse said
    Feed your head

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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