Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Robin Faulkner
 
Posts: n/a
Default 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   Report Post  
AlfD
 
Posts: n/a
Default

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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
count duplicate (or, inversely, unique) entries, but based on a condition markx Excel Worksheet Functions 3 March 8th 05 06:57 PM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
How do I do a count sum that ignores duplicate items Robin Faulkner Excel Worksheet Functions 2 February 17th 05 11:53 AM
SUMPRODUCT Formula to Count Row of data Below Matched Criteria Sam via OfficeKB.com Excel Worksheet Functions 8 February 3rd 05 01:37 AM
get count of row without duplicate entries Aananth Excel Worksheet Functions 2 October 29th 04 06:09 PM


All times are GMT +1. The time now is 02:49 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"