+ Reply to Thread
Results 1 to 4 of 4

add cells which contain blanks resulting from IF formulae

Hybrid View

  1. #1
    Valued Forum Contributor
    Join Date
    09-23-2005
    Location
    Bristol, UK
    MS-Off Ver
    2007
    Posts
    664
    Hi,

    Alternatively, if you've got a large range (let's say A3:BA3) you can do the below formula. It'll mean that even if there are error messages in your cells, Excel will only Sum the numbers. This is an array formula, so you need to press CTRL+SHIFT+ENTER to get it working. You'll get curly brackets around it to show it's an array:

    =SUM(IF(ISNUMBER(A3:BA3),A3:BA3))

    HTH,

    SamuelT
    Last edited by SamuelT; 10-22-2007 at 10:52 AM.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,800
    Assuming A3:BA3 contains just numbers or text as described then SUM is still adequate

    =SUM(A3:BA3)

+ 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