I need some help with a formula that will count the number of unique dates of a filtered column. I have attached the spreadsheet and highlighted the cell where the formula needs to be. Any assistance will be greatly appreciated.
I need some help with a formula that will count the number of unique dates of a filtered column. I have attached the spreadsheet and highlighted the cell where the formula needs to be. Any assistance will be greatly appreciated.
From http://www.j-walk.com/ss/excel/eee/eee020.txt
Try to adapt to your sheet.POWER FORMULA TECHNIQUES
by David Hager
---How can I find the count of unique items in a filtered column?---
Define a column range in your table (excluding header) as Rge.
Define unRge as:
=IF(SUBTOTAL(3,OFFSET(Rge,ROW(Rge)-MIN(ROW(Rge)),,1)),Rge,"")
Then, the array formula to return the # of unique occurrences in a filtered
column is:
=SUM(N(IF(ISNA(MATCH("",unRge,0)),MATCH(Rge,Rge,0),IF(MATCH(unRge,unRge,0)
=MATCH("",unRge,0),0,MATCH(unRge,unRge,0)))=ROW(Rge)-MIN(ROW(Rge))+1))
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks