Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Perform search for a one letter match.

Hello all,

I'm looking to find one letter "Q" in column F (value is F has mix # and
letter that can range from 5 to 10 characters), and then return the as y or
true in another cell from the same row. Is there a formula to perform this
task?
Thank you in advance for your help!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
Default Perform search for a one letter match.

Assuming your data starts in Row 2, put this in Row 2 of whatever column you
want your "Y" to be shown in and copy it down...

=IF(COUNTIF(F2,"*Q*"),"Y","")

--
Rick (MVP - Excel)


"binh" wrote in message
...
Hello all,

I'm looking to find one letter "Q" in column F (value is F has mix # and
letter that can range from 5 to 10 characters), and then return the as y
or
true in another cell from the same row. Is there a formula to perform
this
task?
Thank you in advance for your help!


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Perform search for a one letter match.

Case-sensitive
=IF(ISNUMBER(SEARCH("Q",F2)),"Y","N")
Non-case-sensitive
=IF(ISNUMBER(SEARCH("q",F2)),"Y","N")

Copy down as desired.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"binh" wrote:

Hello all,

I'm looking to find one letter "Q" in column F (value is F has mix # and
letter that can range from 5 to 10 characters), and then return the as y or
true in another cell from the same row. Is there a formula to perform this
task?
Thank you in advance for your help!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Perform search for a one letter match.

Case-sensitive
=IF(ISNUMBER(SEARCH("Q",F2)),"Y","N")


Case-sensitive? Hmmm


"Luke M" wrote:

Case-sensitive
=IF(ISNUMBER(SEARCH("Q",F2)),"Y","N")
Non-case-sensitive
=IF(ISNUMBER(SEARCH("q",F2)),"Y","N")

Copy down as desired.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"binh" wrote:

Hello all,

I'm looking to find one letter "Q" in column F (value is F has mix # and
letter that can range from 5 to 10 characters), and then return the as y or
true in another cell from the same row. Is there a formula to perform this
task?
Thank you in advance for your help!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Perform search for a one letter match.

Argh, you got me! Forgot to change the function to:
=IF(ISNUMBER(FIND("Q",F2)),"Y","N")

Thanks for pointing that out!

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Teethless mama" wrote:

Case-sensitive
=IF(ISNUMBER(SEARCH("Q",F2)),"Y","N")


Case-sensitive? Hmmm


"Luke M" wrote:

Case-sensitive
=IF(ISNUMBER(SEARCH("Q",F2)),"Y","N")
Non-case-sensitive
=IF(ISNUMBER(SEARCH("q",F2)),"Y","N")

Copy down as desired.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"binh" wrote:

Hello all,

I'm looking to find one letter "Q" in column F (value is F has mix # and
letter that can range from 5 to 10 characters), and then return the as y or
true in another cell from the same row. Is there a formula to perform this
task?
Thank you in advance for your help!



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Perform search for a one letter match.

Thank you again for your help, and it works!
Regards,
Binh
--
Thank you in advance for your help!


"Luke M" wrote:

Case-sensitive
=IF(ISNUMBER(SEARCH("Q",F2)),"Y","N")
Non-case-sensitive
=IF(ISNUMBER(SEARCH("q",F2)),"Y","N")

Copy down as desired.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"binh" wrote:

Hello all,

I'm looking to find one letter "Q" in column F (value is F has mix # and
letter that can range from 5 to 10 characters), and then return the as y or
true in another cell from the same row. Is there a formula to perform this
task?
Thank you in advance for your help!

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
Lookup 2 columns of data, perform, match, output results John Excel Worksheet Functions 2 September 26th 08 11:30 AM
search for words with capital letter at end Roger on Excel Excel Discussion (Misc queries) 7 July 22nd 08 07:19 PM
why is there no excel11.xlb file when I perform a search? chuckdtke Excel Discussion (Misc queries) 3 December 14th 07 10:45 PM
How to perform Search and Replace on "Tilde", CHAR(126), ~ [email protected] Excel Worksheet Functions 2 March 28th 07 06:57 PM
search in the entire sheet for different letter and cal. Peter FS Excel Worksheet Functions 7 June 18th 05 11:59 PM


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