+ Reply to Thread
Results 1 to 6 of 6

Combining two worksheets using Vlookup and Hlookup.

  1. #1
    Forum Contributor
    Join Date
    10-21-2010
    Location
    LONDON
    MS-Off Ver
    2007
    Posts
    108

    Combining two worksheets using Vlookup and Hlookup.

    Hi,


    I am working on my school file.I have 2 set of sheets, one has event schedule and another one got students interest about the event.Based on students interest I need to prepare a sheet which has a event calendar and their preferences.I tried using Vlookup but no luck.I guess I need a Hlookup and Vlookup or a function which I can select a student and its sheets comes as a output.

    Attached data with output can explain the scenario better.

    Thanks
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Hawkeye16's Avatar
    Join Date
    02-27-2013
    Location
    Holland
    MS-Off Ver
    ├•┤ Pew Pew
    Posts
    441

    Re: Combining two worksheets using Vlookup and Hlookup.

    Is this what you are looking for? Index Match combines a vlookup and hlookup.
    Attached Files Attached Files
    Despite the high cost of living, it remains very popular.

    Don't forget to mark threads SOLVED when you get an answer and rep all the geniouses that helped you today!

  3. #3
    Forum Contributor
    Join Date
    10-21-2010
    Location
    LONDON
    MS-Off Ver
    2007
    Posts
    108

    Re: Combining two worksheets using Vlookup and Hlookup.

    Yes but I have around 500 students.Possible to have a macro to perform the task for 500 students with single click or macro.

    Thanks Hawkeye

  4. #4
    Forum Contributor
    Join Date
    10-21-2010
    Location
    LONDON
    MS-Off Ver
    2007
    Posts
    108

    Re: Combining two worksheets using Vlookup and Hlookup.

    I am tired of trying again and again

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Combining two worksheets using Vlookup and Hlookup.

    Try this, copied down and across...
    =IFERROR(IF($A2="",INDEX(interest!$B$2:$H$6,MATCH(Output!$A1,interest!$A$2:$A$6,0),MATCH(Output!$B1,interest!$B$1:$H$1,0)),INDEX(schedule!$B$2:$M$8,MATCH(Output!$B2,schedule!$A$2:$A$8,0),MATCH(Output!C$1,schedule!$B$1:$M$1,0))),"")

    You may need to adjust for the different formats
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Forum Contributor
    Join Date
    10-21-2010
    Location
    LONDON
    MS-Off Ver
    2007
    Posts
    108

    Re: Combining two worksheets using Vlookup and Hlookup.

    Where do I need to apply this Formula, I mean on which cell ????

+ 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. Combining Vlookup with Hlookup
    By Mugendi in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-05-2014, 08:32 AM
  2. Vlookup & Hlookup combining separate workboo
    By Amak30 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-02-2010, 10:28 AM
  3. Replies: 4
    Last Post: 10-28-2009, 04:28 PM
  4. Combining index and hlookup?
    By thisiscrazy in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-21-2009, 05:33 PM
  5. Can vlookup or hlookup look to other worksheets within a workbook.
    By flgc54 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-11-2005, 09:06 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