+ Reply to Thread
Results 1 to 6 of 6

SUMPRODUCT Help with Blanks

Hybrid View

  1. #1
    Registered User
    Join Date
    06-23-2005
    Posts
    20

    SUMPRODUCT Help with Blanks

    Hi All

    I am using the following formula

    SUMPRODUCT(($A$5:$A$308=$A315)*(B$5:B$308))

    Challenge is i have empty cells in the columns and cannot remove them

    Any Ideas how i can get the Sumproduct to ignore the empty cells

    Regards

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Blank cells (meaning empty) are treated as zeros; they don't affect the result.

    Explain further?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    06-23-2005
    Posts
    20
    I also have titles in each of the 12 tables in the range would that effect the result

  4. #4
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561
    You could, of course, test these things by putting values in/out of the blanks and title spaces to see what effect (none in this case) it has...

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    i also have titles in each of the 12 tables in the range would that effect the result
    =sumproduct( $a$5:$a$308=$a315, b$5:b$308)

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    If A315 contains text, then you'll need to modify shg's formula (I think) to
    =sumproduct(--( $a$5:$a$308=$a315), b$5:b$308)
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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. Can Sumproduct be used to get values instead of Count & Sum?
    By all4excel in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-28-2008, 09:30 AM
  2. Sumproduct and Time Question
    By gav0101 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-24-2008, 11:36 PM
  3. Sumproduct with blanks
    By Blondegirl in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-30-2007, 05:21 AM
  4. SUMPRODUCT - 3 columns, 1 cell and ignore blanks
    By raehippychick in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-11-2007, 07:36 AM
  5. Sumproduct formula issue
    By nfison in forum Excel General
    Replies: 5
    Last Post: 05-14-2007, 03:49 PM

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