+ Reply to Thread
Results 1 to 4 of 4

IF statement missing parenthesis in formula

  1. #1
    Registered User
    Join Date
    07-04-2009
    Location
    Sacramento, CA
    MS-Off Ver
    Excel 2013
    Posts
    14

    IF statement missing parenthesis in formula

    Can anyone see what I am missing here? Your help is greatly appreciated.

    Message received, "your formula is missing --) or (. Check the formula and then add the parenthesis in the appropriate place. The following is one long string. I broke it up to make it easier to read.

    =IF(OR(ISNUMBER(FIND("J",M117)),K114,
    OR(ISNUMBER(FIND("S",M117,)),K112,
    OR(ISNUMBER(FIND("HOH",M117,)),K117,
    OR(ISNUMBER(FIND("MF",M117)),K113,
    OR(ISNUMBER(FIND("QW",M117)),K116,
    OR(ISNUMBER(FIND("B",M117)),K115,0

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: IF statement missing parenthesis in formula

    Try changing the OR's to IF's...
    =IF(ISNUMBER(FIND("J",M117)),K114,
    IF(ISNUMBER(FIND("S",M117,)),K112,
    IF(ISNUMBER(FIND("HOH",M117,)),K117,
    IF(ISNUMBER(FIND("MF",M117)),K113,
    IF(ISNUMBER(FIND("QW",M117)),K116,
    IF(ISNUMBER(FIND("B",M117)),K115,0))))))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    07-04-2009
    Location
    Sacramento, CA
    MS-Off Ver
    Excel 2013
    Posts
    14

    Re: IF statement missing parenthesis in formula

    Thank you, your changes worked. I'm not sure where the thread tool is located to mark this solved or the star. I must be blind today

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: IF statement missing parenthesis in formula

    Use "Thread Tools" towards the top of the screen (Just above your 1st post here)

    To add rep points, click on the star on the botton left of any member's post (it says "add reputation")

    I will add that if you have many more criteria to test, it may be better to look at a different approach, maybe vlookup and a small table

+ 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] Formula missing parenthesis
    By katieshields in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-06-2014, 03:44 AM
  2. [SOLVED] Formula that removes chars in parenthesis regardless of length.
    By Jhail83 in forum Excel Formulas & Functions
    Replies: 23
    Last Post: 08-15-2013, 01:13 PM
  3. Missing parenthesis
    By docrobo in forum Excel General
    Replies: 3
    Last Post: 10-23-2011, 05:18 PM
  4. Series in parenthesis of formula
    By andersb in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-12-2011, 04:41 AM
  5. [SOLVED] Formula Split or parenthesis problem?
    By nastech in forum Excel General
    Replies: 0
    Last Post: 01-15-2006, 09:10 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