IF Cell Value contains Value A or B enter True

robocop1906

Board Regular
Joined
Jan 15, 2003
Messages
143
I need a formula that basically looks in a cell and if that cell contains certain characters then enter true. Example

If Cell A1 contains Values "Data" Or "Load" then enter True (This formula would be in cell Column B1) if not enter False.
 
I have a similar problem but i may need a macro though a function would be the best..

I have 2 seperate worksheets and i need to compare 2 ranges of single columns. and then out put the data onto a new work book..

for example

Workbook.Book1.Worksheet.Sheet 1.Range A1:A5000.Value = Workbook.Book2.Worksheet.Sheet 1.Range A1:A5000.Value = True
Then
Output.Workbook.Book3.Worksheet.Sheet 1.Range A1:A5000

I dont have access to my Office Excell and have not been able to try this code. Its off the top of my head i hope it makes sense to someone.
thank you in advance
 
Upvote 0

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

Forum statistics

Threads
1,214,523
Messages
6,120,042
Members
448,940
Latest member
mdusw

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