+ Reply to Thread
Results 1 to 6 of 6

Help me-how to auto generate refrence number in excel

  1. #1
    Forum Contributor
    Join Date
    12-30-2014
    Location
    Saudi Arabia
    MS-Off Ver
    2013
    Posts
    127

    Help me-how to auto generate refrence number in excel

    DEAR EXCEL FORUM MEMBERS I NEED HELP HOW TO AUTO GERERATE QUOTATION REFRENCE NUMBER OR P.O REFRENCE NUMBER IN EXCEL (IF IAM MAKING THE P.O FOLLOWING NUMBER 12810 AFTER NEXT DAY OR ONE WEEK IAM GOING TO MAKE OTHER P.O FOR OTHER SUPPLIER NAME BUT I DONT KNOW LAST TIME (Previous)WHAT REFRENCE NUMBER P.O MAKE I DONT KNOW (I WANT LIKE THIS IF I CLIK P.O FORMATE OR QUOTATION FORMATE AUTOMATICALLY GENERATE NUMBER 12811)............THANKS HAPPY NEW YEAR

    SCREEN SHORT IS ATTACHED.......... QUOTATION FILE IS UPLOADED FOLLOWING LINK http://www.filedropper.com/quotation
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by tariqjahangir; 01-14-2015 at 12:43 AM.

  2. #2
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Help me-how to auto generate refrence number in excel

    If you were to enter the Date and Time and only show the date in the Date field, you could use the serial number of that date and time as the Purchase Order # which would be the date and time that you entered in Excel's serial number format.Date and Time Serial number.JPG
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Help me-how to auto generate refrence number in excel

    Hi,

    Assuming you have Excel 2007 or later, (please update your user details so that we may know) then try the attached.

    Clicking the blue button will clear the current invoice and add the next number.

    This is a very basic invoice template and could no doubt be improved by holding details of customers, addresses and perhaps logging every invoice as it is created.
    Attached Files Attached Files
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Contributor
    Join Date
    12-30-2014
    Location
    Saudi Arabia
    MS-Off Ver
    2013
    Posts
    127

    Re: Help me-how to auto generate refrence number in excel

    Thanks Sir, Could You Please Explain Me Step By Step which Formula Your Using For This..........

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Help me-how to auto generate refrence number in excel

    Hi,

    It's using a small amount of VBA code rather than functions. SPecifically

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The first line clears the range called "InvDetails" - basically the variable cells on the invoice sheet
    The second line increments the cell named "NextNo" on sheet 2 by 1
    The third line is necessary since you're using merged cells and the first line clears the Address To cells hence it's necessary to reinstate the words "Address To:"

    As a general principle try and avoid merging cells. They really are more trouble than they're worth and cause problems in many situations too numerous to mention here.

  6. #6
    Forum Contributor
    Join Date
    12-30-2014
    Location
    Saudi Arabia
    MS-Off Ver
    2013
    Posts
    127

    Re: Help me-how to auto generate refrence number in excel

    Quote Originally Posted by Richard Buttrey View Post
    Hi,

    Assuming you have Excel 2007 or later, (please update your user details so that we may know) then try the attached.

    Clicking the blue button will clear the current invoice and add the next number.

    This is a very basic invoice template and could no doubt be improved by holding details of customers, addresses and perhaps logging every invoice as it is created.
    Dear sir, I have noticed that if make the P.O following Date 03.01.2015 and i saved it then two days after when i oppen that P.O the date is showing 05.01.2015 Kindly Help me sir.... which date i make the P.O the same date will display in futures....Thanks

+ 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 Number Generate in Excel
    By iqubalemco in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-09-2014, 02:44 AM
  2. Excel 2007 : Auto Generate Next Number
    By wisedave in forum Excel General
    Replies: 6
    Last Post: 05-11-2011, 10:36 AM
  3. Auto Generate NUmber
    By Mooseman60 in forum Excel General
    Replies: 1
    Last Post: 10-03-2010, 10:52 AM
  4. auto generate number
    By kryt0n in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-23-2010, 07:52 AM
  5. number to auto-generate
    By dsammons3 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-28-2007, 03:48 PM

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