+ Reply to Thread
Results 1 to 2 of 2

Need help with Search Text & IFERROR

  1. #1
    Registered User
    Join Date
    02-09-2016
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 2007
    Posts
    20

    Cool Need help with Search Text & IFERROR

    So, I am trying to search text in 1 cell and have it return a specific text. I'd like to combine the following into 1 formula if possible.

    =IFERROR(IF(SEARCH({"Head","Neck"},I3)," Head/Neck/ENT "),"Other")

    =IFERROR(IF(SEARCH({"Breast","Augmentation"},I3),"Breast Reconstrcution"),"Other")

    =IFERROR(IF(SEARCH({"Hernia","Abdomen"},I3),"Hernia/Abdominal Wall"),"Other")

    I got to the point where I can continue to add additional words to the "Other" search.........and make it work.

    =IF(COUNT(SEARCH({"Breast","Augmentation"},I2)),"Breast Reconstruction",IF(COUNT(SEARCH({"Hernia","Abdomen"},I2)),"Hernia/Abdominal Wall",IF(COUNT(SEARCH({"Head"},I2)),"Head/Neck/ENT",IF(COUNT(SEARCH({"Other","Grafting"},I2)),"Other"))))

    but I would rather have it error out to "Other" somehow if the initial criteria is not found to avoid having to constantly bulk up the formula. rather not use a table.

    I am open to any suggestions. Thank you.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,365

    Re: Need help with Search Text & IFERROR

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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] Help with a isnumber, iferror, search formula
    By shiftyspina in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-04-2015, 08:31 AM
  2. IFERROR(LOOKUP need help to modify search
    By A440 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-17-2015, 06:47 AM
  3. IF IFERROR SEARCH Logic
    By Ferohers in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-11-2015, 07:41 AM
  4. [SOLVED] =IFERROR / SUMPRODUCT - Search for year total?
    By domgilberto in forum Excel General
    Replies: 5
    Last Post: 05-20-2014, 05:56 AM
  5. Replies: 1
    Last Post: 01-26-2014, 05:37 PM
  6. xlfn.IFERROR or IFERROR don't work in Excel 98-2003
    By dj_danu01 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-26-2013, 02:53 AM
  7. Need help with formula =IF(IFERROR(SEARCH
    By ibrown9 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-22-2013, 04:15 PM

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