+ Reply to Thread
Results 1 to 4 of 4

Sumifs

  1. #1
    Forum Contributor
    Join Date
    05-24-2010
    Location
    London England
    MS-Off Ver
    Excel 2003
    Posts
    345

    Sumifs

    Hi I have uploaded the sheet as an example

    What I basically need is a formula that sums in sheet 2 cell d4, from sheet 1, if, in col A it reads "Total Revenue" and in col F it reads "Not Assigned" then populate the respective months.

    Sheet 1 in reality has hundreds of lines so need to be able to copy down.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Sumifs

    Put this in D4 of Sheet2:

    =SUMIFS(Sheet1!I:I,Sheet1!$F:$F,$C4,Sheet1!$A:$A,"Total Revenue")

    then copy across to O4

    Hope this helps.

    Pete

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    47,995

    Re: Sumifs

    @Pete: the profile and file extension imply Excel 2003 and therefore you can't use SUMIFS.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Sumifs

    Thanks for the heads-up, Trevor. With the thread title and the filename both being called sumifs, I didn't check.

    An alternative would be to put this in D4 of Sheet2:

    =SUMPRODUCT(Sheet1!I$2:I$1000,(Sheet1!$F$2:$F$1000=$C4)*(Sheet1!$A$2:$A$1000="Total Revenue"))

    which can then be copied across and which will handle up to 1000 rows on Sheet1.

    Hope this helps.

    Pete

+ 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