+ Reply to Thread
Results 1 to 6 of 6

formula logic for cells containg a quotation marks

  1. #1
    Registered User
    Join Date
    06-03-2014
    Location
    Canton, MI
    MS-Off Ver
    2010
    Posts
    7

    formula logic for cells containg a quotation marks

    im trying to write a formula which looks in cell AV10 and labels any data less than 8 characters, and containing quotation marks as "check F1" if not "na"

    it was working fine until i tried to add the quotation mark part

    here is what i have and there is something wrong with it:

    =IF(AND((AV10<>""),(LEN(AV10))<8),(ISNUMBER(FIND("""",AV10))"check F1","na")


    appreciate the help!!

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,797

    Re: formula logic for cells containg a quotation marks

    Your parentheses and commas are kind of mixed up. Try this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    I think this also will work, since any cell that passes the third test will also pass the first, so the first is unnecessary:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by 6StringJazzer; 06-05-2014 at 03:03 PM. Reason: added second formula
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    06-03-2014
    Location
    Canton, MI
    MS-Off Ver
    2010
    Posts
    7

    Re: formula logic for cells containg a quotation marks

    im sorry. i explained that incorrectly.

    something in the cell

    AND

    (less than 8 characters

    OR

    contains a quotation mark)

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,797

    Re: formula logic for cells containg a quotation marks

    Well then, let's try this

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    06-03-2014
    Location
    Canton, MI
    MS-Off Ver
    2010
    Posts
    7

    Re: formula logic for cells containg a quotation marks

    IT WORKS!!!! Thanks so much!!

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,797

    Re: formula logic for cells containg a quotation marks

    You're welcome! Thanks for the rep, and thanks for marking your thread Solved!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Trouble with quotation marks in formula
    By jprlimey in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-02-2014, 03:17 PM
  2. inserting a formula with VBA that has quotation marks
    By luv2glyd in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-16-2010, 06:11 PM
  3. Wrap selected cells with quotation marks
    By Vestlink in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-30-2006, 08:44 AM
  4. Inserting Quotation Marks in all Cells
    By confused in forum Excel General
    Replies: 4
    Last Post: 10-19-2005, 09:05 AM
  5. Replies: 0
    Last Post: 07-28-2005, 10:05 PM

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