+ Reply to Thread
Results 1 to 2 of 2

summing, aggregation

  1. #1
    Registered User
    Join Date
    11-24-2010
    Location
    Mannheim
    MS-Off Ver
    Excel 2003
    Posts
    1

    summing, aggregation

    hi everbody,

    have following problem:

    i want to sum a column when special conditions are fulfilled.
    i used the sumif function, but it didnt work if i have different conditions in different columns.
    i used the array function, it should function, but it didn't..
    i want to sum up the column "hours" only in rows where Id=50 and phase=Impl.
    Id and phase are the name of other columns.

    =SUM((TASKS!K5:K9="IMPL")*(TASKS!I5:I9=50)*TASKS!N5:N9)
    TASKS ist just another sheet. and K is phase and I is Id and N is hours.

    maybe someone can help me.
    thanks, regards,
    shan

  2. #2
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: summing, aggregation

    ==SUM((TASKS!K5:K9="IMPL")*(TASKS!I5:I9=50)*TASKS!N5:N9)
    Try using =Sumproducts(--(TASKS!K5:K9="IMPL"),--((TASKS!I5:I9=50),TASKS!N5:N9)
    Windows 7 using Office 2007 & 2010

    Remember your [ code ] [ /code ] tags, makes reading soooo much easier

+ 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