Enhance COUNTIFS formula to search for text in a string as part of the criteria

freeb1893

Board Regular
Joined
Jul 30, 2012
Messages
233
Office Version
  1. 365
Platform
  1. Windows
I have this current formula:

=COUNTIFS('RAW Data 2'!$R$2:$R$10000,$BG3,'RAW Data 2'!$O$2:$O$10000,">="&(TODAY()-$BI$1))

Basically I'm counting the # of times the value in BG3 is found in range R2:R10000 and the date/time in range O2:O10000 is greater or equal to today's date minus the # of days in cell BI1

I'd like to enhance the above formula where rather than matching on $BG3 for one of my countif conditions, I'd like to search for the text string of $BG3 in range 'RAW Data 2'!$R$2:$R$10000.

I.e. if BG3 is a partial match in range R2:R10000, I'd like to still include that in my count results.

Anyone know how to enhance the above formula to search for that partial match?
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Forum statistics

Threads
1,215,071
Messages
6,122,964
Members
449,094
Latest member
Anshu121

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