#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Excel formula help

Hi, I am trying to search for inverted commas in a text string using the
search formula, I tried to put the inverted comma within inverted commas but
that did not work i.e. =SEARCH(""",B2,1) ....thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Excel formula help

Do you mean you're looking for double quotes " ?

A1 = look "for" this

=FIND("""",A2)

That's 4 double quotes " " " "

--
Biff
Microsoft Excel MVP


"Simon S" wrote in message
...
Hi, I am trying to search for inverted commas in a text string using the
search formula, I tried to put the inverted comma within inverted commas
but
that did not work i.e. =SEARCH(""",B2,1) ....thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Excel formula help

=SEARCH("""",B2,1)

OR

=SEARCH(CHAR(34),B2)

If this post helps click Yes
---------------
Jacob Skaria


"Simon S" wrote:

Hi, I am trying to search for inverted commas in a text string using the
search formula, I tried to put the inverted comma within inverted commas but
that did not work i.e. =SEARCH(""",B2,1) ....thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Excel formula help

it worked thanks =SEARCH(CHAR(34),B2)

"Jacob Skaria" wrote:

=SEARCH("""",B2,1)

OR

=SEARCH(CHAR(34),B2)

If this post helps click Yes
---------------
Jacob Skaria


"Simon S" wrote:

Hi, I am trying to search for inverted commas in a text string using the
search formula, I tried to put the inverted comma within inverted commas but
that did not work i.e. =SEARCH(""",B2,1) ....thanks

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Excel formula help

No just searhing for one lot, Jacobs answer worked, thanks anyway

"T. Valko" wrote:

Do you mean you're looking for double quotes " ?

A1 = look "for" this

=FIND("""",A2)

That's 4 double quotes " " " "

--
Biff
Microsoft Excel MVP


"Simon S" wrote in message
...
Hi, I am trying to search for inverted commas in a text string using the
search formula, I tried to put the inverted comma within inverted commas
but
that did not work i.e. =SEARCH(""",B2,1) ....thanks






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Excel formula help

No just one lot, Jacobs CHAR34 worked, thanks anyway

"T. Valko" wrote:

Do you mean you're looking for double quotes " ?

A1 = look "for" this

=FIND("""",A2)

That's 4 double quotes " " " "

--
Biff
Microsoft Excel MVP


"Simon S" wrote in message
...
Hi, I am trying to search for inverted commas in a text string using the
search formula, I tried to put the inverted comma within inverted commas
but
that did not work i.e. =SEARCH(""",B2,1) ....thanks




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Excel formula help

Ooops!

A1 = look "for" this
=FIND("""",A2)


Should be:

=FIND("""",A1)

I've had a lot of ooopses the last couple of days!


--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
Do you mean you're looking for double quotes " ?

A1 = look "for" this

=FIND("""",A2)

That's 4 double quotes " " " "

--
Biff
Microsoft Excel MVP


"Simon S" wrote in message
...
Hi, I am trying to search for inverted commas in a text string using the
search formula, I tried to put the inverted comma within inverted commas
but
that did not work i.e. =SEARCH(""",B2,1) ....thanks





  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Excel formula help

No just one lot, Jacobs CHAR34 worked, thanks anyway
"T. Valko" wrote:

Do you mean you're looking for double quotes " ?

A1 = look "for" this

=FIND("""",A2)

That's 4 double quotes " " " "

--
Biff
Microsoft Excel MVP


"Simon S" wrote in message
...
Hi, I am trying to search for inverted commas in a text string using the
search formula, I tried to put the inverted comma within inverted commas
but
that did not work i.e. =SEARCH(""",B2,1) ....thanks




  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default Excel formula help

I'm not saying that Jacob's solution doesn't work, but so does Valko's

=FIND("""",A1)
or
=FIND(CHAR(34),A1)

both work and are shorter then SEARCH.

As was stated this is four double-quotes in a row!

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Simon S" wrote:

it worked thanks =SEARCH(CHAR(34),B2)

"Jacob Skaria" wrote:

=SEARCH("""",B2,1)

OR

=SEARCH(CHAR(34),B2)

If this post helps click Yes
---------------
Jacob Skaria


"Simon S" wrote:

Hi, I am trying to search for inverted commas in a text string using the
search formula, I tried to put the inverted comma within inverted commas but
that did not work i.e. =SEARCH(""",B2,1) ....thanks

  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Excel formula help

I'll have to remember CHAR(34). That seems less cryptic.

--
Biff
Microsoft Excel MVP


"Jacob Skaria" wrote in message
...
=SEARCH("""",B2,1)

OR

=SEARCH(CHAR(34),B2)

If this post helps click Yes
---------------
Jacob Skaria


"Simon S" wrote:

Hi, I am trying to search for inverted commas in a text string using the
search formula, I tried to put the inverted comma within inverted commas
but
that did not work i.e. =SEARCH(""",B2,1) ....thanks





  #11   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Excel formula help

I'm pretty sure my suggestion works. If it didn't work for you you'd have
give me more detail as to what *exactly* you're trying to do.

--
Biff
Microsoft Excel MVP


"Simon S" wrote in message
...
No just one lot, Jacobs CHAR34 worked, thanks anyway
"T. Valko" wrote:

Do you mean you're looking for double quotes " ?

A1 = look "for" this

=FIND("""",A2)

That's 4 double quotes " " " "

--
Biff
Microsoft Excel MVP


"Simon S" wrote in message
...
Hi, I am trying to search for inverted commas in a text string using
the
search formula, I tried to put the inverted comma within inverted
commas
but
that did not work i.e. =SEARCH(""",B2,1) ....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
Excel 2002 Formula: Urgent Conditional Formula Required Right Away - if possible blue[_2_] Excel Discussion (Misc queries) 2 July 11th 07 06:08 PM
Build excel formula using field values as text in the formula val kilbane Excel Worksheet Functions 2 April 18th 07 01:52 PM
Excel Formula Doesn't Execute (Shows formula-not the calcuation) Keys1970 Excel Discussion (Misc queries) 4 November 15th 06 02:12 PM
Excel 2002 formula displayed not value formula option not checked Dean Excel Worksheet Functions 1 February 28th 06 02:31 PM
Converting an Excel formula to an Access query formula Adam Excel Discussion (Misc queries) 1 December 15th 04 03:38 AM


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