Counting fully filled rows in a filtered matrix

hellcat83

New Member
Joined
Aug 16, 2011
Messages
44
Hi

I'm trying to calculate the number of rows in a matrix that have a complete row of data. I would noprmally do this using nested if formuals and a count function, but the columns of the matrix are filterable so the count won't work.

Is there a combination of functions that will adapt as I filter data?

Cheers
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Sorry,

An example might be;

6 5 6
4 5
8 7 8
0
5 5 5

I'm calculating the correlations for cols A&B and A&C. That works ok with gaps in.

I'm also calulating the statistical significances of those correlations and need to know how many rows of data have been used. I need something that can ignore the rows with missing numbers and provide a count of how many complete rows there are, in this case 3. The issue is these columns will be filtered to tailor the correlations, so the counting needs to be able to cope with that.

Does that shed anymore light?

Thanks
 
Upvote 0
Sorry,

An example might be;

6 5 6
4 5
8 7 8
0
5 5 5

I'm calculating the correlations for cols A&B and A&C. That works ok with gaps in.

I'm also calulating the statistical significances of those correlations and need to know how many rows of data have been used. I need something that can ignore the rows with missing numbers and provide a count of how many complete rows there are, in this case 3. The issue is these columns will be filtered to tailor the correlations, so the counting needs to be able to cope with that.

Does that shed anymore light?

Thanks
Add another column to the data table and put a formula in each cell that returns a 1 if all the cells in that row are filled.

Something like this...

=--(COUNT(A2:C2)=3)

Then you can use a SUBTOTAL function on that column:

=SUBTOTAL(9,D2:D6)
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top