+ Reply to Thread
Results 1 to 3 of 3

match and Count value but not repeat the same ..

  1. #1
    Registered User
    Join Date
    07-29-2012
    Location
    gujarat
    MS-Off Ver
    Excel 2007
    Posts
    14

    match and Count value but not repeat the same ..

    Dear Friends,

    I come up with a query regarding for excel formula.. hope you will help me in this....

    In attached File, there is a table there is date in COLUMN "G" and column "H" contain Name....

    I want to count value in column "L" by matching date from column " K " .....BUT THE SAME NAME SHOULD NOT BE REPEAT COUNT... i.e, HITENDRA and RITU name is repeat 2 times in date 1-Jul-2014 .. but it is a similar so it should count as a "1"..... the total count for the day is "6" but avoiding similar value the total count is "4"..... so I nead a "4" figure as a result......

    Kindly find the attachment for further understanding ..

    Looking to hear from you soon....

  2. #2
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: match and Count value but not repeat the same ..

    HI,

    attachment not found ?
    Re attachment it.

    Punnam

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: match and Count value but not repeat the same ..

    Try something like this...

    Data Range
    A
    B
    C
    D
    E
    1
    Date
    Name
    ------
    Date
    Count
    2
    7/26/2014
    Pam
    7/26/2014
    5
    3
    7/26/2014
    Mam
    4
    7/26/2014
    Bam
    5
    7/26/2014
    Pam
    6
    7/26/2014
    Bam
    7
    7/26/2014
    Tam
    8
    7/26/2014
    Tam
    9
    7/26/2014
    Tam
    10
    7/26/2014
    Sam


    This array formula** entered in E2:

    =SUM(IF(FREQUENCY(IF(A2:A10=D2,MATCH(B2:B10,B2:B10,0)),ROW(B2:B10)-ROW(B2)+1),1))

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Count with multiple conditions and no repeat
    By goicuon in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-16-2013, 05:26 PM
  2. Need a Repeat 30 Minute Count Down Clock
    By neckbone30 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-04-2013, 01:09 PM
  3. Count number of repeat stays
    By pphg in forum Excel General
    Replies: 11
    Last Post: 06-25-2012, 10:54 AM
  4. Excel 2007 : Count Repeat Names
    By jaytaylor in forum Excel General
    Replies: 4
    Last Post: 01-29-2010, 02:48 PM
  5. Formula to count repeat items
    By ravinella in forum Excel General
    Replies: 1
    Last Post: 03-05-2009, 06:39 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