+ Reply to Thread
Results 1 to 3 of 3

Vlookup if cell contains column xx

  1. #1
    Registered User
    Join Date
    08-11-2010
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    28

    Vlookup if cell contains column xx

    Hi,

    I need some help in automating my table by using a vlookup or whatever formula applicable using the right table below.

    For Ex.

    If Colour is Yelllow, I need to update the column A, B, C, D, E if they exist on the other table.

    Another is, if colour is Orange, if on the table it contans column A and B state Y and if not input N.

    I had attached my excel table for easier reference.

    Appreciate any help in populating the table.


    Many thanks!
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Vlookup if cell contains column xx

    Enter formula in C4 and drag formula across and down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v B C D E F G
    2
    3 COLOUR A B C D E
    4 YELLOW 1281272 6142748.4 194710.41 290.5 131208.91
    5 BLUE
    6 RED
    7 GREEN 65809.52 317389.22 5172.07 4362
    8 ORANGE 3371.7 422900.32
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Vlookup if cell contains column xx

    Try this in C4:

    =IFERROR(INDEX($L$4:$L$14,INDEX(MATCH($B4&C$3,$J$4:$J$14&$K$4:$K$14,0),0)),"")

    Drag the formula to the right and down.

+ 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. vlookup to cell 3 rows down, one column over
    By swalesh in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-19-2017, 10:50 AM
  2. Replies: 1
    Last Post: 06-05-2015, 10:34 AM
  3. VBA to VLookup and then insert cell data into first blank cell (in result column)
    By lookingforhelp1 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-01-2015, 05:43 AM
  4. [SOLVED] Copy VLookup value from 1 cell to another once for whole column
    By StacyOW in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-01-2015, 12:40 PM
  5. Vlookup - Search value in column from last cell
    By Shradharani in forum Excel General
    Replies: 1
    Last Post: 03-23-2015, 05:33 AM
  6. [SOLVED] VLOOKUP returns column where column header matches another cell
    By bridge4444 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-10-2014, 11:23 AM
  7. [SOLVED] Column/Cell format for Vlookup
    By Glen Mettler in forum Excel General
    Replies: 1
    Last Post: 07-21-2005, 06:05 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