+ Reply to Thread
Results 1 to 4 of 4

Modify formula in Column E to exclude recurring customer names in column A.

Hybrid View

  1. #1
    Registered User
    Join Date
    12-19-2013
    Location
    Jeddah
    MS-Off Ver
    Excel 2010
    Posts
    2

    Modify formula in Column E to exclude recurring customer names in column A.

    Hi Everone,

    I have following formula in E2

    =COUNTIFS($A$2:$A2,A2,$B$2:$B2,B2,$D$2:$D2,D2,$C$2:$C2,C2)

    and its giving me following output. I need to count unique customers in given criteria. Right Most column is my desired output.

    Customer Name Region Division Category "Sr. No. of Unique Customers per Region per Division per Category
    (Output by Formula)" "Sr. No. of Unique Customers per Region per Division per Category
    (Desired Output)"
    ABC Communication Central CND Private 1.00 1.00
    ABC Communication Central CND Government 1.00 0.50
    ABC Communication Central CND Semi-Government 1.00 1.00
    ABC Communication Western CND Semi-Government 1.00 0.33
    ABC Communication Western CND Semi-Government 2.00 0.33
    ABC Communication Western CND Semi-Government 3.00 0.33
    ABC Communication Western END Semi-Government 1.00 1.00
    ABC Communication Western CND Government 1.00 1.00
    ABC Communication Central CND Government 2.00 0.50
    ABC Communication Central Multi Government 1.00 1.00
    United Company Eastern CND Private 1.00 1.00
    United Company Western BBT Private 1.00 0.50
    United Company Western BBT Private 2.00 0.50
    United Company Central BBT Private 1.00 1.00
    United Company Central CKQ Private 1.00 0.25
    United Company Central CKQ Private 2.00 0.25
    United Company Central CKQ Private 3.00 0.25
    United Company Central CKQ Private 4.00 0.25



    Thanks,
    Imran.

  2. #2
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Modify formula in Column E to exclude recurring customer names in column A.

    Hi,

    Welcome to the forum.

    Can you attach a sample workbook (in excel format) with enough data to demonstrate your requirement? Make sure your desired results are shown, mock them up manually if necessary. Remember to desensitize the file by removing all confidential information before upload!

    Click on "Go Advanced" -> "Mange Attachments" option to upload the file.

  3. #3
    Registered User
    Join Date
    12-19-2013
    Location
    Jeddah
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Modify formula in Column E to exclude recurring customer names in column A.

    The file is uploaded
    Attached Files Attached Files

  4. #4
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Modify formula in Column E to exclude recurring customer names in column A.

    Modify the formula in E2 as following:

    =1/COUNTIFS($A$2:$A$20,A2,$B$2:$B$20,B2,$D$2:$D$20,D2,$C$2:$C$20,C2)
    drag it down the cells.
    Attached Files Attached Files

+ 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. countif formula for the first customer name on a column
    By shmemushi in forum Excel General
    Replies: 2
    Last Post: 05-12-2015, 06:19 AM
  2. Replies: 7
    Last Post: 09-11-2013, 05:58 PM
  3. Code change below to find the Customer column by name rather than column letter
    By duugg in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 06-24-2009, 04:59 PM
  4. [SOLVED] Need a formula that sums a column but could exclude some cells
    By Watercolor artist in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  5. [SOLVED] Need a formula that sums a column but could exclude some cells
    By bj in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-06-2005, 07:05 AM
  6. [SOLVED] Need a formula that sums a column but could exclude some cells
    By Watercolor artist in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  7. [SOLVED] Need a formula that sums a column but could exclude some cells
    By Watercolor artist in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-04-2005, 06: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