Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default double quotes syntax required

I need for this :

="Yes"

to appear in a cell. That cell is used in turn as part of a DCOUNT
forumla to describe a set of criteria

my problem is if I enter

="Yes" in that cell what actually appears is simply

Yes

The only other way I can think is to abuse CONCATENATE e.g.

=CONCATENATE("="Yes"")

but there are too many quotes.

I'm guessing there's a syntax issue to resolve, but can't figure it out?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 104
Default double quotes syntax required

Brotherharry, try this

A1= '="Yes" or Range("A1").Formula = '="Yes"


enjoy, Rick





wrote in message
oups.com...
I need for this :

="Yes"

to appear in a cell. That cell is used in turn as part of a DCOUNT
forumla to describe a set of criteria

my problem is if I enter

="Yes" in that cell what actually appears is simply

Yes

The only other way I can think is to abuse CONCATENATE e.g.

=CONCATENATE("="Yes"")

but there are too many quotes.

I'm guessing there's a syntax issue to resolve, but can't figure it out?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default double quotes syntax required

Thanks. discovered I can use multiple quotes
e.g.
=CONCATENATE("=","""Yes""")

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default double quotes syntax required

If you just want =Yes you have to change your formula a bit:
=CONCATENATE("=";"Yes")

You could also use: ="="&"Yes"

If you want ="Yes" the formula should be
=CONCATENATE("=";"'";"'";"Yes";"'";"'")


wrote in message
oups.com...
I need for this :

="Yes"

to appear in a cell. That cell is used in turn as part of a DCOUNT
forumla to describe a set of criteria

my problem is if I enter

="Yes" in that cell what actually appears is simply

Yes

The only other way I can think is to abuse CONCATENATE e.g.

=CONCATENATE("="Yes"")

but there are too many quotes.

I'm guessing there's a syntax issue to resolve, but can't figure it out?



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
Double Quotes [email protected] New Users to Excel 2 July 20th 08 12:43 PM
Double Quotes PeterM Excel Discussion (Misc queries) 5 June 17th 08 05:12 PM
double quotes when saving in CSV Kozmos241 Excel Programming 2 February 25th 05 08:51 PM
Double Quotes Ed Excel Programming 1 January 13th 04 01:13 AM
Double Quotes Ed Excel Programming 1 January 12th 04 09:18 PM


All times are GMT +1. The time now is 04:12 AM.

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"