Use * in formula

Bandito1

Board Regular
Joined
Oct 18, 2018
Messages
233
Office Version
  1. 2016
Platform
  1. Windows
Hi all,

I use this formula to find files that are cancelled;

=SUMPRODUCT(('\\nltilnetapsnas1\PUBLIC\Production Support\[Registratie review.xlsx]2016-2022'!$H:$H>=B29)*('\\nltilnetapsnas1\PUBLIC\Production Support\[Registratie review.xlsx]2016-2022'!$H:$H<=EOMONTH(B29;0))*('\\nltilnetapsnas1\PUBLIC\Production Support\[Registratie review.xlsx]2016-2022'!$J:$J="Cancelled"))

Only the thing is that the comment is not always exactly Cancelled

It can be "Cancelled; because of xx"

Normally i can use Cancelled*
Then it doesn't matter what follows after cancelled.

But in formula when i do Cancelled* it search for exactly that.

Is there a way to make it like it searches for Cancelled and whatever follows?
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
How about
Excel Formula:
=SUMPRODUCT(('\\nltilnetapsnas1\PUBLIC\Production Support\[Registratie review.xlsx]2016-2022'!$H:$H>=B29)*('\\nltilnetapsnas1\PUBLIC\Production Support\[Registratie review.xlsx]2016-2022'!$H:$H<=EOMONTH(B29;0))*(ISNUMBER(SEARCH("Cancelled";'\\nltilnetapsnas1\PUBLIC\Production Support\[Registratie review.xlsx]2016-2022'!$J:$J))))
 
Upvote 0
Solution
Wauw, that's what i call a fast reply
And it works, thanks!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,819
Messages
6,121,739
Members
449,050
Latest member
excelknuckles

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