+ Reply to Thread
Results 1 to 9 of 9

Grouping Name + Date + Number + Ordering

  1. #1
    Forum Contributor
    Join Date
    08-19-2014
    Location
    Sussex, England
    MS-Off Ver
    2010
    Posts
    141

    Grouping Name + Date + Number + Ordering

    Hi All,

    I have 3 columns of data:

    "Post Category" TEXT
    "Send Time" DD/MM/YYYY MM/HH/SS
    "Clicks" NUMBER

    What I am trying to do is see the total clicks for each post category with the "send time" of this month, ranked by clicks, there might be other metrics to add on...

    I'm finding this really hard to total. See the attached $$ I hope you can help!?Grouping Name + Date + Number + Ordering.xlsx

  2. #2
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Grouping Name + Date + Number + Ordering

    Some of your values in column B are stored as text while others are dates. You can see this by highlighting column B, Data, Text to Columns, Delimited, Next, Next, Date (whichever format you prefer).
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,616

    Re: Grouping Name + Date + Number + Ordering

    The easiest solution would be just using pivot table for this task.

    PS. Make sure that dates are real dates (in column B it seems yoyu have texts which just look like a date).
    Best Regards,

    Kaper

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,616

    Re: Grouping Name + Date + Number + Ordering

    Just to show what I mean - see attached file with Pivot Table for your data.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    08-19-2014
    Location
    Sussex, England
    MS-Off Ver
    2010
    Posts
    141

    Re: Grouping Name + Date + Number + Ordering

    Hi kasper,

    This is what I want but I need formulas as I want something to works on the fly. Not sure why some dates are text but I used *03/2015* and that appears to work.

    Any ideas?

  6. #6
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Grouping Name + Date + Number + Ordering

    guy,

    See attached for a possible formulaic method, but I agree with Kaper that this is probably more efficient if done with PTs.
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,291

    Re: Grouping Name + Date + Number + Ordering

    I offer this option.
    In the yellow cells can choose the year and month.
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    08-19-2014
    Location
    Sussex, England
    MS-Off Ver
    2010
    Posts
    141

    Re: Grouping Name + Date + Number + Ordering

    Quote Originally Posted by Czeslaw View Post
    I offer this option.
    In the yellow cells can choose the year and month.
    This was brilliant but I was wondering if there was a way to change the formula slightly so it could read todays year and month, for example:

    =IFERROR(LOOKUP(2,1/ISERROR(MATCH(A$6:A$1482,E$5:E5,))/LEN(A$6:A$1482)/(YEAR($B$6:$B$1482)=$F$1)/(MONTH($B$6:$B$1482)=$F$2),A$6:A$1482),"")

    =IFERROR(LOOKUP(2,1/ISERROR(MATCH(A$6:A$1482,E$5:E5,))/LEN(A$6:A$1482)/(YEAR(TODAY()/(MONTH(TODAY(),A$6:A$1482),"")

  9. #9
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,291

    Re: Grouping Name + Date + Number + Ordering

    Please select which option you better
    suitable.
    Attached Files Attached Files

+ 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. VBA Ordering User form for Purchase Ordering.
    By caf20012 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 01-10-2014, 01:50 PM
  2. Ordering a Column by Date
    By confused student in forum Excel General
    Replies: 3
    Last Post: 05-30-2013, 01:23 PM
  3. Re-ordering a number sequence
    By Chameleonclaude in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-16-2010, 03:04 PM
  4. Grouping a Date Field by a Week Number in Excel 2007
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 11-28-2007, 06:59 AM
  5. Grouping the Date Field by Number of Days in Excel 2007
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 11-28-2007, 06:56 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