I was previously helped with this formula below, but now need to add a second criteria and can't seem to figure out where in the comma/parens it needs to go.
For a unique count of values from Column A, where the corresponding values in Column E equals "Billable", and where the data has been filtered, try...
=SUM(IF(FREQUENCY(IF(SUBTOTAL(3,OFFSET(A29,ROW(A29:A11459)-ROW(A29),0)),IF(E29:E11459="Billable",A29:A11459)),A29:A11459),1))-1
...confirmed with CONTROL+SHIFT+ENTER.
Now I need to add the second criteria IF(F29:F11459=G30,A29:A11459)).
So now I need the unique count of values from Column A, where the corresponding values in Column E = "Billable" and where the corresponding values in Column F equals the value in G30, and where the data has been filtered.
Thanks in advance,
Don
For a unique count of values from Column A, where the corresponding values in Column E equals "Billable", and where the data has been filtered, try...
=SUM(IF(FREQUENCY(IF(SUBTOTAL(3,OFFSET(A29,ROW(A29:A11459)-ROW(A29),0)),IF(E29:E11459="Billable",A29:A11459)),A29:A11459),1))-1
...confirmed with CONTROL+SHIFT+ENTER.
Now I need to add the second criteria IF(F29:F11459=G30,A29:A11459)).
So now I need the unique count of values from Column A, where the corresponding values in Column E = "Billable" and where the corresponding values in Column F equals the value in G30, and where the data has been filtered.
Thanks in advance,
Don