Results 1 to 8 of 8

Auto change date formats

Threaded View

  1. #1
    Registered User
    Join Date
    02-01-2016
    Location
    Manchester, England
    MS-Off Ver
    2010
    Posts
    3

    Auto change date formats

    Hi all, I have a stock file that I want to change the format of the date based on a reference. I have a database on one tab with the stock codes and number of other related references and a second tab with a form.

    The form is created by looking up the stock code and pulling through relevant information (mainly using INDEX, MATCH). It has a field to calculate the best before date by taking today's date (on the form) + the number of shelf life days (entered into a specific field) +90, +120 etc.

    However, I want it to then format it based on a chosen format for that stock code.

    Date code formats notes


    1. DD/MM/YY
    2. DD/MM/YYYY
    3. DD.MMM
    4. DD/MMM/YY
    5. DD/MMM/YYYY
    6. MM/DD/YY
    7. MM/DD/YYYY
    8. YY/MM/DD Month is: JA,FE, MR, AL, MA, JN, JL, AU, SE, OC, NO, DE
    9. ddd Julian code (day of the year)


    Is there away that I can give each stock code on the other tab a specific format? So that it calculates the best before date and changes the format to the specific format required?

    Many thanks
    Ben
    Last edited by Bernerd Ern; 02-02-2016 at 06:41 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Change all date formats in a column at once?
    By jahagafut in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-13-2015, 11:52 AM
  2. VBA:comboboxes to present same date in different formats...ADAPT WITH CHANGE IN DATE
    By AlexDobbin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-13-2015, 08:30 PM
  3. Date Formats Change inexplicably
    By yankiwibill in forum Excel General
    Replies: 0
    Last Post: 11-26-2014, 09:57 AM
  4. [SOLVED] User Form Tect Box Auto-Formats Text to Date
    By jewelsharma in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-09-2014, 08:42 PM
  5. Change date formats using a macro 01.23.11
    By SAP_hostage in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-31-2011, 04:17 PM
  6. How to change multiple date formats in same column
    By muchado in forum Excel General
    Replies: 6
    Last Post: 11-10-2010, 01:37 AM
  7. [SOLVED] How to Change Date Formats
    By Jessica in forum Excel General
    Replies: 2
    Last Post: 11-01-2005, 04:09 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