+ Reply to Thread
Results 1 to 5 of 5

Formula to Calculate criteria and sum results in cell

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    06-16-2010
    Location
    Australia
    MS-Off Ver
    Excel 2007; Excel 2010
    Posts
    178

    Formula to Calculate criteria and sum results in cell

    Hi,

    In what I am trying to achieve is a formula to work out results between 3 columns for a match and sum all similar in another cell.

    I have attached a small example and marked "Here is where I am asking for a formula'' as to where I am referring too.

    Basically Look for same Types in all lines and Multiply -- J column by F column and G column and sum all same types in cell referenced below

    Thanks
    Lionel
    Attached Files Attached Files
    Last edited by Foreverlearning; 02-08-2012 at 05:16 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,038

    Re: Formula to Calculate criteria and sum results in cell

    Try this in J24 and drag down:

    =SUMPRODUCT(--($I$5:$I$21=B24),$F$5:$F$21,$G$5:$G$21,$J$5:$J$21)/1000
    Never use Merged Cells in Excel

  3. #3
    Forum Contributor
    Join Date
    06-16-2010
    Location
    Australia
    MS-Off Ver
    Excel 2007; Excel 2010
    Posts
    178

    Re: Formula to Calculate criteria and sum results in cell

    Hi zbor,

    Thanks for your solution.

    It works just right but a question.

    A lot of data being in none contiguous cells (Gaps with other data between that has no relationship to required info)
    Does that have any impact on results or would you say that because it does not match criteria you can have what you like in between?

    Thanks
    Lionel

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,038

    Re: Formula to Calculate criteria and sum results in cell

    Doesn't matter. As long as you define Teams1,2,3 and refer to them it will look only that and ignore other data. Even text.

  5. #5
    Forum Contributor
    Join Date
    06-16-2010
    Location
    Australia
    MS-Off Ver
    Excel 2007; Excel 2010
    Posts
    178

    Re: Formula to Calculate criteria and sum results in cell

    Hi zbor,

    Thank you very much for your responses.
    Your help is very much appreciated.

    Lionel

+ 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