Formula to find specific Text and if found return blank

howard

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

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
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,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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