Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default If statement

How do you use a wildcard in an if statment.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default If statement

Hi
could you be more precise?
Do you mean something like
=IF(COUNTIF(A1,"*text*"),"'text' is within cell A1","")

--
Regards
Frank Kabel
Frankfurt, Germany


Dave wrote:
How do you use a wildcard in an if statment.

  #3   Report Post  
Posted to microsoft.public.excel.programming
dan dan is offline
external usenet poster
 
Posts: 113
Default If statement

Looking for something like :

if (a1="BL(whatever)", "Bug Light", "other")

info in cell A1 could be BH1 BJ3 BL1 BL2 BL3 VW4

-----Original Message-----
Hi
could you be more precise?
Do you mean something like
=IF(COUNTIF(A1,"*text*"),"'text' is within cell A1","")

--
Regards
Frank Kabel
Frankfurt, Germany


Dave wrote:
How do you use a wildcard in an if statment.

.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default If statement

Hi
=IF(COUNTIF(A1,"BL*"),"Bug Lighter","other")

--
Regards
Frank Kabel
Frankfurt, Germany


Dan wrote:
Looking for something like :

if (a1="BL(whatever)", "Bug Light", "other")

info in cell A1 could be BH1 BJ3 BL1 BL2 BL3 VW4

-----Original Message-----
Hi
could you be more precise?
Do you mean something like
=IF(COUNTIF(A1,"*text*"),"'text' is within cell A1","")

--
Regards
Frank Kabel
Frankfurt, Germany


Dave wrote:
How do you use a wildcard in an if statment.

.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IF statement inside a SUMIF statement.... or alternative method Sungibungi Excel Worksheet Functions 3 December 4th 09 06:22 PM
Reconcile Bank statement & Credit card statement & accounting data Bklynhyc Excel Worksheet Functions 0 October 7th 09 09:07 PM
Embedding an OR statement in an IF statement efficiently Chatnoir11 Excel Discussion (Misc queries) 4 February 2nd 09 08:12 PM
If statement or lookup statement not sure Renegade40 Excel Worksheet Functions 2 January 18th 09 06:11 AM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM


All times are GMT +1. The time now is 12:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"