Hello,
I am trying to count distinctive values based on multiple criteria. This is somewhat related to the formula that was worked on in http://www.mrexcel.com/forum/excel-questions/957247-concat-indirect-not-working-dynamic-formula.html
[TABLE="width: 500"]
<tbody>[TR]
[TD]column/row[/TD]
[TD]A[/TD]
[TD]I[/TD]
[TD]J[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]VM1[/TD]
[TD]BC_ESXi_CLUST01[/TD]
[TD]bcserver1[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]VM2[/TD]
[TD]BC_ESXi_CLUST01[/TD]
[TD]bcserver2[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]VM3[/TD]
[TD]BC_ESXi_CLUST02[/TD]
[TD]bcserver1[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]VM1[/TD]
[TD]BC_ESXi_CLUST02[/TD]
[TD]bcserver3[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]VM3[/TD]
[TD]BC_ESXi_CLUST01[/TD]
[TD]bcserver6[/TD]
[/TR]
</tbody>[/TABLE]
Any help is appreciated.
Thanks
B
I am trying to count distinctive values based on multiple criteria. This is somewhat related to the formula that was worked on in http://www.mrexcel.com/forum/excel-questions/957247-concat-indirect-not-working-dynamic-formula.html
- I have multiple tabs in a workbook with names based on dates. (E.g. VM_Audit_10012015, VM_Audit_11012015, etc...)
- I have a formula that counts all records based on multiple criteria
Code:
=COUNTIFS(INDIRECT("VM_Audit_"&$A3&"!"&"$A$2:$A$2000"),"<>"&"",INDIRECT("VM_Audit_"&$A3&"!"&"$I$2:$I$2000"),"BC_ESXi_CLUST*")
- I have a formula that counts distinctive records
Code:
{=SUM(IF(INDIRECT("'VM_Audit_"&$A3&"'!$J2:$J2000")<>"",1/COUNTIF(INDIRECT("'VM_Audit_"&$A3&"'!$J2:$J2000"),INDIRECT("'VM_Audit_"&$A3&"'!$J2:$J2000"))))}
- I am trying to count all distinctive values in column J, if they are not blank & the adjacent cell in column I = "BC_ESXi_CLUST01"
- Basically combine the 2 formulas but cannot figure out the logic especially since one is an array formula
[TABLE="width: 500"]
<tbody>[TR]
[TD]column/row[/TD]
[TD]A[/TD]
[TD]I[/TD]
[TD]J[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]VM1[/TD]
[TD]BC_ESXi_CLUST01[/TD]
[TD]bcserver1[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]VM2[/TD]
[TD]BC_ESXi_CLUST01[/TD]
[TD]bcserver2[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]VM3[/TD]
[TD]BC_ESXi_CLUST02[/TD]
[TD]bcserver1[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]VM1[/TD]
[TD]BC_ESXi_CLUST02[/TD]
[TD]bcserver3[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]VM3[/TD]
[TD]BC_ESXi_CLUST01[/TD]
[TD]bcserver6[/TD]
[/TR]
</tbody>[/TABLE]
Any help is appreciated.
Thanks
B