Closed Thread
Results 1 to 3 of 3

VBA code to calculate Unique Count

  1. #1
    Banned User!
    Join Date
    05-24-2018
    Location
    New Delhi, India
    MS-Off Ver
    2013
    Posts
    11

    VBA code to calculate Unique Count

    VBA code to calculate Unique Count OF COL1 if the value in COL2 is greater than zero
    COL1 COL2
    mary -230 Not to be counted
    john 8 1
    bill 0 Not to be counted
    tef 550 2
    lee -33 Not to be counted
    sam 560 3
    joe 645 4
    gert -10 Not to be counted
    lee 55 5
    sam 35 Duplicate

    The count is 5

  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
    52,944

    Re: VBA code to calculate Unique Count

    Please do not post duplicate threads. I have closed the other 1
    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
    52,944

    Re: VBA code to calculate Unique Count

    I see you have posted the same thing again. Do not post duplicate threads - I wont tell you again

    Welcome to the Forum, unfortunately this is a duplicate post and as such will now be closed, you may continue in your other thread.

    Thread Closed.

    https://www.excelforum.com/excel-pro...ol-is-0-a.html

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Help with VB code or Formula to calculate the unique occurrences during a month
    By rv02 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-26-2017, 11:50 AM
  2. Count Unique Values Conditionally -Code
    By Aquamore in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-18-2016, 02:46 PM
  3. [SOLVED] VBA or Excel code to calculate the % of a unique value and how often it occurs
    By zainycmt in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-14-2016, 05:31 AM
  4. Replies: 7
    Last Post: 11-08-2014, 04:05 PM
  5. Count, calculate, and graph sales of unique items over time
    By seerauber in forum Excel Charting & Pivots
    Replies: 11
    Last Post: 11-25-2013, 10:09 PM
  6. Count, calculate, and graph sales of unique items over time
    By seerauber in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-25-2013, 07:53 AM
  7. Replies: 0
    Last Post: 03-22-2012, 08:44 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