Formula to find specific Text and if found return blank

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,570
Office Version
  1. 2021
Platform
  1. Windows
I have data on Sheet Summary

Code:
 =IF(Summary!C46="","",(Summary!C46))

I would like have tried to amend the formula so that if A46 contains "Sales Month End*" , then the result must be blank, otherwise return the result C46


Code:
 =IF(Summary!A46="Sales Month End*","",C46)


The formula above returns 0


Kindly amend my formula
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Thanks Marcelo

You are 100% correct. Formula works perfectly now
 
Upvote 0
Hi Marcelo


just retested some data and see that wildcard character does not work. I have to insert the full test


Is there another formula for eg search or find that I can incorporate in my formula that will give me the desired result ?
 
Upvote 0
Hi Marcelo


just retested some data and see that wildcard character does not work. I have to insert the full test


Is there another formula for eg search or find that I can incorporate in my formula that will give me the desired result ?

Do you mean like below:
=IF(ISNUMBER(SEARCH("Sales Month End",Summary!A46,1)),"",Summary!C46)
 
Upvote 0

Forum statistics

Threads
1,216,756
Messages
6,132,533
Members
449,733
Latest member
Nameless_

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