Consulting

Results 1 to 5 of 5

Thread: Easy Excel Formula Problem

  1. #1
    VBAX Regular
    Joined
    Sep 2016
    Posts
    16
    Location

    Easy Excel Formula Problem

    All I want to do is modify this to say High Alert if true and leave the cell blank if false. Everything I have tried seems to give me an error and I know I am missing something silly.

    =SUMPRODUCT(--ISNUMBER(SEARCH(A2,Sheet2!F:F)))>0
    Last edited by Aussiebear; 04-11-2023 at 05:27 AM. Reason: Added code tags

  2. #2
    VBAX Expert
    Joined
    Sep 2016
    Posts
    788
    Location
    data validation?

  3. #3
    VBAX Expert
    Joined
    May 2016
    Posts
    604
    Location
    Search returns a Number, or #Value
    your isnumber function will return True or False
    sumproduct function requires an Array as an input, ( not TRUE or False, or a number )

    conclusion your formula will never work, what are you actually trying to do??

  4. #4
    VBAX Expert
    Joined
    Sep 2016
    Posts
    788
    Location
    I guess,

    =COUNTIF(Sheet2!F:F,"*A2*")>0
    but it's results same as yours?
    Last edited by Aussiebear; 04-11-2023 at 05:28 AM. Reason: Added code tags

  5. #5
    VBAX Regular
    Joined
    Jun 2007
    Location
    Texas
    Posts
    62
    Location
    Quote Originally Posted by ajilejay View Post
    All I want to do is modify this to say High Alert if true and leave the cell blank if false. Everything I have tried seems to give me an error and I know I am missing something silly.

    =SUMPRODUCT(--ISNUMBER(SEARCH(A2,Sheet2!F:F)))>0
    Try this

    =IF(SUMPRODUCT(--ISNUMBER(SEARCH(A2,Sheet2!F:F)))>0,"HIGH ALERT","")
    Last edited by Aussiebear; 04-11-2023 at 05:28 AM. Reason: Added code tags

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •