?
Solved

Excel - If Like formula

Posted on 2011-04-19
2
Medium Priority
?
566 Views
Last Modified: 2012-06-22
Is there such a formula for IF Like?

=IF(B2 LIKE "*404L*", B2, "")

I want to go through all value in B2 to see if there's a 404L in there.  If it is, just copy it to another cell, otherwise leave it empty.
0
Comment
Question by:holemania
2 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 2000 total points
ID: 35424684
Try using COUNTIF, i.e.

=IF(COUNTIF(B2,"*404L*"),B2,"")

regards, barry
0
 

Author Comment

by:holemania
ID: 35424719
Awesome.  Thanks.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question