+ Reply to Thread
Results 1 to 2 of 2

How do I do count calculations ignoring duplicate values

  1. #1
    Robin Faulkner
    Guest

    How do I do count calculations ignoring duplicate values

    I have a calculation which is roughly "=count(if(A1:A100=F5,B1:B100)" where
    F5 is a set value, column A is a list of values and column B is a list of
    dates. I need the calculation to count the number of dates, but if the date
    is duplicated I need the calculation to recognise its value only once.

  2. #2
    AlfD
    Guest

    Re: How do I do count calculations ignoring duplicate values

    Ensure that the data is sorted in date order.
    Add a helper column (P, say) and in P2put =if(O2=O1 then 1,"") and copy
    this down.
    A duplicate date will then have a 1 against it.
    You can then either use Autofilter to view those with a blank in P
    (remember that the Autosum value inthe bar at the bottom of the screen
    only counts visible cells); or you can re-sort by col P to keep the
    "blanks" at the top and just work on those.

    Alf


+ 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