+ Reply to Thread
Results 1 to 3 of 3

Vlookup or Index ...formulate a table

  1. #1
    Registered User
    Join Date
    06-05-2008
    Posts
    38

    Vlookup or Index ...formulate a table

    I'm trying to find a way to use either Vlookup or Index function to return a value in a table that corresponds with the number at the top of each column.

    The issue is, I will be looking up the name on the left of my output table and it corresponds with the number in the top row for each column, however the number from the feeder table is is not in the same format, it's in a column instead of a row. So basically I need to match up the top cell in the column (month number) with the name to the left, but in teh feeder table these will be matched as a Row. Kind of hard to explain.

    Further complicating the issue is that not all names have numbers for every month, so some will be #N/A or, ideally, left blank. But I assume I can fix that with an IF statement on my own.

    obviously in the real file I'm using there are 12 months not 8, but I just got too lazy to make it that big. Anyway I hope I've explained it well enough.

    Anyway thanks in advance.

    PS I left the Price column in the feed table blank but I will be making another table like the one for the "quantity" numbers only for the price numbers instead.

    Again, thanks in advance. This site is great and all of y'all's time is greatly appreciated.

    Thank you,

    J
    Attached Files Attached Files

  2. #2
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: Vlookup or Index ...formulate a table

    Use pivot Table
    http://www.youtube.com/watch?v=7zHLnUCtfUk
    http://www.youtube.com/watch?v=962r5...eature=related

    Or use this in J6
    =SUM(INDEX(($I6=$A$2:$A$67)*(J$5=$F$2:$F$67)*($C$2:$C$67),0))
    copy down then acorss
    Last edited by contaminated; 05-25-2010 at 12:20 PM.
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, ?Born in USSR?
    Vusal M Dadashev

    Baku, Azerbaijan

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Vlookup or Index ...formulate a table

    Have you considered a Pivot table:

    See attached.
    Attached Files Attached Files
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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