+ Reply to Thread
Results 1 to 3 of 3

formula explanation ?

Hybrid View

  1. #1
    Registered User
    Join Date
    11-08-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    4

    formula explanation ?

    Hi

    I came across this formula {=SUM(B1:B5<>"")} in an excel model. Can someone please explain what it does.

    Thanks

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

    Re: formula explanation ?

    Absolutely nothing.

    This would count non-blank cells (comfirmed with ctrl+shift+enter):
    Formula: copy to clipboard
    =SUM(--(B1:B5<>""))


    But no need to use array function for that since you can simply use =COUNTA(B1:B5)

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: formula explanation ?

    Quote Originally Posted by stars View Post
    Hi

    I came across this formula {=SUM(B1:B5<>"")} in an excel model. Can someone please explain what it does.

    Thanks
    I don' see any logic in the above formula since sum doesn't consider the Text and Blank cells.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

+ 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