+ Reply to Thread
Results 1 to 5 of 5

SUMPRODUCT help please

  1. #1
    Registered User
    Join Date
    01-19-2007
    Posts
    30

    SUMPRODUCT help please

    Hi, I have a column of names and a column of values against the names (the names appear multiple times in the list). I have used SUMPRODUCT to add up all the values for some of the names but there is a large quantity of miscellaneous names that I want to add together. Can I use SUMPRODUCT to say 'add up all the values for the names that do not equal the names I have added up already'?

    I hope I am making sense, if anyone can give me any tips I would be grateful!

  2. #2
    pinmaster
    Guest
    Hi

    =SUMPRODUCT((A1:A10<>"Bob")*(A1:A10<>"Joe"),B1:B10)


    HTH
    Jean-Guy

  3. #3
    Registered User
    Join Date
    01-19-2007
    Posts
    30

    Smile

    Thanks very much. Is there any way this can be done on a range of cells? I have about 35 names I want to exclude.

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,697
    If your names are in A1:A100, values in B1:B100, 35 names to exclude in C1:C35

    =SUMPRODUCT(--ISNA(MATCH(A1:A100,C1:C35,0)),B1:B100)

  5. #5
    Registered User
    Join Date
    01-19-2007
    Posts
    30
    Thanks, I'll give it a go!

+ 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