+ Reply to Thread
Results 1 to 4 of 4

error in sum if any is blank

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    01-20-2014
    Location
    Greece
    MS-Off Ver
    20 yr. old Excel 2002!
    Posts
    710

    error in sum if any is blank

    Hi
    Suppose I have a formula Sum(a1:a100).

    How do I display an error instead of the sum if any of the cells is blank or non numeric (zero accepted).

    Thanks

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,279

    Re: error in sum if any is blank

    Simple formula is :
    Formula: copy to clipboard
    =SUM($A$1:$A$100)

    With Greater than Criteria :
    Formula: copy to clipboard
    =SUMIF($A$1:$A$100,">1",$A$1:$A$100)

    For multiple criteria use =sumifs


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,941

    Re: error in sum if any is blank

    =if(count(a1:a100)=rows(a1:a100),sum(a1:a100)," "+0)
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  4. #4
    Forum Contributor
    Join Date
    01-20-2014
    Location
    Greece
    MS-Off Ver
    20 yr. old Excel 2002!
    Posts
    710

    Re: error in sum if any is blank

    ...and the winner is nfsales!
    Thanks!

+ 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. [SOLVED] Blank or value error
    By Farida in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-19-2014, 03:10 PM
  2. Replies: 2
    Last Post: 09-20-2013, 01:43 PM
  3. Blank error box
    By fred2028 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-03-2012, 12:02 PM
  4. Leave blank if error
    By leem in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-24-2010, 09:21 AM
  5. How to remove blank rows, then insert blank row conditionally, PLUS error proof
    By GTS115 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-05-2009, 11:39 AM
  6. Value Error - How to return blank when value error
    By Granite-Granny in forum Excel General
    Replies: 8
    Last Post: 12-22-2008, 08:37 PM
  7. Can I have a IF BLANK and IF ERROR?
    By natepen in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-17-2006, 09:57 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