Closed Thread
Results 1 to 7 of 7

My =IF(ISNUMBER(SEARCH Formula is Not Working

  1. #1
    Registered User
    Join Date
    09-10-2013
    Location
    u.s.a
    MS-Off Ver
    excel 2010
    Posts
    33

    My =IF(ISNUMBER(SEARCH Formula is Not Working

    Hello,

    Can someone please help me fix my formula? For some reason it isn't working and is returning the following "#VALUE"

    =IF(ISNUMBER(SEARCH("safety",O1300)),K1300*1.14,""),IF(ISNUMBER(SEARCH("tool",O1300)),K1300*1.13,""),IF(ISNUMBER(SEARCH("construction",O1300)),K1300*1.12,""),IF(ISNUMBER(SEARCH("facilit",O1300)),K1300*1.12,"")

    My report is VERY long hence the big numbers. But really what i'm trying to do is that in column "O" there are seven different types of commodities. So the seven different values you will see in column "O" are:

    1. Safety
    2. Tools
    3. CONSTRUCTION SUPPLIES
    4. construction
    5. FACILITIES
    6. FIRST AID & SAFETY

    So what im trying to say in my formula is:

    If the cell in column O contains the word safety then multipy column K by 1.14 OR if column O contains the word tools then multiply column K by 1.13 or if column O contains the word construction or the word facilities then multiply column k by 1.12.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: My =IF(ISNUMBER(SEARCH Formula is Not Working

    You only need one "" at the very end of the formula:

    =IF(COUNT(SEARCH("safety",O1300)),K1300*1.14,IF(COUNT(SEARCH("tool",O1300)),K1300*1.13,IF(COUNT(SEARCH("construction",O1300)),K1300*1.12,IF(COUNT(SEARCH("facilit",O1300)),K1300*1.12,""))))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    09-10-2013
    Location
    u.s.a
    MS-Off Ver
    excel 2010
    Posts
    33

    Re: My =IF(ISNUMBER(SEARCH Formula is Not Working

    Solved! Thank you!

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: My =IF(ISNUMBER(SEARCH Formula is Not Working

    Do the cells contain other text in addition to one of the 6/7 key words or, do they only contain the keywords?

    If they contain only the keywords then using a table and a lookup formula would be easier.

  5. #5
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: My =IF(ISNUMBER(SEARCH Formula is Not Working

    try this:-

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    12-13-2018
    Location
    nj
    MS-Off Ver
    Excel for Mac
    Posts
    3

    Re: My =IF(ISNUMBER(SEARCH Formula is Not Working

    i am facing the same issue. My formula and data is simple

    I have cells with data. I am searching for "JPN_"

    Data is like this

    A1 usa,mexico
    B1 greece,JPN_region1
    C1 portugal,america

    I am using this formula

    =ISNUMBER(MATCH("JPN_",A1))

    I am not getting TRUE for B1

    Thanks
    -joe

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: My =IF(ISNUMBER(SEARCH Formula is Not Working

    Administrative Note:

    Welcome to the forum.

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.

    Please see Forum Rule #4 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Modification of a IF ISNUMBER SEARCH formula
    By zigojacko in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-16-2013, 04:20 AM
  2. Nested IF statement with multiple ISNUMBER(SEARCH) formula
    By mlester in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-08-2013, 12:40 PM
  3. Required "IF(ISNUMBER(SEARCH" related formula
    By nur2544 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-21-2013, 11:39 AM
  4. using IF(ISNUMBER(SEARCH formula
    By dkmanley in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-19-2011, 01:43 PM
  5. If, isnumber, lookup, search formula problem
    By jamieray in forum Excel General
    Replies: 3
    Last Post: 09-08-2011, 06:44 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