+ Reply to Thread
Results 1 to 4 of 4

Count only duplicate values one time in a date range - Pls help

  1. #1
    Registered User
    Join Date
    05-27-2013
    Location
    BANGALORE, INDIA
    MS-Off Ver
    Excel 2013
    Posts
    45

    Count only duplicate values one time in a date range - Pls help

    Dear all, Pls help me.
    I am using below formula in the attached excel sheet to count only duplicate values single time. I need to extend the formula to include date range. Pls go through attached excel file and help me to find the formula for including date range ( i want to count repeated values only between 5th and 6th march in attached excel sheet)

    =SUM(IF(FREQUENCY(IF(C1:C10000<>"",MATCH(C1:C10000,OPD!C1:C10000,0)),ROW(C1:C10000)-ROW(C1)+1)>1,1))
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    05-27-2013
    Location
    BANGALORE, INDIA
    MS-Off Ver
    Excel 2013
    Posts
    45

    Re: Count only duplicate values one time in a date range - Pls help

    Any help pls?

  3. #3
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Count only duplicate values one time in a date range - Pls help

    The quickest solution is just to find the first cell for March 5th (C95) and the last cell for March 6th (C261) and change every C1 in your formula to C95 and every C10000 to C261. You're left with:

    =SUM(IF(FREQUENCY(IF(OPD!C95:C261<>"",MATCH(OPD!C95:C261,OPD!C95:C261,0)),ROW(OPD!C95:C261)-ROW(OPD!C95)+1)>1,1))

    Use Ctrl + Shift + Enter.

    If you want a more permanent solution with variable start/end dates... how do you want that to look?

  4. #4
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Count only duplicate values one time in a date range - Pls help

    If you enter the start date in D2 and the end date in E2, putting the ugly formula below in E3 (entered with ctrl + shift + enter) will give you the results you want between the two dates (inclusive).

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    There might be a simpler way (I hope so), but modifying your original formula to look like this worked reliably.

+ 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 number of values dependent between horizontal date range based on 2 date values
    By dcad81 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-06-2015, 08:16 AM
  2. Count occurrences of value in a date range I can specify easily each time
    By mikalaka in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 07-14-2014, 07:14 PM
  3. Create a Time Range off Time Stamps, and Count Intersecting values
    By athyeh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2014, 05:07 PM
  4. [SOLVED] Count Duplicate Occurances, by date range and single date
    By Pierce Quality in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-18-2013, 03:04 PM
  5. Replies: 4
    Last Post: 06-20-2011, 05:24 AM
  6. Count of cells between range of time, per date
    By hughdepayens in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 03-03-2011, 04:18 PM
  7. How do i count date cells without duplicate values in excel?
    By Vasanth Kumar in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-21-2006, 09:05 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