Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 61
Default Wildcard Character in IF formulas

Is it possible to use wildcard characters in an IF formula? I tried
=IF(OR(H8="E*",H8="R*")=TRUE,AA12,0) but this did not work. Any help would
be appreciated

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Wildcard Character in IF formulas

Try it like this:

=IF(OR(LEFT(H8,1)="E",LEFT(H8,1)="R"),AA12,0)

Hope this helps.

Pete

On Jul 25, 1:54*pm, lightbulb
wrote:
Is it possible to use wildcard characters in an IF formula? *I tried
=IF(OR(H8="E*",H8="R*")=TRUE,AA12,0) but this did not work. *Any help would
be appreciated

Thanks!


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 169
Default Wildcard Character in IF formulas

you can use this as your conditional test

OR(COUNTIF(G46,"*A*"),COUNTIF(G46,"*A*"))

COUNTIF and SUMIF support wildcards

--
Tips for Excel, Word, PowerPoint and Other Applications
http://www.kan.org/tips


"lightbulb" wrote:

Is it possible to use wildcard characters in an IF formula? I tried
=IF(OR(H8="E*",H8="R*")=TRUE,AA12,0) but this did not work. Any help would
be appreciated

Thanks!

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
Wildcard Character Placement in MS Query DT Excel Discussion (Misc queries) 0 November 14th 07 10:04 PM
Wildcard character in MS Query Grd Excel Discussion (Misc queries) 2 November 5th 07 10:31 PM
How do I use the wildcard character and the NOT function? KDA Excel Worksheet Functions 1 June 24th 05 04:36 PM
Wildcard character agenda9533 Excel Discussion (Misc queries) 1 May 11th 05 05:11 PM
Wildcard Character John Excel Worksheet Functions 7 November 30th 04 10:54 PM


All times are GMT +1. The time now is 01:30 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"