#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 79
Default FORMULA NEEDED

IF Q1 CONTAINS THE WORD "OK", I NEED THE CELL TO READ "YES"

iS THERE ANYWHERE I CAN GO TO GET A BASIC HOW TO FOR CONSTRUCTING FORMULAS?
iF i JUST HAD A LIST OF WHAT SITUATIONS CALL FOR WHAT FORMATTING, I WOULD BE
FINE.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default FORMULA NEEDED

Try this:

=IF(Q1="ok","YES","something else")
or...maybe...
=IF(Q1="ok","YES","")

Is that something you can work with?

Whenever you have issues constructing a formula you'll probably get an
answer from this forum faster than you can find the answer in Excel Help.

(Also...messages in all capital letters indicate that you're shouting.)
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Angie" wrote in message
...
IF Q1 CONTAINS THE WORD "OK", I NEED THE CELL TO READ "YES"

iS THERE ANYWHERE I CAN GO TO GET A BASIC HOW TO FOR CONSTRUCTING
FORMULAS?
iF i JUST HAD A LIST OF WHAT SITUATIONS CALL FOR WHAT FORMATTING, I WOULD
BE
FINE.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,091
Default FORMULA NEEDED

You can purchase a book on Excel such as John Walkenbach's Excel 2003 Bible
or Excel 2007 Bible. And stop yelling. (That means using capitals).

Tyro

"Angie" wrote in message
...
IF Q1 CONTAINS THE WORD "OK", I NEED THE CELL TO READ "YES"

iS THERE ANYWHERE I CAN GO TO GET A BASIC HOW TO FOR CONSTRUCTING
FORMULAS?
iF i JUST HAD A LIST OF WHAT SITUATIONS CALL FOR WHAT FORMATTING, I WOULD
BE
FINE.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 79
Default FORMULA NEEDED

Sorry, I forget that Caps Lock is on.

No this isn't working. The cell contains the work "OK" along with other
phrases. THe cell value will not be "OK" This is where I meet my wall. I have
tried formulas with
=IF(Q1 but I cannot use =IF(Q1=

"Ron Coderre" wrote:

Try this:

=IF(Q1="ok","YES","something else")
or...maybe...
=IF(Q1="ok","YES","")

Is that something you can work with?

Whenever you have issues constructing a formula you'll probably get an
answer from this forum faster than you can find the answer in Excel Help.

(Also...messages in all capital letters indicate that you're shouting.)
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Angie" wrote in message
...
IF Q1 CONTAINS THE WORD "OK", I NEED THE CELL TO READ "YES"

iS THERE ANYWHERE I CAN GO TO GET A BASIC HOW TO FOR CONSTRUCTING
FORMULAS?
iF i JUST HAD A LIST OF WHAT SITUATIONS CALL FOR WHAT FORMATTING, I WOULD
BE
FINE.




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default FORMULA NEEDED

Then.....

Try this:
=IF(COUNTIF(Q1,"*ok*"),"YES","something else")

or..
=IF(COUNTIF(Q1,"*ok*"),"YES","")

Does that help?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)


"Angie" wrote in message
...
Sorry, I forget that Caps Lock is on.

No this isn't working. The cell contains the work "OK" along with other
phrases. THe cell value will not be "OK" This is where I meet my wall. I
have
tried formulas with
=IF(Q1 but I cannot use =IF(Q1=

"Ron Coderre" wrote:

Try this:

=IF(Q1="ok","YES","something else")
or...maybe...
=IF(Q1="ok","YES","")

Is that something you can work with?

Whenever you have issues constructing a formula you'll probably get an
answer from this forum faster than you can find the answer in Excel
Help.

(Also...messages in all capital letters indicate that you're shouting.)
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Angie" wrote in message
...
IF Q1 CONTAINS THE WORD "OK", I NEED THE CELL TO READ "YES"

iS THERE ANYWHERE I CAN GO TO GET A BASIC HOW TO FOR CONSTRUCTING
FORMULAS?
iF i JUST HAD A LIST OF WHAT SITUATIONS CALL FOR WHAT FORMATTING, I
WOULD
BE
FINE.








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default FORMULA NEEDED

Try it this way:

=IF(ISNUMBER(SEARCH("ok",Q1)),"YES","something else")

Allows you to look for the letters "OK" (case insensitive) within the
text in Q1.

Hope this helps.

Pete

On Mar 17, 4:36*pm, Angie wrote:
Sorry, I forget that Caps Lock is on.

No this isn't working. The cell contains the work "OK" along with other
phrases. THe cell value will not be "OK" This is where I meet my wall. I have
tried formulas with
=IF(Q1 *but I cannot use =IF(Q1=



"Ron Coderre" wrote:
Try this:


=IF(Q1="ok","YES","something else")
or...maybe...
=IF(Q1="ok","YES","")


Is that something you can work with?


Whenever you have issues constructing a formula you'll *probably get an
answer from *this forum faster than you can find the answer in *Excel Help.


(Also...messages in all capital letters indicate that you're shouting.)
--------------------------


Regards,


Ron
Microsoft MVP (Excel)
(XL2003, Win XP)


"Angie" wrote in message
...
IF Q1 CONTAINS THE WORD "OK", I NEED THE CELL TO READ "YES"


iS THERE ANYWHERE I CAN GO TO GET A BASIC HOW TO FOR CONSTRUCTING
FORMULAS?
iF i JUST HAD A LIST OF WHAT SITUATIONS CALL FOR WHAT FORMATTING, I WOULD
BE
FINE.- Hide quoted text -


- Show quoted text -


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 186
Default FORMULA NEEDED

Pete,
Thanks for the tip on "Search."
I didn't know that function existed.
--
Ken Hudson


"Pete_UK" wrote:

Try it this way:

=IF(ISNUMBER(SEARCH("ok",Q1)),"YES","something else")

Allows you to look for the letters "OK" (case insensitive) within the
text in Q1.

Hope this helps.

Pete

On Mar 17, 4:36 pm, Angie wrote:
Sorry, I forget that Caps Lock is on.

No this isn't working. The cell contains the work "OK" along with other
phrases. THe cell value will not be "OK" This is where I meet my wall. I have
tried formulas with
=IF(Q1 but I cannot use =IF(Q1=



"Ron Coderre" wrote:
Try this:


=IF(Q1="ok","YES","something else")
or...maybe...
=IF(Q1="ok","YES","")


Is that something you can work with?


Whenever you have issues constructing a formula you'll probably get an
answer from this forum faster than you can find the answer in Excel Help.


(Also...messages in all capital letters indicate that you're shouting.)
--------------------------


Regards,


Ron
Microsoft MVP (Excel)
(XL2003, Win XP)


"Angie" wrote in message
...
IF Q1 CONTAINS THE WORD "OK", I NEED THE CELL TO READ "YES"


iS THERE ANYWHERE I CAN GO TO GET A BASIC HOW TO FOR CONSTRUCTING
FORMULAS?
iF i JUST HAD A LIST OF WHAT SITUATIONS CALL FOR WHAT FORMATTING, I WOULD
BE
FINE.- Hide quoted text -


- Show quoted text -



  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default FORMULA NEEDED

You're welcome, Ken - thanks for feeding back.

If you want it to be case sensitive you can use the FIND function. The
problem with the above is that it would count a word like "book" if
that was in the string, but using something like "*ok*" couldn't
guarantee to find all OK's if the text began with OK.

Pete

On Mar 17, 10:32*pm, Ken Hudson
wrote:
Pete,
Thanks for the tip on "Search."
I didn't know that function existed.
--
Ken Hudson



"Pete_UK" wrote:
Try it this way:


=IF(ISNUMBER(SEARCH("ok",Q1)),"YES","something else")


Allows you to look for the letters "OK" (case insensitive) within the
text in Q1.


Hope this helps.


Pete


On Mar 17, 4:36 pm, Angie wrote:
Sorry, I forget that Caps Lock is on.


No this isn't working. The cell contains the work "OK" along with other
phrases. THe cell value will not be "OK" This is where I meet my wall. I have
tried formulas with
=IF(Q1 *but I cannot use =IF(Q1=


"Ron Coderre" wrote:
Try this:


=IF(Q1="ok","YES","something else")
or...maybe...
=IF(Q1="ok","YES","")


Is that something you can work with?


Whenever you have issues constructing a formula you'll *probably get an
answer from *this forum faster than you can find the answer in *Excel Help.


(Also...messages in all capital letters indicate that you're shouting.)
--------------------------


Regards,


Ron
Microsoft MVP (Excel)
(XL2003, Win XP)


"Angie" wrote in message
...
IF Q1 CONTAINS THE WORD "OK", I NEED THE CELL TO READ "YES"


iS THERE ANYWHERE I CAN GO TO GET A BASIC HOW TO FOR CONSTRUCTING
FORMULAS?
iF i JUST HAD A LIST OF WHAT SITUATIONS CALL FOR WHAT FORMATTING, I WOULD
BE
FINE.- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -


  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 79
Default FORMULA NEEDED

This work nicely, as well. Thank you!

"Pete_UK" wrote:

Try it this way:

=IF(ISNUMBER(SEARCH("ok",Q1)),"YES","something else")

Allows you to look for the letters "OK" (case insensitive) within the
text in Q1.

Hope this helps.

Pete

On Mar 17, 4:36 pm, Angie wrote:
Sorry, I forget that Caps Lock is on.

No this isn't working. The cell contains the work "OK" along with other
phrases. THe cell value will not be "OK" This is where I meet my wall. I have
tried formulas with
=IF(Q1 but I cannot use =IF(Q1=



"Ron Coderre" wrote:
Try this:


=IF(Q1="ok","YES","something else")
or...maybe...
=IF(Q1="ok","YES","")


Is that something you can work with?


Whenever you have issues constructing a formula you'll probably get an
answer from this forum faster than you can find the answer in Excel Help.


(Also...messages in all capital letters indicate that you're shouting.)
--------------------------


Regards,


Ron
Microsoft MVP (Excel)
(XL2003, Win XP)


"Angie" wrote in message
...
IF Q1 CONTAINS THE WORD "OK", I NEED THE CELL TO READ "YES"


iS THERE ANYWHERE I CAN GO TO GET A BASIC HOW TO FOR CONSTRUCTING
FORMULAS?
iF i JUST HAD A LIST OF WHAT SITUATIONS CALL FOR WHAT FORMATTING, I WOULD
BE
FINE.- Hide quoted text -


- Show quoted text -



  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 79
Default FORMULA NEEDED

Thank you, This worked well.

"Ron Coderre" wrote:

Then.....

Try this:
=IF(COUNTIF(Q1,"*ok*"),"YES","something else")

or..
=IF(COUNTIF(Q1,"*ok*"),"YES","")

Does that help?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)


"Angie" wrote in message
...
Sorry, I forget that Caps Lock is on.

No this isn't working. The cell contains the work "OK" along with other
phrases. THe cell value will not be "OK" This is where I meet my wall. I
have
tried formulas with
=IF(Q1 but I cannot use =IF(Q1=

"Ron Coderre" wrote:

Try this:

=IF(Q1="ok","YES","something else")
or...maybe...
=IF(Q1="ok","YES","")

Is that something you can work with?

Whenever you have issues constructing a formula you'll probably get an
answer from this forum faster than you can find the answer in Excel
Help.

(Also...messages in all capital letters indicate that you're shouting.)
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Angie" wrote in message
...
IF Q1 CONTAINS THE WORD "OK", I NEED THE CELL TO READ "YES"

iS THERE ANYWHERE I CAN GO TO GET A BASIC HOW TO FOR CONSTRUCTING
FORMULAS?
iF i JUST HAD A LIST OF WHAT SITUATIONS CALL FOR WHAT FORMATTING, I
WOULD
BE
FINE.








  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default FORMULA NEEDED

Glad to hear it, Angie - thanks for feeding back.

Pete

On Mar 18, 12:19*pm, Angie wrote:
This work nicely, as well. Thank you!



"Pete_UK" wrote:
Try it this way:


=IF(ISNUMBER(SEARCH("ok",Q1)),"YES","something else")


Allows you to look for the letters "OK" (case insensitive) within the
text in Q1.


Hope this helps.


Pete


On Mar 17, 4:36 pm, Angie wrote:
Sorry, I forget that Caps Lock is on.


No this isn't working. The cell contains the work "OK" along with other
phrases. THe cell value will not be "OK" This is where I meet my wall. I have
tried formulas with
=IF(Q1 *but I cannot use =IF(Q1=


"Ron Coderre" wrote:
Try this:


=IF(Q1="ok","YES","something else")
or...maybe...
=IF(Q1="ok","YES","")


Is that something you can work with?


Whenever you have issues constructing a formula you'll *probably get an
answer from *this forum faster than you can find the answer in *Excel Help.


(Also...messages in all capital letters indicate that you're shouting.)
--------------------------


Regards,


Ron
Microsoft MVP (Excel)
(XL2003, Win XP)


"Angie" wrote in message
...
IF Q1 CONTAINS THE WORD "OK", I NEED THE CELL TO READ "YES"


iS THERE ANYWHERE I CAN GO TO GET A BASIC HOW TO FOR CONSTRUCTING
FORMULAS?
iF i JUST HAD A LIST OF WHAT SITUATIONS CALL FOR WHAT FORMATTING, I WOULD
BE
FINE.- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -


  #12   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default FORMULA NEEDED

Is it possible to do this -

Search for the word 'ok' or 'allright' in a character string. For instance,
a sentence in cell A1, "I believe it would be ok" and a sentence "I think it
would be allright", should bring up the output 'Yes' in cell B1. If a string
doesnt have a set of certain words (in this case, 'ok' and 'allright'), then
bring up the output 'No'

"Tyro" wrote:

You can purchase a book on Excel such as John Walkenbach's Excel 2003 Bible
or Excel 2007 Bible. And stop yelling. (That means using capitals).

Tyro

"Angie" wrote in message
...
IF Q1 CONTAINS THE WORD "OK", I NEED THE CELL TO READ "YES"

iS THERE ANYWHERE I CAN GO TO GET A BASIC HOW TO FOR CONSTRUCTING
FORMULAS?
iF i JUST HAD A LIST OF WHAT SITUATIONS CALL FOR WHAT FORMATTING, I WOULD
BE
FINE.




  #13   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default FORMULA NEEDED


It may not be the best formula but it works

=IF(ISERROR(FIND("ok",A1,1)),IF(ISERROR(FIND("allr ight",A1,1)),"No","Yes"),"Yes")


--
mudraker
------------------------------------------------------------------------
mudraker's Profile: http://www.thecodecage.com/forumz/member.php?userid=18
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=24672

  #14   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default FORMULA NEEDED

Just to note - FIND is case-sensitive, whereas SEARCH is not. Also,
you don't really need to specify 1 as the third parameter.

Hope this helps.

Pete

On Nov 3, 10:10*pm, mudraker wrote:
It may not be the best formula but it works

=IF(ISERROR(FIND("ok",A1,1)),IF(ISERROR(FIND("allr ight",A1,1)),"No","Yes"),*"Yes")

--
mudraker
------------------------------------------------------------------------
mudraker's Profile:http://www.thecodecage.com/forumz/member.php?userid=18
View this thread:http://www.thecodecage.com/forumz/sh...ad.php?t=24672


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
Formula needed. FC Excel Discussion (Misc queries) 9 June 26th 09 12:51 AM
IF/AND/OR FORMULA HELP NEEDED Clark Excel Discussion (Misc queries) 3 October 4th 07 08:37 PM
Appropriate formula needed! Adnan Excel Discussion (Misc queries) 2 November 20th 06 06:01 PM
Formula help needed ! thegooner Excel Discussion (Misc queries) 1 July 26th 06 11:47 AM
Formula Set Up Needed unique Charts and Charting in Excel 2 December 4th 05 10:24 PM


All times are GMT +1. The time now is 04:11 PM.

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

About Us

"It's about Microsoft Excel"