Formula to find specific Text and if found return blank

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,595
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

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
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,223,908
Messages
6,175,306
Members
452,633
Latest member
DougMo

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