+ Reply to Thread
Results 1 to 3 of 3

Thread: Changing date format from days to months

  1. #1
    Registered User
    Join Date
    07-25-2008
    Location
    Powys
    Posts
    59

    Changing date format from days to months

    Hi all,
    I have a sheet with approx 5000 rows of data.
    One column has a date format with days of the week, (ie dd/mm/yy).
    I would like to "convert" this to a month and a year so that I can sort and sub-toal by month and year only.

    I know that I can change the format to show mm/yy, but is still retains the "day" information so I cannot summarise by month. I have tried changing the format, then using copy "past special-value", but again the field stil retains the "day".

    Any suggestions welcome

    Many thanks

    Stu

  2. #2
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,423

    Re: Changing date format from days to months

    Stu, have you thought of conducting your analysis by means of a Pivot Table?
    You can easily group your Date field by Month & Year, this saves modifying original values.

    Formula wise - if you want consistency - subtract the day value from the date and add 1 to it, eg:

    C1: =$A1-DAY($A1)+1

    this will apply a common date to all transactions within any given month (ie 1st of Month).

  3. #3
    Registered User
    Join Date
    07-25-2008
    Location
    Powys
    Posts
    59

    Re: Changing date format from days to months

    Hi DonkeyOte..

    ..many thanks for the spped of your reply...both abswers great..particularly like the formule, (as that is what I was trying to do), even tho I am not sure how it works....but it does!!!

    Brill...many thanks...

    Stu

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.2.0