+ Reply to Thread
Results 1 to 3 of 3

IF SUMPRODUCT with an exception question

  1. #1
    Registered User
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2003
    Posts
    41

    Question IF SUMPRODUCT with an exception question

    I have the following formula to give me an alert every time the formula catches a bond rating that has "Ca", "Caa" or "D" in the cell. The problem is that many of the reference cells have #N/A Invalid Security in them and thus have a "D" since that letter is in the word 'Invalid'.

    How do I modify this formula to exclude all cells that have "Invalid" in the cell??


    =IF(SUMPRODUCT(--(NOT(ISERR(SEARCH({"Ca","Caa","D"},C5)))))>0,"Alert","")

    Thanks Again!!

    Mark

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: IF SUMPRODUCT with an exception question

    If its always a Capital D use FIND instead, which is case sensitive

    =IF(SUMPRODUCT(--(NOT(ISERR(SEARCH({"Ca","Caa","D"},C5)))))>0,"Alert","")
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    12-16-2014
    Location
    Amsterdam, Nederland
    MS-Off Ver
    Excel 2013
    Posts
    71

    Re: IF SUMPRODUCT with an exception question

    Hi,

    Try this one.

    Bas
    Attached Files Attached Files

+ 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. Sumproduct question
    By kwright90 in forum Excel General
    Replies: 4
    Last Post: 05-09-2008, 04:51 PM
  2. sumproduct question
    By JenC in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-08-2008, 04:46 PM
  3. [SOLVED] Sumproduct question
    By Barb Reinhardt in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-26-2006, 12:20 PM
  4. [SOLVED] sumproduct question
    By Dominique Feteau in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  5. [SOLVED] SumProduct Question
    By syrac in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM

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