+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : sum cells ignoring blanks and text

  1. #1
    Registered User
    Join Date
    07-04-2010
    Location
    preston, england
    MS-Off Ver
    Excel 2007
    Posts
    2

    Unhappy sum cells ignoring blanks and text

    How can I sum cells but ingnore any blank cells or cells containing text without giving a 0 response.

    In the example attached I want to add the cells from column A and B to create C. Cells in row 6 contain blanks. A simple =SUM(A1:B1) copied down column C gives a 0 response in C5 and C6. Cheers
    Attached Files Attached Files
    Last edited by mickurje; 07-04-2010 at 02:53 PM. Reason: did not make sense

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,053

    Re: sum cells ignoring blanks and text

    This maybe:

    =IF(AND(ISNUMBER(A1), ISNUMBER(B1)), SUM(A1:B1), "")
    Last edited by zbor; 07-04-2010 at 02:53 PM.
    Never use Merged Cells in Excel

  3. #3
    Registered User
    Join Date
    07-04-2010
    Location
    preston, england
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: sum cells ignoring blanks and text

    Worked a treat. Thanks. Homework done just in time for top gear.

+ 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