+ Reply to Thread
Results 1 to 2 of 2

Create Order Reference which resets each day

  1. #1
    Registered User
    Join Date
    10-05-2010
    Location
    North Yorkshire, UK
    MS-Off Ver
    Excel 2007
    Posts
    23

    Create Order Reference which resets each day

    I'm building a order / sales / invoice spreadsheet, which revolves around an 'Order Reference'. This is created by TEXT function combining a date and a number:

    =TEXT(D3,"ddmmyy")&G3

    Where D3 is the date and G3, an integer starting at 1

    For each day, the order ref. should start at 1 and automatically increment for each order added (and logged on a separate sheet) for a particular date. If a new date is entered, the order reference should start at 1 again.

    As all orders are logged on a separate sheet, I need validation to check that the order refererence number is sequential and that no order reference is duplicated.

    Any help on the code would be appreciated.

    Mark

  2. #2
    Forum Contributor
    Join Date
    08-21-2008
    Location
    Hamilton, New Zealand
    MS-Off Ver
    Office 2007
    Posts
    255

    Re: Create Order Reference which resets each day

    It has a lot to do with how the entries are being added to this sheet in question, manually of via a macro.
    a dummy workbook would be helpful.
    have a read of this you may find it helpful if manually entered

+ 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