+ Reply to Thread
Results 1 to 6 of 6

To Auto Generate Invoice Number (With +1 Increment)

  1. #1
    Registered User
    Join Date
    04-06-2019
    Location
    Indonesia
    MS-Off Ver
    2010
    Posts
    14

    To Auto Generate Invoice Number (With +1 Increment)

    Hi guys, please help.

    Im trying to auto generate my invoice number based on the time of departure and the customer name.

    If the customer made purchases on two different dates, the first date will become Invoice Number 1, and the later date will become Invoice Number 2 and so on.
    There are multiple customers. The increment in the invoice number is specific to each customer. So, there can be multiple invoice number 1. Each customer will have his own invoice number 1.
    There can be multiple purchases from the same customer in a single day, all of which will have the same invoice number if they are on the same date.

    Please see my attachment file.


    Thanks in advance.

    Iwan
    Attached Files Attached Files
    Last edited by iwanradius; 11-01-2023 at 12:09 PM.

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,641

    Re: To Auto Generate Invoice Number (With +1 Increment)

    Hi there,

    Try entering the following formula in Cell E3 and copying it downwards:

    Please Login or Register  to view this content.

    Hope this helps.

    Regards,

    Greg M

  3. #3
    Registered User
    Join Date
    04-06-2019
    Location
    Indonesia
    MS-Off Ver
    2010
    Posts
    14

    Re: To Auto Generate Invoice Number (With +1 Increment)

    Hi Greg, thanks for helping.

    I tried this but its not going to work on my case because I can have multiple entries of the same customer on each date. I want my invoice number to increase based on the dates for each customer.


    Thanks

  4. #4
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,641

    Re: To Auto Generate Invoice Number (With +1 Increment)

    The solution I proposed produces results which correspond exactly to those you requested (WANTED RESULT) in your sample workbook.

    Drip-feeding us with additional requirements regarding dates is inefficient and extremely frustrating.

    Greg M

  5. #5
    Registered User
    Join Date
    04-06-2019
    Location
    Indonesia
    MS-Off Ver
    2010
    Posts
    14

    Re: To Auto Generate Invoice Number (With +1 Increment)

    I'm sorry for that. Its just that the additional requirement regarding the dates parameter is where I'm stuck at.

    Thanks

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,889

    Re: To Auto Generate Invoice Number (With +1 Increment)

    This proposal fills in the blank cells in column B
    1. Select cells B3:B16
    2. Select Find & Select > Go To Special > Blanks
    3. Type = then the up arrow then press the Ctrl and Enter keys
    The formula for the Invoice No. column is: =IF(COUNTIF($D$3:$D3,D3)<=B3,COUNTIF($D$3:$D3,D3),B3)
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Auto invoice generate number with Save as PDF Macro with
    By Tai1001 in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 04-12-2015, 10:23 AM
  2. Auto Invoice Number Generate in Excel
    By iqubalemco in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-09-2014, 02:44 AM
  3. [SOLVED] Auto increment by 1 for an invoice number in Excel 2007
    By cantfigureitout in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-27-2013, 06:17 PM
  4. Auto generate invoice number of each supplier
    By shafiqe in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-27-2013, 12:48 PM
  5. Auto Generate Sequential Invoice Number
    By jneldon in forum Excel General
    Replies: 1
    Last Post: 03-09-2009, 01:17 PM
  6. Auto increment Invoice number on template by 1
    By jrcream in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-31-2008, 03:07 AM
  7. Generate auto increment number from VB form
    By john_t_h in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-06-2005, 06:19 PM

Tags for this Thread

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