+ Reply to Thread
Results 1 to 2 of 2

Distict Customer Code Count Based on value in another column

  1. #1
    Registered User
    Join Date
    12-21-2006
    Posts
    5

    Distict Customer Code Count Based on value in another column

    Hi All,

    I have the following problem and any thoughts or tips on how to solve this are appreciated. I need to identify a distict count of customer that have zero prices, showing a value of 0.00. Based on the information below I would like my formula to return the value 1.

    CUST CODE PRICE
    CUST1 M01 0.10
    CUST1 M02 0.10
    CUST1 M03 0.10
    CUST1 M04 0.20
    CUST1 M05 0.20
    CUST1 M06 0.20
    CUST1 M07 0.20
    CUST2 M01 0.00
    CUST2 M02 0.00
    CUST2 M03 0.00
    CUST2 M04 0.00
    CUST2 M05 0.00

    CUST3 M01 0.10
    CUST3 M02 0.20
    CUST3 M03 0.30
    CUST3 M04 0.40

    Many thanks

    MIke

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Distict Customer Code Count Based on value in another column

    Try..

    =SUM(IF(FREQUENCY(IF($C$2:$C$17=0,MATCH($A$2:$A$17,$A$2:$A$17,0)),ROW($A$2:$A$17)-ROW($A$1)+1)>0,1))

    Confirm with Ctrl+Shift+Enter
    Life's a spreadsheet, Excel!
    Say thanks, Click *

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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