+ Reply to Thread
Results 1 to 3 of 3

Index with sumifs and averageifs

  1. #1
    Registered User
    Join Date
    07-24-2013
    Location
    NY
    MS-Off Ver
    EXCEL 2010
    Posts
    5

    Index with sumifs and averageifs

    Hi,

    I tried to make SUMIFS and AVERAGEIFS with INDEX.

    For H14 of Sheet CO I made this formula and it turned out Value error.

    =SUMIFS(INDEX(Sheet1!$S$2:$S$582,MATCH($A$7&'Q1'!G14,Sheet1!$D$2:$D$582&Sheet1!$K$2:$K$582,0)),"="&'Q1'!A7,INDEX(Sheet1!$S$2:$S$582,MATCH($A$7&'Q1'!G14,Sheet1!$D$2:$D$582&Sheet1!$K$2:$K$582,0)),"="&'Q1'!G14)



    Cell H14(Sheet "CO") needs to SUM of matching Qty (Cell S9:S10 of "Sheet1"). Also, Cell I14(Sheet "CO") need to calculate AVERAGE of cost (Cell W9:W10 of "Sheet1").

    So, Desired value for H14 is 2,000 and for I14 is 1.34 (=> 2144(Cell Y9 of Sheet1)+540 (Cell Y10 of Sheet1) / 1600 (Cell S9 of Sheet1) + 400 (Cell S10 of Sheet1)



    Please help me.
    Attached Files Attached Files

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Index with sumifs and averageifs

    I'm not sure that you need INDEX - try this for H14

    =SUMIFS(Sheet1!S:S,Sheet1!D:D,$A$7,Sheet1!K:K,G14)

    and this one for I14

    =AVERAGEIFS(Sheet1!W:W,Sheet1!D:D,$A$7,Sheet1!K:K,G14)
    Audere est facere

  3. #3
    Registered User
    Join Date
    07-24-2013
    Location
    NY
    MS-Off Ver
    EXCEL 2010
    Posts
    5

    Re: Index with sumifs and averageifs

    WOW! It works I can't believe it can be solved so simply like what you answered. Thank you so much, daddaylonglegs!!!!

+ 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] Sumifs With Index/Match Column
    By benno87 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-03-2015, 08:14 AM
  2. possible to use SUMIFS, INDEX, MATCH across 2 rows?
    By sofib09 in forum Excel General
    Replies: 1
    Last Post: 01-18-2011, 06:09 PM
  3. Replies: 0
    Last Post: 01-18-2011, 04:30 PM
  4. SUMIFS, INDEX, and MATCH-- how to fix?
    By sofib09 in forum Excel General
    Replies: 6
    Last Post: 12-13-2010, 11:05 AM
  5. Replies: 0
    Last Post: 11-15-2007, 05:24 AM

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