+ Reply to Thread
Results 1 to 7 of 7

Copy and Paste dates then chnage the format to show the month

  1. #1
    Registered User
    Join Date
    12-17-2012
    Location
    sussex, england
    MS-Off Ver
    Excel 2010
    Posts
    3

    Copy and Paste dates then chnage the format to show the month

    Hi,

    I have a spreadsheet which I have been spending time on each month inserting rows and formatting and I am trying to automate as much of that porcess and possible, I have already created a macro to insert and rename the columns I need. What I now need is to populate the 'month' column, I have a columns with the date and time of the activity and what I want to do is show the month of this date in my new column. I tried copy pasting and formating the cells but the date is still there behind the month text which cause problems when I try and use the data in pivot tables.


    hope that makes some kind of sense!

    Any suggestions would be great

  2. #2
    Valued Forum Contributor
    Join Date
    08-10-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    721

    Re: Copy and Paste dates then chnage the format to show the month

    sample please!

  3. #3
    Registered User
    Join Date
    12-17-2012
    Location
    sussex, england
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Copy and Paste dates then chnage the format to show the month

    hope the attached works, I've just cut a section of the sheet regarding the date month issue as there is some info I can't share I'm afraid
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    08-10-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    721

    Re: Copy and Paste dates then chnage the format to show the month

    just use this formula in D2 and copy/paste it down

    =TEXT(C2,"mmmm")

  5. #5
    Registered User
    Join Date
    12-17-2012
    Location
    sussex, england
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Copy and Paste dates then chnage the format to show the month

    I was hoping to automate the process of inserting cells and formulas as this is a long data set which I have to work with every week, is that possible?

  6. #6
    Valued Forum Contributor
    Join Date
    08-10-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    721

    Re: Copy and Paste dates then chnage the format to show the month

    I dont understand what you mean. If you drag the formula down then it will automatically give you the month for whatever is in Colomn C.

    You could make it look prettier by having this instead =if(c2="","",TEXT(C2,"mmmm")) and drag that down to as long as the dataset could ever be.

  7. #7
    Valued Forum Contributor
    Join Date
    08-10-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    721

    Re: Copy and Paste dates then chnage the format to show the month

    or post your code for inserting cells/formulas and will see what can be done.

+ 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. Show dates as month and year
    By Mary F in forum Excel General
    Replies: 2
    Last Post: 06-21-2012, 11:26 PM
  2. Chnage format of Date in Listbox
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-30-2012, 10:24 AM
  3. Show Saturday Dates when Month selected from DV list
    By scottylad2 in forum Excel General
    Replies: 6
    Last Post: 12-01-2010, 04:35 PM
  4. Show same dates every month.
    By excelkeechak in forum Excel General
    Replies: 8
    Last Post: 07-12-2010, 12:21 PM
  5. Replies: 2
    Last Post: 08-28-2008, 06:06 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