ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Quotation Marks as Text (https://www.excelbanter.com/excel-discussion-misc-queries/197384-quotation-marks-text.html)

Kelly C

Quotation Marks as Text
 
Quotation marks as text

I am using Excels IF Function to generate text that will be used in another
application. The text will be savedd to Tab delimited file and then imported
into the new application. That new application requires text strings be
enclosed in quotation marks. The problem is I cant get Excels IF formula
to accept Quotation marks within Quotation marks or stated another way I
cant get Quotation Marks as part of my text string. Is there a way to get
around this?

Thanks
Kelly


RagDyeR

Quotation Marks as Text
 
Something like this:

=IF(N10,"""OK""","""NG""")

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Kelly C" <Kelly wrote in message
...
Quotation marks as text

I am using Excels IF Function to generate text that will be used in

another
application. The text will be savedd to Tab delimited file and then

imported
into the new application. That new application requires text strings be
enclosed in quotation marks. The problem is I cant get Excels IF

formula
to accept Quotation marks within Quotation marks or stated another way I
cant get Quotation Marks as part of my text string. Is there a way to

get
around this?

Thanks
Kelly



Per Jessen

Quotation Marks as Text
 
Hi Kelly

Look at this example:

=IF(A1=1,"""True""","""False""")

Hopes it helps.

Regards,
Per
"Kelly C" <Kelly skrev i meddelelsen
...
Quotation marks as text

I am using Excels IF Function to generate text that will be used in
another
application. The text will be savedd to Tab delimited file and then
imported
into the new application. That new application requires text strings be
enclosed in quotation marks. The problem is I cant get Excels IF
formula
to accept Quotation marks within Quotation marks or stated another way I
cant get Quotation Marks as part of my text string. Is there a way to
get
around this?

Thanks
Kelly




All times are GMT +1. The time now is 02:16 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com