+ Reply to Thread
Results 1 to 4 of 4

V-look up of horizontal look up problem?

  1. #1
    Forum Contributor
    Join Date
    12-14-2012
    Location
    Toronto
    MS-Off Ver
    Excel 2010
    Posts
    104

    V-look up of horizontal look up problem?

    Hi Forum,
    In the attached, I have 3 source tables, called Table 1, Table 2 and Table 3.

    Problem:
    Using these 3 tables, I have to calculate the summary table indicated in multi-colours to answer below 4 questions:

    1). When intervention = 1, then what is the total # of people across three source tables = 255
    2). When intervention = 2, then what is the total # of people across three source tables = zero
    3). When intervention = 3, then what is the total # of people across three source tables = 59
    4). When intervention = 4 then what is the total # of people across three source tables = 52

    To calculate the summary table, we need only two rows of three source tables. They are: "# of people" and "Intervention".
    I have calculated the answers, using sum function.

    Question:
    I have shown you only 3 source tables but my original data set has some hundreds of tables.
    So, using sum function and highlighting and clicking "interventions" one at a time is clumsy.

    Could anyone help me to create the above 4 answers using v-lookup or horizontal lokk up or something like that.

    Thanks

    Mirisage
    Attached Files Attached Files

  2. #2
    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,933

    Re: V-look up of horizontal look up problem?

    Try this, copied down...
    =SUMIF($B$9:$O$9,H15,$B$3:$O$3)
    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

  3. #3
    Forum Contributor
    Join Date
    12-14-2012
    Location
    Toronto
    MS-Off Ver
    Excel 2010
    Posts
    104

    Re: V-look up of horizontal look up problem?

    Hi FDibbins,

    Thank you very much.

    Your suggestion worked very well.
    Thanks again
    Mirisage

  4. #4
    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,933

    Re: V-look up of horizontal look up problem?

    Happy to help and thanks for the feedback

+ 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. [SOLVED] Horizontal Autofill Problem
    By gasukadingin in forum Excel General
    Replies: 7
    Last Post: 10-30-2012, 06:35 AM
  2. problem with horizontal lines in chart
    By Meenie in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-17-2009, 01:06 AM
  3. Changing horizontal axis labels problem
    By Jcarroll in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 05-15-2009, 04:36 AM
  4. Problem with horizontal banding
    By tkaybake in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-29-2008, 04:43 PM
  5. horizontal sorting problem
    By hegisin in forum Excel General
    Replies: 3
    Last Post: 08-23-2007, 09:22 AM

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