+ Reply to Thread
Results 1 to 4 of 4

Quote within quotes

  1. #1
    Registered User
    Join Date
    02-08-2010
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    52

    Quote within quotes

    Hi all,

    I have an if statement which requires text if true but the text needs to include quotes, for example:

    if(a1=0,"Lost "1" today","")

    I'm getting an error including "1" due to the additional quotes.

    Any help? I'm sure I've resolved this in the past but I can't remember how.

    Thanks

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Quote within quotes

    Try

    =IF(A1=0,"Lost ""1"" today","")

  3. #3
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    848

    Re: Quote within quotes

    Use double quotes
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    02-08-2010
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    52

    Re: Quote within quotes

    Perfect thank you very much!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1