How to sort list to COUNTIF criteria?

Audiology

Board Regular
Joined
Mar 4, 2009
Messages
171
I have a list of 562 records. In order to generate a targeted mailing list, I would like to display) only those records meeting the criteria:

=SUMPRODUCT(--(M2:M562>0),--(U2:U562>0)) .

How do I do this?

Thanks for the counsel.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
you will probably be better off using filters to get to the options you want.

SumProduct will not achieve what you want it to.
 
Upvote 0
Helper column with an if formula to identify those that meet criteria... then filter on that column

=IF(AND(M2>0,U2>0),"X","")
 
Upvote 0
ADVERTISEMENT
Danzon,

Thanks. our posts crossed in the mail. Helper column....too logical.:)
 
Upvote 0
=iferror(INDEX(M$2:M$562,SMALL(IF($M$2:$M$562>0,IF($u$2:$u$562>0,ROW($M$2:$M$562)-ROW($M$2)+1)),ROWS(Q$2:Q2))),"")
have to enter with Ctrl+Sift + Enter
 
Upvote 0
ADVERTISEMENT
Jam...

Where do I insert that formula?
 
Upvote 0

Forum statistics

Threads
1,196,344
Messages
6,014,727
Members
441,841
Latest member
Prabu_sanku

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