+ Reply to Thread
Results 1 to 7 of 7

Sum excluding n/a's

Hybrid View

  1. #1
    Registered User
    Join Date
    07-11-2007
    Posts
    25
    A B
    #N/A 4
    12 9
    4 8
    #N/A 6


    Want to multiply these columns together but to exclude the #N/A, or if it is there, to return result as 0. Any ideas?

  2. #2
    Forum Expert
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    for a single cell
    =IF(ISERROR(A1*B1),0,A1*B1)

    for a range, entered as an array, so with shift ctrl enter instead of enter at the end

    =SUM(IF(ISERROR(A1:A9*B1:B9),0,A1:A9*B1:B9))

    Regards

    Dav

  3. #3
    Registered User
    Join Date
    07-11-2007
    Posts
    25
    Great. Thanks both for your help.

+ 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