+ Reply to Thread
Results 1 to 6 of 6

Group cells by dates (months)

  1. #1
    Registered User
    Join Date
    12-06-2012
    Location
    englang
    MS-Off Ver
    Excel 2010
    Posts
    19

    Group cells by dates (months)

    Hi, I have a list with two columns; names and dates. I want to group names according to months. I can make it with pivot but is there any way to do it wiht a macro. Please see attachment.

    Thanks..


    sample date.xls

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Group cells by dates (months)

    Try the attached.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    12-06-2012
    Location
    englang
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Group cells by dates (months)

    Thanks jindon that’s great but can I ask one more favor, I want to change color of cells by types. I tried to modify your code but I couldn’t make it please see attachment.

    sample date2.xls

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Group cells by dates (months)

    Try change to
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    12-06-2012
    Location
    englang
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Group cells by dates (months)

    Thank you jindon, it works like charm

  6. #6
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Group cells by dates (months)

    If that takes care of your original question, select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. group range of cells according to months written in one column
    By hirendra7158 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-21-2014, 11:21 AM
  2. Replies: 8
    Last Post: 12-23-2013, 08:42 PM
  3. [SOLVED] Choose a Months, and Cells change to those dates Formula
    By ashhm in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-21-2012, 07:21 PM
  4. Pivot Table - Group Individual Dates Into Months
    By Kolin in forum Excel General
    Replies: 0
    Last Post: 07-15-2010, 11:02 AM
  5. Can't Group Dates into Months
    By easycapital in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-30-2008, 06:48 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