Results 1 to 13 of 13

VLOOKUP, SEARCH and IF

Threaded View

  1. #1
    Registered User
    Join Date
    10-14-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    7

    VLOOKUP, SEARCH and IF

    Dear Forum,

    I have a worksheet with one column which contains alphanumeric data, with spaces etc.

    Currently I have a nested IF statement pasted into column B, which searches the respective cell in column A for certain words and depending on these words enters a value into column B.

    Below is a sample of my unwieldy IF statement.

    IF(ISNUMBER(SEARCH("spade",A2)),"TOOLS",
    IF(ISNUMBER(SEARCH("fence",A2)),"FENCING",
    IF(ISNUMBER(SEARCH("seat",A2)),"FURNITURE",
    IF(ISNUMBER(SEARCH("fork",A2)),"TOOLS",
    ""
    )
    )
    )
    )

    If anyone can help to make my IF statement less complicated to manage it would be awesome.

    I've been trying to produce a separate worksheet with all the search words and values, but not sure how to get it working. Or maybe my approach is wrong altogether?

    Any recommendations well appreciated.

    Cheers,
    KFCI
    Last edited by kfci; 10-18-2011 at 07:21 AM.

Thread Information

Users Browsing this Thread

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

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