+ Reply to Thread
Results 1 to 4 of 4

Thread: How to build index formula?

  1. #1
    Registered User
    Join Date
    08-02-2009
    Location
    Lancashire, England
    MS-Off Ver
    Excel 2007
    Posts
    65

    How to build index formula?

    Hi People

    Thanks in advance for your time and effort......

    I have a workbook in which i am in leymans terms "transposing & summing" data on the same worksheet from row / column to column / row.
    I have been doing the labourious job of summing data in the worksheet and trying to auto fill, however this does'nt work.
    I think i may need to use an INDEX function but have no idea how to construct it, any help would be greatly appreciated.

    I have attached a sample workbook for your info, i realise my explanation is rubbish, hope the sample will be self explanatory.

    Ta

    Si
    Attached Files Attached Files
    Last edited by Si902; 08-12-2010 at 12:56 PM.

  2. #2
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: How to build index formula?

    In C32 enter:

    =SUMPRODUCT(($I$2:$BD$2=$B32)*($C$3:$C$21=C$23),$I$3:$BD$21)

    copy down and across the table.
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

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

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

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Registered User
    Join Date
    08-02-2009
    Location
    Lancashire, England
    MS-Off Ver
    Excel 2007
    Posts
    65

    Re: How to build index formula?

    NVBC

    Thanks, your a genius.

    That has saved a load of labourious summing.

    Cheers

    Si


  4. #4
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,423

    Re: How to build index formula?

    If the Row Titles are as implied unique a SUMIF would suffice (no need for SUMPRODUCT per se)

    =SUMIF($I$2:$BD$2,$B32,INDEX($I$3:$BD$21,COLUMNS($C32:C32),0))
    applied to matrix

+ 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.2.0