+ Reply to Thread
Results 1 to 3 of 3

Copy Paste Formatting??

  1. #1
    Forum Contributor
    Join Date
    09-25-2012
    Location
    Ventura, united States
    MS-Off Ver
    Excel 2010
    Posts
    346

    Copy Paste Formatting??

    I have alot of dates that I need to reformat for uploading to a website (Salesforce). I need to take the date and add the time 5PM. They look like this:

    Please Login or Register  to view this content.
    I need to reformat to this

    Please Login or Register  to view this content.
    I was able to get the first date part by going to custom format and typing YYYY-MM-DD.

    Then I thought I could go into the adjacent cell (say B2) and type =A2 & "T17:00:00PDT"

    But the adjacent cell will reformat the date back into this crappy number
    Please Login or Register  to view this content.
    I need it to read the date as text but I can't format as text or the formula won't work. Is there a way to copy and paste formatting so that a formula will keep the format?

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Copy Paste Formatting??

    41487 = 8/1/2013 You just need to reapply format.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: Copy Paste Formatting??

    =TEXT(A2,"yyyy-mm-dd") & " T17:00:00PDT"
    Try this one

    Or change cel B2 in =A2 with celformaat :
    yyyy-mm-dd " T17:00:00PDT"
    Last edited by popipipo; 08-17-2013 at 01:53 PM.
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

+ 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. Copy/paste formatting
    By BBoydAnchor in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-05-2012, 04:34 PM
  2. copy paste losing formatting
    By Gti182 in forum Excel General
    Replies: 4
    Last Post: 02-14-2011, 05:49 AM
  3. Conditional Formatting Copy & Paste
    By adam2308 in forum Excel General
    Replies: 2
    Last Post: 06-07-2010, 06:03 PM
  4. Copy paste Conditional Formatting
    By Bud Hughes in forum Excel General
    Replies: 3
    Last Post: 10-01-2005, 07:05 PM
  5. [SOLVED] Copy Paste Conditional Formatting
    By Bud Hughes in forum Excel General
    Replies: 6
    Last Post: 10-01-2005, 10:05 AM

Tags for this Thread

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