IF Question and Conditional Format

Mister H

Well-known Member
Joined
Mar 6, 2002
Messages
1,507
Hi All:

I am hoping for some guidance :)

I am looking at a report that I have put into Excel and I want to wittle it donw by identifying some things I need (or don't). Is there a way to put a Wild Card in an IF Statement?

In cell A1 I want to put the formula:

IF cell B1 STARTS WITH OPS Op then mark A1 with the word DELETE
IF cell B1 STARTS WITH Cust Name: then mark A1 with the word KEEP

I am not sure on how to go about this. Any suggestions? :confused:

THANKS,
Mark
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Formula in A1 (copy down in Col A)
=IF(LEFT(B1,6)="Ops Op","DELETE",IF(LEFT(B1,9)="Cust Name","Keep",""))
 
Upvote 0
THANKS rallcorn :biggrin:

That seems to work and I think I can modify it to fits some other requirements that may arise :biggrin:

Have a GREAT night,
Take Care,
Mark
:beerchug:
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,280
Members
452,902
Latest member
Knuddeluff

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