![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Location: Hong Kong
Posts: 5
|
Hello guys, I would like to set a formula to search the remark field that contains the word "pass", but I found out I could not use * in the IF formula, can anyone help me?
|
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Feb 2002
Location: Huntington Beach, CA USA
Posts: 327
|
Hi,
"*" is Excels multiplication symbol? James |
|
|
|
|
|
#3 | |
|
Join Date: Apr 2002
Posts: 12
|
Quote:
What are you trying to do? |
|
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
|
Quote:
Regards!
__________________
Regards! Yogi Anand, D.Eng, P.E. Energy Efficient Building Network LLC www.energyefficientbuild.com |
|
|
|
|
|
|
#5 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Provide a precise problem statement, sample data, and expected results.
|
|
|
|
|
|
#6 |
|
Board Regular
Join Date: Apr 2002
Location: Minnesota
Posts: 821
|
Try:
=IF(ISERR(FIND("PASS",C4,1)>0),"your message or action if pass is not found","your message if pass is found") This looks for the text PASS in C4 beginning a the first character and returns the position in the string where it found it. It returns an error if it is not found, thus the ISERR You can remove the quotes is you want a number entered in the cell instead. Forgot to mention that the "PASS" is case-sensitive. [ This Message was edited by: klb on 2002-05-09 10:17 ] |
|
|
|
|
|
#7 |
|
MrExcel MVP
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
|
Forgot to mention that the "PASS" is case-sensitive.
Hi klb: Just to extend your point a little further, one can use the SEARCH function instead of FIND -- since SEARCH is not case sensitive. Regards!
__________________
Regards! Yogi Anand, D.Eng, P.E. Energy Efficient Building Network LLC www.energyefficientbuild.com |
|
|
|
|
|
#8 |
|
New Member
Join Date: Apr 2002
Location: Hong Kong
Posts: 5
|
Thank you very much klb!
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|