Results 1 to 4 of 4

Count weekly occurences of a value within a time period

Threaded View

cs454 Count weekly occurences of a... 01-20-2014, 12:43 PM
alvin-chung Re: Count weekly occurences... 01-21-2014, 08:46 AM
cs454 Re: Count weekly occurences... 01-21-2014, 09:26 AM
alvin-chung Re: Count weekly occurences... 01-21-2014, 09:28 AM
  1. #1
    Registered User
    Join Date
    01-20-2014
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    52

    Count weekly occurences of a value within a time period

    Hi all,

    I am new to this forum and fairly new to Excel so apologies if this is a simple question.

    I want to take my large spreadsheet of data in this format:

    Promotion\ Start \ End \ Group
    Promo 1 2011-11-01 2011-11-22 A
    Promo 2 2011-11-22 2011-12-06 A
    Promo 3 2011-12-06 2012-01-03 B
    Promo 4 2012-01-03 2012-01-24 C
    Promo 5 2012-01-24 2012-02-14 C
    Promo 6 2012-03-06 2012-04-03 D
    Promo 7 2012-04-07 2012-05-22 E
    Promo 8 2012-05-22 2012-06-19 E
    Promo 9 2012-06-19 2012-07-24 A
    Promo 10 2012-07-24 2012-08-14 A

    and reformat it like this using formulas:

    Week Commencing \ Group A \ Group B \ Group C \ Group D \ Group E
    2011-10-31 6 0 0 0 0
    2011-11-07 7 0 0 0 0
    2011-11-14 7 0 0 0 0
    ...

    and so on. Such that the values in the table denote how often Group A-E occurs in each week. (For example, Promo 1 occurs from 2011/11/01 - 2011/11/22. Therefore a Promo 1 occurs 6 times in the week commencing 2011/10/31 (6 out of 7 days), 7 times in the week commencing 2011/11/07 (every day of the week), and so on.. as Promo 1 is in Group A, the values are inputted in the Group A column)

    Thank you in advance for your help!

    Edit: Managed to use this formula but it only works for one promotion at a time. Shown in attached document
    Attached Files Attached Files
    Last edited by cs454; 01-20-2014 at 01:30 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] count number of dates within given time period
    By j.farr3ll in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-16-2013, 11:14 AM
  2. Formula count occurences in a specific time period
    By sarahmad in forum Excel General
    Replies: 7
    Last Post: 10-26-2009, 01:33 PM
  3. [SOLVED] Count function applied to a time period
    By MIchel Khennafi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-10-2006, 10:35 AM
  4. [SOLVED] Using Countif to count occurences of time?
    By Liketoknow in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-06-2006, 04:25 AM
  5. count product types per period of time
    By andy callaghan in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-07-2005, 06:05 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