+ Reply to Thread
Results 1 to 2 of 2

SUMIF with Condition

  1. #1
    Registered User
    Join Date
    01-23-2009
    Location
    Adelaide
    MS-Off Ver
    Excel 2016
    Posts
    31

    SUMIF with Condition

    Hi All

    Sorry if I am doubling up on a question, but I am trying to do a SUMIF, but only to bring back the corresponding value for a matching condition. If you look at the example, I want to SUMIF the item #, but to bring back the value only for that customer. Hope this makes sense.
    Cheers
    Attached Files Attached Files
    Last edited by VBA Noob; 02-06-2009 at 07:27 PM.

  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

    Re: SUMIF with Condition

    Maybe

    =SUMPRODUCT((Sheet2!$A$6:$A$14=Sheet1!A4)*(Sheet2!$B$6:$B$14=Sheet1!B4)*(Sheet2!$C$6:$C$14))
    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