+ Reply to Thread
Results 1 to 2 of 2

formula logic (sumproduct,countif)

  1. #1
    Registered User
    Join Date
    02-17-2006
    Location
    Birmingham, AL USA
    Posts
    4

    formula logic (sumproduct,countif)

    Can someone explain the logic in the formula below? I received it in the weekly excel tip email, I use it, it works, but I don't understand it.

    SUMPRODUCT((E9:E210<>"")/COUNTIF(E9:E210,E9:E210&""))

    I use it to count the number of unique three letter (text) location codes in the range E9:E210.

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,196
    Quote Originally Posted by TROBFP
    Can someone explain the logic in the formula below? I received it in the weekly excel tip email, I use it, it works, but I don't understand it.

    SUMPRODUCT((E9:E210<>"")/COUNTIF(E9:E210,E9:E210&""))

    I use it to count the number of unique three letter (text) location codes in the range E9:E210.
    Hi,

    the best explanation is shown as Example 6 in http://www.xldynamic.com/source/xld.SUMPRODUCT.html
    which shows the lead-up formulae to this.

    hth
    ---
    Si fractum non sit, noli id reficere.

+ 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