+ Reply to Thread
Results 1 to 2 of 2

Help with Sumif and Averageif

  1. #1
    Registered User
    Join Date
    04-04-2008
    Posts
    1

    Help with Sumif and Averageif

    I am working on updating a Excel sheet that i inherited from my predecessor, and trying to remember all the formulas i learned from high school and i believe i need to use the Sumif and Average if formula.

    The first sheet is where all the data gets dumped into.

    On the second sheet I want to have a Sum and Average of Column D in the red boxes, based on the text in Column C.


    Any text you can offer is greatly appreciated.

    Thanks,
    Bobby Kenny
    Attached Files Attached Files

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885
    For the sum, using SUMIF:

    =SUMIF('Sheet A'!C:C,"A101",'Sheet A'!D:D)
    =SUMIF('Sheet A'!C:C,"A202",'Sheet A'!D:D)

    For the averages, using the array formula AVERAGE(IF:

    =AVERAGE(IF('Sheet A'!C2:C300="A101",'Sheet A'!D2:D300))
    =AVERAGE(IF('Sheet A'!C2:C300="A202",'Sheet A'!D2:D300))

    After entering or modifying array formulas you must press CTRL+SHIFT+ENTER. You could also use a non-array version, e.g. SUMPRODUCT/COUNT or other, but this should work just fine.

+ 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