+ Reply to Thread
Results 1 to 3 of 3

Formula to count a value in column that was one week ago from today

  1. #1
    Registered User
    Join Date
    04-28-2014
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    8

    Formula to count a value in column that was one week ago from today

    Howdy All,

    I have 2 columns in my spreadsheet:

    B:B is a column of dates.
    C:C is a list of names

    Could someone suggest a formula that will count the number of times the name 'SIMON' appears in column C:C but here is the catch: I only want to know how many times that name has appeared over the course of the previous week. IE NOW - 7days

    any help really appreciated.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Formula to count a value in column that was one week ago from today

    Try using SUMPRODUCT like this

    =SUMPRODUCT((B2:B100>TODAY()-7)*(C2:C100="Simon"))

    adjust ranges as required
    Audere est facere

  3. #3
    Registered User
    Join Date
    04-28-2014
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Formula to count a value in column that was one week ago from today

    Thank you so much - worked a treat!

+ 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. [SOLVED] Count cell values under column with today's date header
    By jben86 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-23-2013, 03:19 PM
  2. Macro Count Days Between Today's Date and Column D
    By Gard5096 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-11-2012, 10:00 PM
  3. Count Unique Text & blanks in one column prior to Today's date
    By VBSK8R in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-21-2011, 01:25 PM
  4. Finding all dates in a column that are in the range today to a week from now
    By jrcream in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 10-01-2008, 09:32 PM
  5. [SOLVED] count the number of cells within a column with a date <= today's d
    By Cachod1 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 01-27-2006, 07:30 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