+ Reply to Thread
Results 1 to 4 of 4

Custom Date in formula

  1. #1
    Forum Contributor
    Join Date
    06-27-2014
    Location
    Margate, FL
    MS-Off Ver
    MS Office 2016
    Posts
    220

    Custom Date in formula

    Hello I need a simple formula fix.

    IN MY CSV TO UPLOAD TAB - I have a column which I have to change the date in every week and I separated it into 3 columns to make it easier.

    Column "T" I will always be TSWK.
    Column "U" is a date that will change every week but I had to format it to a custom look: mm-dd-yyyy.
    Column "V" will always be _SOLAR_HOURLY

    In Column "S", I did a concatenate formula to put them all together like this TSWK08-20-2022_SOLAR_HOURLY

    My formula is: =CONCATENATE(T2,U2,V2)

    The only problem I'm having is that the date is coming up as a serial number 44793 and not the date as I custom set it.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Custom Date in formula

    That is where the TEXT() [https://support.microsoft.com/en-us/...8-93d29371225c ] function comes in handy. Replace the reference to U with TEXT(U...,"mm-dd-yyyy")
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,435

    Re: Custom Date in formula

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

  4. #4
    Forum Contributor
    Join Date
    06-27-2014
    Location
    Margate, FL
    MS-Off Ver
    MS Office 2016
    Posts
    220

    Re: Custom Date in formula

    Thank you Hans. Seemed easy enough.. You're awesome.

+ 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. [SOLVED] Custom Formula / Method to calculate Year End Date form a Date value in cell A1
    By jake1912 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-23-2019, 04:12 AM
  2. Excel 2007 : custom date formula
    By crk140 in forum Excel General
    Replies: 15
    Last Post: 02-09-2010, 12:10 AM
  3. Custom Date formula needed
    By Yogi_Bear_79 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-06-2005, 06:05 AM
  4. [SOLVED] Custom Date formula needed
    By Yogi_Bear_79 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  5. Custom Date formula needed
    By Yogi_Bear_79 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  6. Custom Date formula needed
    By Yogi_Bear_79 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  7. Custom Date formula needed
    By Yogi_Bear_79 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-06-2005, 12:05 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