+ Reply to Thread
Results 1 to 3 of 3

Countif formula (I think) in combination with date range

  1. #1
    Registered User
    Join Date
    12-15-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010 (and Google Docs)
    Posts
    2

    Countif formula (I think) in combination with date range

    Hello, I've got some difficult formulas that I'm struggling to get right to enable a small charity to monitor its activities. I've also described them in the link below (highlighted in red) on the "user log" sheet and the "monitoring dashboard" sheet : https://docs.google.com/spreadsheets...it?usp=sharing

    If anyone can offer any help I'll be enormously appreciative!


    1) conditional formatting depending on status of another cell/date range. SO...
    When column A = 3, I'd like to apply conditional formatting to column D depending on whether the date is within last week. Something like =IF(A:A=3,TODAY()-7) then background green.
    When column A = 2, I'd like to apply conditional formatting to column D depending on whether the date is within the last two weeks. Something like =IF(A:A=3,TODAY()-14) then background green.

    2): a column that looks up a column in a separate sheet, and reports back the most recent date alongiside a specified name

    Sheet 1: Sheet 2:
    Row Column A Column B Column E Column F
    1 Name Last reported Name Report date
    2 Bob Hope <23/02/2014> Bob Hope 22/02/2014
    3 John Shawer <formula> Bob Hope 19/02/2014
    4 Alice Hills <formula> Bob Hope 23/02/2014

    I'm looking for a formula for Sheet 1 column B, that results B2 looking-up the most recent report date by Bob Hope. B3 would look-up the most recent report date by John Shawer.

    3) Similar to 2, I'm looking for a formula for sheet1 that counts the number of times a cell in sheet 2 is 'YES' AND the name is the same as in column A sheet 1.

    4) Count the number of times a column of dates displays a date within the last 7 days... something like: =COUNTIF('Report Log'!C:C,TODAY()-7) ...but apparently not quite that!

    5) Similar to above, except I'd like count instances in where J:J=Yes AND Date (C:C) is within last 7 days

    6) Finally I'm looking for a formula that gives me % (of the total where column A =3) where column A =3 AND where column D is within last week.

    Hugely appreciate any help!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Countif formula (I think) in combination with date range

    Adam, please upload your workbook to the forum, not all members are able - or willing - to access file-hosting sites.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Countif formula (I think) in combination with date range

    While you are doing that...
    1) conditional formatting depending on status of another cell/date range. SO...
    When column A = 3, I'd like to apply conditional formatting to column D depending on whether the date is within last week. Something like =IF(A:A=3,TODAY()-7) then background green.
    When column A = 2, I'd like to apply conditional formatting to column D depending on whether the date is within the last two weeks. Something like =IF(A:A=3,TODAY()-14) then background green.
    maybe something like - Rule/New Rule/Use Formula/=or(A1=3,D1<=today()-7)

    2): a column that looks up a column in a separate sheet, and reports back the most recent date alongiside a specified name
    possible max(if())

    3) Similar to 2, I'm looking for a formula for sheet1 that counts the number of times a cell in sheet 2 is 'YES' AND the name is the same as in column A sheet 1.
    Probably countifS()

    4) Count the number of times a column of dates displays a date within the last 7 days... something like: =COUNTIF('Report Log'!C:C,TODAY()-7) ...but apparently not quite that!
    see 3

    5) Similar to above, except I'd like count instances in where J:J=Yes AND Date (C:C) is within last 7 days
    see 3

    6) Finally I'm looking for a formula that gives me % (of the total where column A =3) where column A =3 AND where column D is within last week.
    probably averageifS()

+ 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. Formula checking if a combination of cells exists in the range
    By chrismyers51 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-05-2013, 05:49 PM
  2. Combining a Date Range COUNTIF and a general COUNTIF
    By jacobtom in forum Excel General
    Replies: 1
    Last Post: 09-15-2011, 05:06 PM
  3. Projected date formula from a combination of a 2 cells
    By skylinekiller in forum Excel General
    Replies: 3
    Last Post: 08-03-2009, 11:17 AM
  4. COUNTIF formula with date range
    By FPJ in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-22-2006, 04:30 PM

Tags for this Thread

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