Replace specific reference with a wildcard

RodneyW

Active Member
Joined
Sep 24, 2010
Messages
470
Office Version
  1. 2013
Platform
  1. Windows
I'm using this formula:

=COUNTIFS($F$8:$F$10000,"News",$A$8:$A$10000,"Sports")

I would like to replace "News" and also "Sports" with wildcards meaning as long as there is some value in F and A, it will add to the count. If the cell is empty/has no value, it won't add to the count. Note there will always be a value in A. Once I have this portion resolved, I'll have a follow up question.

Thanks in advance.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
How about
Excel Formula:
=COUNTIFS($F$8:$F$10000,"*",$A$8:$A$10000,"*")
 
Upvote 0
Solution
Thanks for the reply. I'm afk for the next couple hours and will try it when I return. If I wanted to modify this so that rather than counting all values in A, it counted UNIQUE values in A where the criteria in F was met?
 
Upvote 0
That is a totally different question & will need a new thread.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,999
Members
452,373
Latest member
TimReeks

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