Results 1 to 5 of 5

IF SEARCH Function

Threaded View

snboarder356 IF SEARCH Function 12-13-2011, 11:17 AM
NBVC Re: IF SEARCH Function 12-13-2011, 11:26 AM
snboarder356 Re: IF SEARCH Function 12-13-2011, 04:04 PM
NBVC Re: IF SEARCH Function 12-13-2011, 04:16 PM
snboarder356 Re: IF SEARCH Function 12-13-2011, 06:19 PM
  1. #1
    Registered User
    Join Date
    12-13-2011
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    3

    IF SEARCH Function

    I am trying to build a formula into a macro that yields a particular value if one of a different set of values can be found within the adjacent column. I have tried using the below nested IF(SEARCH function but it does not work and it does not allow this many nested functions in Excel 2007.

    =if(search("laptop",m2)=1,"LAPTOP",if(search("book",m2)=1,"LAPTOP",if(search("imac",m2)=1,"DESKTOP",if(search("mac mini",m2)=1,"DESKTOP",if(search("mac pro",m2)=1,"DESKTOP",if(search("macpro",m2)=1,"DESKTOP",if(search("elite 4",m2)=1,"DESKTOP",if(search("elite 5",m2)=1,"DESKTOP",if(search("elite 6",m2)=1,"DESKTOP",if(search("elite 7",m2)=1,"DESKTOP",if(search("elite 8",m2)=1,"DESKTOP",if(search("elite 9",m2)=1,"DESKTOP",if(search("elite 1",m2)=1,"DESKTOP",if(search("19in",m2)=1,"MONITOR",if(search("20in",m2)=1,"MONITOR",if(search("21in",m2)=1,"MONITOR",if(search("22in",m2)=1,"MONITOR",if(search("23in",m2)=1,"MONITOR",if(search("24in",m2)=1,"MONITOR",if(search("25in",m2)=1,"MONITOR",if(search("26in",m2)=1,"MONITOR",if(search("27in",m2)=1,"MONITOR",if(search("28in",m2)=1,"MONITOR",if(search("29in",m2)=1,"MONITOR",if(search("ethernet",m2)=1,"NETWORK",if(search("switch",m2)=1,"NETWORK",if(search("gigabit",m2)=1,"NETWORK",if(search("router",m2)=1,"NETWORK",if(search("printer",m2)=1,"PRINTER",if(search("proliant",m2)=1,"SERVER",if(search("xeon",m2)=1,"SERVER",if(search("storage",m2)=1,"STORAGE",if(search("5400RPM",m2)=1,"STORAGE",if(search("7200RPM",m2)=1,"STORAGE",if(search("15,000RPM",m2)=1,"STORAGE",if(search("10000rpm",m2)=1,"STORAGE",if(search("10,000rpm",m2)=1,"STORAGE",if(search("5,400rpm",m2)=1,"STORAGE",if(search("7,200rpm",m2)=1,"STORAGE",if(search("phone",m2)=1,"TELEPHONES",0)

    In the attached file, the function should yield the values in column A if the respective values can be found in column B. Any help would be greatly appreciated.
    Attached Files Attached Files
    Last edited by NBVC; 12-14-2011 at 04:39 PM.

Thread Information

Users Browsing this Thread

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

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