ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Writing formula to include quote marks in result (https://www.excelbanter.com/excel-worksheet-functions/221474-writing-formula-include-quote-marks-result.html)

Valerie

Writing formula to include quote marks in result
 
I have an if/then formula that depending on the contents of a cell I want it
to return one of 3 results. The formula works fine, except I want part of
the text result in quotation marks:

Col "M"
Col "N"

etc. Normal thinking in the formula puts it as
,"Col "M"","Col "N""

but this does not work. Any suggestions? Thanks in advance!

Bob Phillips[_3_]

Writing formula to include quote marks in result
 
"Col ""M"""

--
__________________________________
HTH

Bob

"Valerie" wrote in message
...
I have an if/then formula that depending on the contents of a cell I want
it
to return one of 3 results. The formula works fine, except I want part of
the text result in quotation marks:

Col "M"
Col "N"

etc. Normal thinking in the formula puts it as
,"Col "M"","Col "N""

but this does not work. Any suggestions? Thanks in advance!




T. Valko

Writing formula to include quote marks in result
 
Try it like this:

=IF(.....,"Col ""M""","Col ""N""")

--
Biff
Microsoft Excel MVP


"Valerie" wrote in message
...
I have an if/then formula that depending on the contents of a cell I want
it
to return one of 3 results. The formula works fine, except I want part of
the text result in quotation marks:

Col "M"
Col "N"

etc. Normal thinking in the formula puts it as
,"Col "M"","Col "N""

but this does not work. Any suggestions? Thanks in advance!




Valerie

Writing formula to include quote marks in result
 
Perfect!! Thanks!!!! You guys are life-savers!

"T. Valko" wrote:

Try it like this:

=IF(.....,"Col ""M""","Col ""N""")

--
Biff
Microsoft Excel MVP


"Valerie" wrote in message
...
I have an if/then formula that depending on the contents of a cell I want
it
to return one of 3 results. The formula works fine, except I want part of
the text result in quotation marks:

Col "M"
Col "N"

etc. Normal thinking in the formula puts it as
,"Col "M"","Col "N""

but this does not work. Any suggestions? Thanks in advance!





T. Valko

Writing formula to include quote marks in result
 
You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Valerie" wrote in message
...
Perfect!! Thanks!!!! You guys are life-savers!

"T. Valko" wrote:

Try it like this:

=IF(.....,"Col ""M""","Col ""N""")

--
Biff
Microsoft Excel MVP


"Valerie" wrote in message
...
I have an if/then formula that depending on the contents of a cell I
want
it
to return one of 3 results. The formula works fine, except I want part
of
the text result in quotation marks:

Col "M"
Col "N"

etc. Normal thinking in the formula puts it as
,"Col "M"","Col "N""

but this does not work. Any suggestions? Thanks in advance!








All times are GMT +1. The time now is 06:59 AM.

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