+ Reply to Thread
Results 1 to 7 of 7

Include an OR inside the sumproduct function

  1. #1
    Registered User
    Join Date
    01-29-2021
    Location
    Canada
    MS-Off Ver
    2019
    Posts
    93

    Include an OR inside the sumproduct function

    Hello, I have 2 formulas SUMPRODUCT(--ISNUMBER(SEARCH .... and wanted to ask how can I make both in one formula with OR

    =IF(CE$2="NO",0,IF(SUMPRODUCT(--ISNUMBER(SEARCH(","&$BB$43:$BG$43 & ",",","&AX9 & ",")))>=$CE$3,0,1))
    =IF(CE$2="NO",0,IF(SUMPRODUCT(--ISNUMBER(SEARCH(","&$BB$44:$BG$44 & ",",","&AX9 & ",")))>=$CE$3,0,1))

    I know * is or but couldn't figure it out when using isnumber and search with it.

    I really appreciate your helps
    Last edited by Excl3454; 07-20-2023 at 07:50 PM.

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Include an OR inside the sumproduct function

    is this part a typo? $BB$43:$BGB$43
    because your other formula looks at BB44:BG44
    not being able to see the formulas in action, I wonder if you would be able to change the $BB$43:$BG$44 as it appears you are searching for the same things in both parts unless the BGB part isn't a typo.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Registered User
    Join Date
    01-29-2021
    Location
    Canada
    MS-Off Ver
    2019
    Posts
    93

    Re: Include an OR inside the sumproduct function

    Quote Originally Posted by Sam Capricci View Post
    is this part a typo? $BB$43:$BGB$43
    because your other formula looks at BB44:BG44
    not being able to see the formulas in action, I wonder if you would be able to change the $BB$43:$BG$44 as it appears you are searching for the same things in both parts unless the BGB part isn't a typo.
    yes im sorry , its is $BB$43:$BG$43 , and I m searching fo rnumber of matches in cell value $CE$3.
    Thanks

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Include an OR inside the sumproduct function

    a sample workbook would be helpful unless you tried this...
    =IF(CE$2="NO",0,IF(SUMPRODUCT(--ISNUMBER(SEARCH(","&$BB$43:$BG$44 & ",",","&AX9 & ",")))>=$CE$3,0,1))
    and it worked?
    it appears to me that you are looking for the same info in each row, I'm not completely sure where to insert the OR. That is why a simplified sample workbook would be helpful WITH expected results (see yellow banner at the top of the post for instructions about uploading one).

  5. #5
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,433

    Re: Include an OR inside the sumproduct function

    Please try

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by HansDouwe; 07-20-2023 at 08:00 PM.

  6. #6
    Registered User
    Join Date
    01-29-2021
    Location
    Canada
    MS-Off Ver
    2019
    Posts
    93

    Re: Include an OR inside the sumproduct function

    Quote Originally Posted by HansDouwe View Post
    Please try

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thank you so much! Very nice of you and it solved my problem 🙏

  7. #7
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,433

    Re: Include an OR inside the sumproduct function

    Thanks for the feedback and rep . Glad to have helped.

+ 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. Include inequality inside cell for IF formula condition
    By puzzlelover22 in forum Excel General
    Replies: 3
    Last Post: 10-21-2016, 03:16 PM
  2. Replies: 18
    Last Post: 01-02-2014, 02:49 PM
  3. Use of OR function inside a SUMPRODUCT?
    By lever.mark in forum Excel General
    Replies: 6
    Last Post: 09-22-2011, 11:05 AM
  4. change plus/minus inside a sumproduct function
    By orang in forum Excel General
    Replies: 1
    Last Post: 09-28-2006, 08:54 AM
  5. include INDIRECT function into SUMPRODUCT formula
    By markx in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-09-2005, 01:10 PM
  6. [SOLVED] SUMIF Function Inside SUMPRODUCT Function
    By Abdul Waheed in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 09-19-2005, 12:05 PM
  7. [SOLVED] Include Excel Application Inside Winforms
    By Tinjano in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-09-2005, 03:05 AM

Tags for this Thread

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