+ Reply to Thread
Results 1 to 3 of 3

Sumif based on column label and row label

  1. #1
    Registered User
    Join Date
    10-22-2018
    Location
    New York
    MS-Off Ver
    MS Office 365
    Posts
    1

    Sumif based on column label and row label

    Hi All,
    First time poster here, and I am hoping that you can help me out! I have a data set with the following row labels (A10:A16):
    Investments, Installment Loans, HFS Loans, MPL Loans, Cash, and Securitizations

    And the following column labels (B2:E2):
    Overnight Bal, 3 Months Bal, 4 mo to 1 Year Bal, and 1-3 Years Bal

    Values are in B10:E16. If I would like to sum Installment Loans and MPL loans (row labels) in the 3 Month Bal (colum label) category, what do you suggest for a formula? Thank you very much in advance!

  2. #2
    Registered User
    Join Date
    01-09-2014
    Location
    Leeds, England
    MS-Off Ver
    Excel 365
    Posts
    72

    Re: Sumif based on column label and row label

    =INDEX($B$10:$E$15,MATCH("Installment Loans",$A$10:$A$15,0),MATCH("3 Months Bal",$B$2:$E$2,0))+INDEX($B$10:$E$15,MATCH("MPL Loans",$A$10:$A$15,0),MATCH("3 Months Bal",$B$2:$E$2,0))

  3. #3
    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,917

    Re: Sumif based on column label and row label

    To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    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

+ 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. Return Row Label and Column Label for Max Value in a Table
    By supertom37 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-16-2017, 10:14 PM
  2. Pivot Chart not displaying data label values for the first Legend label
    By zykkzxxy789077 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-24-2016, 05:46 AM
  3. Macro to Use column label as row label for multiple cells
    By MatLCFC in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-16-2015, 12:18 PM
  4. With a move label macro, prevent label from moving onto another label
    By SocratesJC in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-09-2014, 12:34 AM
  5. Copy Column Based On Its Label
    By BKPrecision in forum Excel General
    Replies: 5
    Last Post: 09-22-2014, 11:54 AM
  6. Replies: 1
    Last Post: 09-30-2013, 09:52 AM
  7. Replies: 11
    Last Post: 07-18-2013, 05:14 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