I have cells which contain text and page numbers from the index of a document.
I need to count the number of pages listed and remove duplicates from the total count.
any ideas?
I have cells which contain text and page numbers from the index of a document.
I need to count the number of pages listed and remove duplicates from the total count.
any ideas?
= SUMPRODUCT(1/COUNTA(A1:A10, A1:A10)) will return the number of different entries in A1:A10. If there are blank cells in the region, that has to be adjusted for.
_
...How to Cross-post politely...
..Wrap code by selecting the code and clicking the # or read this. Thank you.
would this do the trick?
=SUM(IF(FREQUENCY(MATCH(array,array,0),MATCH(array,array,0))>0,1))
Sincerely
S?ren Larsen
"Give a man a fish, and you'll feed him for a day. Give a man a fishing rod, and he'll steal your yacht!"
I will run both and see what happens
this = SUMPRODUCT(1/COUNTA(A1:A10, A1:A10))
produced a sum of the numbers as whole numbers as percentage.
Each number needs a value of one and any reduntant numbers need to be excluded
National Congress, 608,181-90
passim states, 27-28
Colonial era, 23, 27-38 passim, 43,
I also need to enumarate a range such as 27-38,
I would subtract the last page from the first page and add one to get the total count but this would not solve for duplicate entries
Last edited by depshado; 03-28-2012 at 10:40 AM. Reason: more details
Could you attach a sample workbook, showing the desired result.
Oh, I just noticed that silly me made an error
= SUMPRODUCT(1/COUNTIF(A1:A10, A1:A10))
Why is a result of 4 desired, there are only 3 entries, none of which are duplicated.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks