+ Reply to Thread
Results 1 to 3 of 3

How do I put quotation marks ("") in an IF/THEN Function

  1. #1
    Registered User
    Join Date
    01-03-2009
    Location
    Southern California
    MS-Off Ver
    Excel 2007
    Posts
    8

    How do I put quotation marks ("") in an IF/THEN Function

    I have an IF/THEN function that looks to a cell that is populated by a dropdown list that contains inch marks ie 1/4" , 3/8", etc. The problem is that when the value of the cell is added into the function, the " mark screws up the function and it doesn't work.

    I don't need these values to be numeric as they are just "switches" to trigger different data sets.

    I have done a work-around by populating the list with decimal equivalents and making a custom cell format that converts them to fractions and then adds the ", but the dropdown has to show the decimals and not everyone using this spreadsheet can be trusted to know how to convert to fractions.

    How can I have the list populated with text ending in " and not have it mess with the function?
    Last edited by troyt; 01-05-2009 at 12:43 AM.

  2. #2
    Registered User
    Join Date
    01-03-2009
    Location
    Southern California
    MS-Off Ver
    Excel 2007
    Posts
    8
    An example:

    =IF(A1="1/4"","Cool","Not Cool")

    the second " is messing with my function

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    =IF(A1="1/4""", "Cool", "Not Cool")

    Please read the forum rules about thread titles before posting again, troy.
    Entia non sunt multiplicanda sine necessitate

+ 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