+ Reply to Thread
Results 1 to 8 of 8

Need help generating an autonumber

  1. #1
    Forum Contributor
    Join Date
    06-30-2008
    Location
    PSL, FL
    Posts
    271

    Need help generating an autonumber

    I got a large Worksheet for my Police Departments Ticket Book Logs.

    I have one sheet that lists all tickets ever issued
    I then have a second sheet that list all possible tickets

    I now am creating a log when I issue new ticket books.

    On this table I got the following fields

    Ticket Book #
    Date Issued
    Ticket From #
    Ticket End #
    Officer Issued
    Supervisor who issued book

    I am fine with hand entering all the data except the Ticket Book # info.

    what I need here is the following. I need the Ticket Book # to be one (1) greater than the max number listed in the All Tickets Sheet?

    Is there a way to do this?

    I want it to be like an autonumber.

    Thanks

    Matt

  2. #2
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Need help generating an autonumber

    Hi typy in cell B1 formula =row()-1 and drag this down. Is it what You need?
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  3. #3
    Forum Contributor
    Join Date
    06-30-2008
    Location
    PSL, FL
    Posts
    271

    Re: Need help generating an autonumber

    Kinda I need it to search (Table2[Ticket Book#]) and to give the next ticket book the next number

    For example I think the last ticket book in (Table2[Ticket Book#]) is 1663. So I want the next ticket book to be 1664

  4. #4
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Need help generating an autonumber

    Could You send small example workbook?

  5. #5
    Forum Contributor
    Join Date
    06-30-2008
    Location
    PSL, FL
    Posts
    271

    Re: Need help generating an autonumber

    ok I got an older copy that should show you.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    06-30-2008
    Location
    PSL, FL
    Posts
    271

    Re: Need help generating an autonumber

    I am trying to create sheet at the end where I can enter in new books and it takes the next highest book number from All Tickets Sheet

  7. #7
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Need help generating an autonumber

    Look into attachment. Drag this table down by right bottom corner and tell me is it ok. If not send it agian with expected results.
    Attached Files Attached Files

  8. #8
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Need help generating an autonumber

    I think you will find that using a formula will not allow for sorting.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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