+ Reply to Thread
Results 1 to 4 of 4

Counting ammount of values within a range based on text

  1. #1
    Registered User
    Join Date
    08-07-2012
    Location
    Woodbridge, Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    2

    Counting ammount of values within a range based on text

    Overview
    Class Level 1-19 Level 20-29
    Amazon formula1 formula2
    Barbarian formula3 formula4
    Characters
    Class Level
    Amazon 15
    Barbarian 28
    Barbarian 23
    Amazon 21
    Barbarian 15

    Overview (end results)
    Class Level 1-19 Level 20-29
    Amazon 1 1
    Barbarian 1 2

    This is the formula I tried for the formula1, but no luck...
    Please Login or Register  to view this content.
    Last edited by nonterrorist; 08-07-2012 at 09:09 PM.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Counting ammount of values within a range based on text

    Hi

    Assuming that your data as above is in the range A1:B6, and the output table is in the range D1:F3 the
    E2: =SUMPRODUCT(--($A$2:$A$6=D2),--($B$2:$B$6<20))
    F2: =SUMPRODUCT(--($A$2:$A$6=D2),--($B$2:$B$6>=20))

    HTH

    rylo

  3. #3
    Registered User
    Join Date
    08-07-2012
    Location
    Woodbridge, Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Counting ammount of values within a range based on text

    Thank you, worked!
    Last edited by nonterrorist; 08-07-2012 at 09:08 PM.

  4. #4
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Counting ammount of values within a range based on text

    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

+ 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