+ Reply to Thread
Results 1 to 2 of 2

Question about using a SUMIF statement with two sets of criteria

  1. #1
    Registered User
    Join Date
    12-04-2007
    Posts
    9

    Question about using a SUMIF statement with two sets of criteria

    I am working in a workbook with multiple worksheets. On sheet1 I have a blank cell next to a person's name. On sheet2 I have 3 columns which are relevant to the amount I am trying to obtain.

    Sheet2 has columns called "Account Owner", "Stage", and "MRR". Account Owner and Stage are text, and MRR is currency.

    I'd like to perform a SUMIF that looks in the "Account Owner" column of sheet2 and match it with the name of the person on sheet1, but also looks in the "Stage" column for a value "Closed Won". If those two are true, then it would sum values from the "MRR" column in sheet2.

    An example of this formula, which doesn't work is

    =SUMIF('Sheet2!'Q:Q, [Condition1, Condition2], 'Sheet2!'E:E)

    I tried using the AND() function within the SUMIF() statement, but it didn't work. Any ideas? Thanks to anyone that replies!

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Try sumproduct.

    http://www.xldynamic.com/source/xld.SUMPRODUCT.html

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ 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