+ Reply to Thread
Results 1 to 14 of 14

Sum and count formula with multiple column and row

  1. #1
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Sum and count formula with multiple column and row

    hello all,

    i need something simple formula to sum and count my set data excel, with multiple criteria...
    (multiple column and multiple row)....

    here, 4 criteria have matching line row and column (location, model, range of year and level)...

    and then expected sum and count start from in cell D12 down right (col. Y1, Y2, Y3)..

    i am called "green area"

    further information, please see my workbook upload........

    for your helping, i say much appreciated and thanks very much....

    john.m
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: Sum and count formula with multiple column and row

    Hi John, I think D12 should be 22 instead of 26?



    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin
    Last edited by alvin-chung; 01-09-2014 at 11:08 AM.

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Sum and count formula with multiple column and row

    Using your posted workbook...
    This regular formula, copied across and down, returns the sum of values for the referenced Location, Model, Level, and Year
    Please Login or Register  to view this content.
    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Sum and count formula with multiple column and row

    you are right, Alvin...

    D12 should be 22....i missing it.

  5. #5
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: Sum and count formula with multiple column and row

    I mean 20 because you need to matched the model too
    Try this formula in D12
    Formula: copy to clipboard
    Please Login or Register  to view this content.




    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

  6. #6
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Sum and count formula with multiple column and row

    ups...sorry Alvin, D12 should be 20, cause location GD 01, with model RI-221

  7. #7
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: Sum and count formula with multiple column and row

    How about sumproduct only, without index:
    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Sum and count formula with multiple column and row

    for Ron and Alvin, thanks for your helping.....IT'S 100% WORKING..

    my problem is SOLVED............

  9. #9
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: Sum and count formula with multiple column and row

    Thank you for your feedback, you're most welcome



    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

  10. #10
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Sum and count formula with multiple column and row

    @Kaper
    Yes, that works...
    Odd, it didn't work when I originally tried it. (I must have had a typo) :\

  11. #11
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Sum and count formula with multiple column and row

    ups...sorry, i am missing

    Ron and Alvin, in my OP#1, how about COUNT...

    maybe...using "COUNTIF" or anything...

    Could you help me...........please...

  12. #12
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: Sum and count formula with multiple column and row

    HI John, try this array formula in D12 (produce array formula by pressing ctrl+shift+enter)
    Formula: copy to clipboard
    Please Login or Register  to view this content.




    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

  13. #13
    Forum Contributor
    Join Date
    01-22-2013
    Location
    Pekanbaru, Indonesia
    MS-Off Ver
    Excel 2013 & Google Sheet
    Posts
    1,146

    Re: Sum and count formula with multiple column and row

    thanks Alvin, i am very very happy.......

  14. #14
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: Sum and count formula with multiple column and row

    You're welcome, I'm glad it helps



    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

+ 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] Count text in one column Matching single or multiple Criteria from Other Column Excel 2003
    By Jose Macieira in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-17-2013, 06:55 AM
  2. Replies: 2
    Last Post: 07-01-2012, 03:54 AM
  3. a formula to count multiple cells in a column?
    By grimlock in forum Excel General
    Replies: 1
    Last Post: 05-20-2011, 12:22 PM
  4. Formula to Check Column A for date range and count Column B
    By realniceguy5000 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-28-2009, 12:58 PM
  5. Formula to lookup Multiple Column Text and then Count Result
    By ShelbyMan in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 09-06-2005, 07:05 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