+ Reply to Thread
Results 1 to 2 of 2

invoice number increments

  1. #1
    Registered User
    Join Date
    01-30-2010
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    1

    invoice number increments

    I have set up an invoice in excel , each time I load the date changes using =TODAY()
    how do I get the invoice number to change as well , so that each time I access the document the invoice number increases by 1

    Spriguns

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: invoice number increments

    Many ways, most involving cumbersome VBA of some kind.

    The only way I've ever had success is to use a separate sheet to keep a LOG of the invoices I've created prior. If the log workbook had invoice numbers in column A, then you could use a standard worksheet formula like this to see the highest number used so far...and add 1 to that value:

    =MAX('[Sample-1.xls]Sheet1'!$D:$D) + 1

    When you complete each invoice, you just need to:

    1) Save the invoice and convert the cell to a flat value so it doesn't change.
    2) Record it in your LOG, too, so the next invoice template you open has the next number up
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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