combining formula

handri

Board Regular
Joined
Nov 25, 2017
Messages
88
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
Good day

Here is my code
HTML:
=IF(ISNUMBER(SEARCH(substring,text)), "Yes", "No")

The result is in C6 (empty cell). When I put a number in A6 (empty cell).
Then the empty cell C6 show the result. The substring is in B3.

How to combine formula with my code above

thank you
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Hi
Do you mean that if the contents of A6 is present in the b4 the C6 is yes?
 
Upvote 0
Ok if so
Code:
=IF(ISNUMBER(SEARCH(A6,B3)), "Yes", "No")
 
Upvote 0
Not sure if I've understood correctly, but maybe
=IF(A6="","",IF(ISNUMBER(SEARCH(B$3,B6)), "Yes", "No"))
 
Upvote 0
Not sure if I've understood correctly, but maybe
=IF(A6="","",IF(ISNUMBER(SEARCH(B$3,B6)), "Yes", "No"))

thank you sir. This is exactly i want. Here is my code

=IF(A6="","",IF(ISNUMBER(SEARCH(B$3,A6)), "Yes", "No")). Works. Just replace the B6 with A6.

How can i made formula for data validation in C6 for "No" result. I want to made error stop alert. In C6 cell.

thank sir
 
Upvote 0
You would need to put the data validation in A6 not C6.
 
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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