+ Reply to Thread
Results 1 to 7 of 7

Trouble with simple sumif

  1. #1
    Forum Contributor
    Join Date
    06-10-2014
    Location
    UK
    MS-Off Ver
    2010
    Posts
    272

    Trouble with simple sumif

    Ok, I'm trying to do a simple sumif, and getting a result of zero which is incorrect

    for example : =SUMIF('QO'!F8:F1000,"*May*",'QO'!E8:E1000)

    F8:f1000 is formatted as ddd dd mmm

    E8:e100o is formatted as Number

    Any ideas ?


    thanks

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,459

    Re: Trouble with simple sumif

    Try with Sumproduct:

    =SUMPRODUCT((TEXT('QO'!F8:F1000,"mmm")="May")*'QO'!E8:E1000)
    Quang PT

  3. #3
    Forum Contributor
    Join Date
    09-18-2014
    Location
    Pakistan
    MS-Off Ver
    2013, 2016
    Posts
    283

    Re: Trouble with simple sumif

    Try This

    IF YOUR SHEET LIKE
    E8:E1000 = WHERE FROM YOU SUM
    F8:F1000 = RANGE FOR MATCH

    THEN

    =SUMIFS(E8:E1000,F8:F10000,">="&5/1/2015,F8:F10000,"<="&5/31/2015)

  4. #4
    Forum Contributor
    Join Date
    09-18-2014
    Location
    Pakistan
    MS-Off Ver
    2013, 2016
    Posts
    283

    Re: Trouble with simple sumif

    bebo021999
    IS ALSO RIGHT.

    Choose which is easy for you.

    If you have got your solution then Mark this thread as solved.

    And add reputation

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Trouble with simple sumif

    It doesn't matter how cells are formatted, what matters is what's in the cell. If column F does contain proper date numbers then maybe

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Rather than hard code the date yoo may prefer to put say 1/5/2014 in a cell named "MyDate" and then use

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  6. #6
    Forum Contributor
    Join Date
    06-10-2014
    Location
    UK
    MS-Off Ver
    2010
    Posts
    272

    Re: Trouble with simple sumif

    Than you all for the quick response.

    I have used the formula from bebo, which is working fine. thank you.

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Trouble with simple sumif

    This is a slightly different with the criteria for the dates:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    or using cell references with the dates in J7 and K7

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    )
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Trouble with Simple Array Formula
    By pugsly8422 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-09-2014, 02:57 PM
  2. Table issues, reverse lookup help with my workbook
    By chambersj in forum Excel General
    Replies: 3
    Last Post: 05-22-2012, 07:23 AM
  3. Excel 2007 : Trouble with a simple 'Sum' formula
    By EDtheROCKSTAR in forum Excel General
    Replies: 4
    Last Post: 08-12-2010, 12:30 PM
  4. [SOLVED] Simple Formula Trouble
    By FP Novice in forum Excel General
    Replies: 3
    Last Post: 08-04-2006, 10:20 AM
  5. [SOLVED] help with simple formula-trouble putting
    By Shooter in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM

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