Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 79
Default 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!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default 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!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default 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!



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 79
Default 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!




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default 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!






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
How can I add quote marks around cell contents? Shotsy Excel Discussion (Misc queries) 3 October 4th 08 07:51 PM
How do I force quote marks when exporting to a csv? brussteck Excel Discussion (Misc queries) 1 August 28th 07 09:57 PM
Quote Marks Through VBA [email protected] Excel Discussion (Misc queries) 12 November 16th 06 05:20 PM
Quote marks in Formulas passed from VB Script in Excel Graysailor Excel Worksheet Functions 2 September 26th 06 07:29 PM
How to keep quote marks for CSV in excel Matt Excel Discussion (Misc queries) 0 August 1st 06 12:30 AM


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