+ Reply to Thread
Results 1 to 3 of 3

if sumproduct query.

  1. #1
    Registered User
    Join Date
    03-12-2011
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    18

    if sumproduct query.

    Hi,
    I'm using excel 2016 on windows 10

    Having trouble with adding sumproduct into an if command.

    I have two sales teams with 20 people in. In cell B1 on the sales page I want to either put team a or team b then do a sumproduct on the each team member by rank cell A1 on sales page sum by the number of sales.

    I've attached a file with the sumproduct already in a working but only for team a I would like to beable to change cell b1 to team b and get the same answers for them.

    Regards.
    Attached Files Attached Files

  2. #2
    Forum Contributor shivya's Avatar
    Join Date
    08-19-2017
    Location
    Delhi, India
    MS-Off Ver
    2013
    Posts
    240

    Re: if sumproduct query.

    =IF(B1="Home",SUMPRODUCT(--(Sheet2!$B$2:$B$2400=Sales!$A$1),--(Sheet2!$D$2:$D$2400=Sales!A4)),SUMPRODUCT(--(Sheet2!$C$2:$C$2400=Sales!$A$1),--(Sheet2!$E$2:$E$2400=Sales!A4)))

    You can change range according to you.
    Last edited by shivya; 11-05-2017 at 08:49 AM.
    To attach worksheet Go advanced -> Manage attachments -> Choose file -> Upload
    Don't forget to Mention your desired result in the sheet..
    There should be sample data only, a lot of data creates confusion.

    Thanks & Regards

    Shivya

    http://excelvbatipsforbeginners.blogspot.in/

  3. #3
    Registered User
    Join Date
    03-12-2011
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: if sumproduct query.

    Thank you don't use you very often but always very quick and precise. have a great day

+ 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. SUMPRODUCT query
    By colgor in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 05-16-2016, 01:24 PM
  2. Sumproduct query
    By sharky12345 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-07-2013, 07:25 AM
  3. Sumproduct Query
    By sav1979 in forum Excel General
    Replies: 2
    Last Post: 04-19-2011, 11:53 AM
  4. Help with a sumproduct query
    By john dalton in forum Excel General
    Replies: 8
    Last Post: 04-11-2011, 10:23 AM
  5. sumproduct query
    By luffield in forum Excel General
    Replies: 4
    Last Post: 06-29-2009, 08:22 AM
  6. Sumproduct query
    By artizan in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-21-2008, 07:14 AM
  7. SUMPRODUCT Query
    By penri0_0 in forum Excel General
    Replies: 7
    Last Post: 06-07-2006, 07:22 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