Replace specific reference with a wildcard

RodneyW

Active Member
Joined
Sep 24, 2010
Messages
439
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 turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
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,215,475
Messages
6,125,028
Members
449,205
Latest member
Eggy66

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