Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default substiute formula = subing something to "

I'm writing a subsitute formula and want to replace %20 with "
but when I write =SUBSTITUTE(D3,"%20",""") I get an error and Excel makes me
do =SUBSTITUTE(D3,"%20","""")

Any way around this??

help!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default substiute formula = subing something to "

=SUBSTITUTE(D3,"%20","")


"gcelis81" wrote:

I'm writing a subsitute formula and want to replace %20 with "
but when I write =SUBSTITUTE(D3,"%20",""") I get an error and Excel makes me
do =SUBSTITUTE(D3,"%20","""")

Any way around this??

help!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default substiute formula = subing something to "

I don't know how to cancel this, but I found out that even though the formula
is changing, it still outputs "

"gcelis81" wrote:

I'm writing a subsitute formula and want to replace %20 with "
but when I write =SUBSTITUTE(D3,"%20",""") I get an error and Excel makes me
do =SUBSTITUTE(D3,"%20","""")

Any way around this??

help!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default substiute formula = subing something to "

Have you looked at the result? To represent a " symbol within a string
(delimited by a pair of " symbols), you need to double up the " symbol, but
your substitution will result in one " in place the %20.
--
David Biddulph

"gcelis81" wrote in message
...
I'm writing a subsitute formula and want to replace %20 with "
but when I write =SUBSTITUTE(D3,"%20",""") I get an error and Excel makes
me
do =SUBSTITUTE(D3,"%20","""")

Any way around this??

help!



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default substiute formula = subing something to "

On Mon, 19 Mar 2007 12:22:03 -0700, gcelis81
wrote:

I'm writing a subsitute formula and want to replace %20 with "
but when I write =SUBSTITUTE(D3,"%20",""") I get an error and Excel makes me
do =SUBSTITUTE(D3,"%20","""")

Any way around this??

help!


What is wrong with your result?

If D3 contains a string which contains %20 then your corrected formula will
substitute one double quote for the %20.

What, exactly, is in D3?
What, exactly do you want for a result?

In Excel, when you are quoting quotes, you must double the interior quotes.
--ron


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 66
Default substitute formula = subing something to "

gcelis81 wrote:
I'm writing a subsitute formula and want to replace %20 with "
but when I write =SUBSTITUTE(D3,"%20",""") I get an error and Excel makes me
do =SUBSTITUTE(D3,"%20","""")

Any way around this??

help!


Try =SUBSTITUTE(D3, %20, CHAR(34))

Beege
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 to show "Yes" if paid, "No" if not Amanda Excel Worksheet Functions 2 December 30th 06 06:08 PM
How do I use the "if" and "round" function in the same formula ? carl Excel Worksheet Functions 2 April 27th 06 04:37 PM
Can you replace "TRUE" with " " in an exact formula? Sweetetc Excel Worksheet Functions 2 February 10th 06 01:11 PM
conditional formula to show "open" or "closed" SBS Excel Worksheet Functions 6 January 28th 06 01:48 AM
"IF"- "THEN" type Formula based on Null value Jay Excel Worksheet Functions 8 November 17th 05 09:05 AM


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