+ Reply to Thread
Results 1 to 4 of 4

Multiple column v-look up

  1. #1
    Registered User
    Join Date
    06-04-2017
    Location
    India
    MS-Off Ver
    2013
    Posts
    54

    Multiple column v-look up

    Hello everyone,

    Please find attached excel sheet.

    In the excel, I have 3 columns.I have to fill final category based on the keyword value and values given in these 3 columns.

    There is a mapping set which consist of keyword and final category.(highlighted in pink color)
    I want to look for keyword "G-insurance" in all the 3 columns.If G-insurance is found in any of these columns, it should return its category (General Insurance).
    If a keyword is not found in any of the 3 columns, it should return None

    Please help..

    If VBA is required, then please do so..I am not well versed with VBA

    Please see sheet...you'll clearly understand my requirements
    Attached Files Attached Files
    Last edited by ashishkhurana93; 06-20-2018 at 02:37 PM.

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Multiple column v-look up

    what if


    B
    C
    D
    E
    1
    Description Designation Summary Result
    2
    work in the G-insurance department Analyst analysing data
    3
    operating in G-insurance department Strategic Head, life division heads the life division of the company ???
    4
    In the retirement deprtment, all the retirement issues are handled Strategic planning in retirement division heading L&R department
    5
    in the operations, daily routine works are handled Operations head daily routine works

  3. #3
    Registered User
    Join Date
    06-04-2017
    Location
    India
    MS-Off Ver
    2013
    Posts
    54
    In such cases, it should give another flag such as "conflict" so that I can manually filter for conflicting cases and decide their final category


    Quote Originally Posted by sandy666 View Post
    what if


    B
    C
    D
    E
    1
    Description Designation Summary Result
    2
    work in the G-insurance department Analyst analysing data
    3
    operating in G-insurance department Strategic Head, life division heads the life division of the company ???
    4
    In the retirement deprtment, all the retirement issues are handled Strategic planning in retirement division heading L&R department
    5
    in the operations, daily routine works are handled Operations head daily routine works

  4. #4
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: Multiple column v-look up

    Maybe put this on E2 and copied down


    =IF(OR(B2="",C2="",D2=""),"",IFERROR(IFERROR(IFERROR(IFERROR(LOOKUP(1000,SEARCH(SUBSTITUTE($I$2:$I$9," ","*"),B2),$J$2:$J$9),LOOKUP(1000,SEARCH(LEFT($I$2:$I$9,FIND(" ",$I$2:$I$9&" ")-1),B2),$J$2:$J$9)),IFERROR(LOOKUP(1000,SEARCH(SUBSTITUTE($I$2:$I$9," ","*"),C2),$J$2:$J$9),LOOKUP(1000,SEARCH(LEFT($I$2:$I$9,FIND(" ",$I$2:$I$9&" ")-1),C2),$J$2:$J$9))),IFERROR(LOOKUP(1000,SEARCH(SUBSTITUTE($I$2:$I$9," ","*"),D2),$J$2:$J$9),LOOKUP(1000,SEARCH(LEFT($I$2:$I$9,FIND(" ",$I$2:$I$9&" ")-1),D2),$J$2:$J$9))),"None"))
    Attached Files Attached Files

+ 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. Merge specific column data from multiple sheets in single column of new workbook.
    By kadam203 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-14-2016, 01:58 AM
  2. Compare multiple columns (column A,column B,Column C) and return value (Column D)
    By john008 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-21-2015, 08:24 AM
  3. Convert a column as one column + multiple column titles ... please read for detail
    By princesscathryn in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 07-01-2014, 12:37 AM
  4. [SOLVED] Convert column B as multiple column titles and move data in column C into new columns?
    By princesscathryn in forum Excel - New Users/Basics
    Replies: 8
    Last Post: 06-30-2014, 07:31 PM
  5. Replies: 6
    Last Post: 02-27-2012, 11:31 AM
  6. Replies: 5
    Last Post: 02-07-2012, 04:55 PM
  7. Replies: 2
    Last Post: 02-28-2006, 12:15 PM

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