Results 1 to 5 of 5

generate static date and serial number when data is entered in any of three cells in row

Threaded View

  1. #1
    Registered User
    Join Date
    03-20-2015
    Location
    Huntsville, AR
    MS-Off Ver
    2013
    Posts
    2

    generate static date and serial number when data is entered in any of three cells in row

    I'm building a spreadsheet template to keep track of lab samples and in-processing analysis data in a waste water treatment facility. I'll be getting potentially 200-300 samples per week, so I need to be able to enter data as quickly as possible. I'd like to be able to enter data in any of columns D, E, or F and have the date and current time generated in A and a serial number generated in B. I would like for the date to be static and formatted as:

    yyyy-mm-dd-hh-mm;@

    The serial number is different for each sheet and follows the format

    XXX-yymmdd-xx

    The first three letters will be the first letter of the company or plant name, city, and state, and the final two numbers will be sequential starting with 01. If these can be generated, it will save me some effort, even if they're simply added as a different prefix for each sheet. Each row will have a different serial number and potentially a different date/time.

    I'm decent with excel formulas and such, but I'm no programmer and I don't have time to learn how to do this myself. I know I can format the date column, but if it can be included in the code that would make it easier to share this template with my colleagues. I'd greatly appreciate a template of the code to do this, which I can then edit as needed with the appropriate letters, formats, etc. I've attached a part of the workbook I've come up with that includes sample data and all required fields.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Generate Serial number based on date
    By Jamesdlm in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-23-2019, 08:33 AM
  2. Auto generate serial number
    By silambarasan.J in forum Excel General
    Replies: 2
    Last Post: 01-31-2015, 12:46 PM
  3. Auto generate serial number
    By silambarasan.J in forum Excel General
    Replies: 3
    Last Post: 01-31-2015, 08:33 AM
  4. code to generate serial number based on number of records
    By winmaxservices1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-05-2015, 03:21 AM
  5. how to generate serial number on a textbox in userform
    By minionrush in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-16-2013, 05:12 AM

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