If cell contains certain text dont return vaule of other cell

Novman

New Member
Joined
Feb 19, 2023
Messages
20
Office Version
  1. 365
Platform
  1. Windows
Using this fourmla I get what I'm looking for..
=if(isnumber(search("light blue",C3)),D3)*isnumber(search(B3,"CAR")) I get the value of yellow cars from cell D3
What I can't get is, if cell C3 has part text as the word "blue" and B3 "CAR" then DONT return value of cell D3
Basically if cell C3 has word blue then DONT return value of cellD3.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Hi & welcome to MrExcel.
That formula will not return the value of D3 if C3 is blue.
 
Upvote 0
Hi & welcome to MrExcel.
That formula will not return the value of D3 if C3 is blue.
The fourmla I have posted won't return cell D3. Can I upload a sheet here to make things easier.
 
Upvote 0
The fourmla I have posted won't return cell D3
But that's what you said shouldn't happen?

Can I upload a sheet here to make things easier.
No, but you can use the XL2BB add-in

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0
But that's what you said shouldn't happen?


No, but you can use the XL2BB add-in

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
Yes sorry think I'm complicating things..
I hope the pitcher iv attached can help.
Thanks for you patience so far 🙈
 

Attachments

  • Screenshot_20230220_151739_Microsoft 365 (Office).jpg
    Screenshot_20230220_151739_Microsoft 365 (Office).jpg
    220.9 KB · Views: 8
Upvote 0
How about
Excel Formula:
=IF(AND(B3="car",ISERROR(SEARCH("blue",C3))),D3,"")
 
Upvote 1
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0
Glad we could help & thanks for the feedback.
Fluff.... are you able to help me alittle more... tried making a new post but keep saying file to big... it based on this same file
 
Upvote 0

Forum statistics

Threads
1,215,474
Messages
6,125,023
Members
449,203
Latest member
tungnmqn90

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