+ Reply to Thread
Results 1 to 3 of 3

SUMIF doesnt sum, where COUNTIF does count

  1. #1
    Registered User
    Join Date
    08-10-2010
    Location
    Prague
    MS-Off Ver
    Excel:Mac 2011
    Posts
    13

    SUMIF doesnt sum, where COUNTIF does count

    Hi,

    sheet 1, named INPUT:

    row C - times (in plain number format, i.e. 1500 for 15:00)
    row P - values i need to sum (numbers)
    row C - category (words)

    sheet 2, named STATS:

    I need to achieve a table where header looks like this:
    Header: Time From (H) / Time Till (I) / count / sum / volume per category A / volume in category B /
    Example: 1500 / 1530 / ??? / ??? / ??? / ???

    as for the count, I am doing alright by:
    Please Login or Register  to view this content.
    but the plain sum returns 0 when like this:
    Please Login or Register  to view this content.
    the first period where i only need one criteria works fine with:
    Please Login or Register  to view this content.

    What I ask for:
    It doesnt have to be achieved with SUMIF, I was wondering about SUMPRODUCT but I am not familier with it and it seems to me I am just missing a small syntax fix with the SUMIF formula.

    thanks,
    Jirka
    Last edited by jirib; 08-10-2010 at 04:12 PM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: SUMIF doesnt sum, where COUNTIF does count

    I haven't checked your formulas yet but at a glance, I think "=>" needs to be ">=" Same with =<
    Did that help?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    08-10-2010
    Location
    Prague
    MS-Off Ver
    Excel:Mac 2011
    Posts
    13

    Re: SUMIF doesnt sum, where COUNTIF does count

    Quote Originally Posted by ChemistB View Post
    ... "=>" needs to be ">=" Same with =<
    Did that help?
    Solved, thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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