+ Reply to Thread
Results 1 to 2 of 2

Simple formula MAJOR headache.

Hybrid View

  1. #1
    Registered User
    Join Date
    04-23-2008
    Posts
    1

    Simple formula MAJOR headache.

    Example:
    I have 3 columns and 11400 rows.
    (columns names)homelang, cid, dcid
    (data)
    98, 101832111, 101832
    1, 101832111, 101832
    1, 101831666, 101831
    98, 101832111, 101832

    dcid uses =LEFT(K2, 6) to take off the last 3 digits of cid.

    I want to count how many non 98 in homelang there are in dcid 1018321
    This is what I tried
    {=SUM((H2:H36<>"98")*(K2:K36="1018321"))}

    The correct answer for the above data would be 1.

    Please help. I am going excel CrAzY.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Should the 98 be in quotes... probably not if it an actual number...

    Try also:

    =SUMPRODUCT((H2:H36<>98)*(K2:K36="1018321"))

    Entered only with ENTER key.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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