+ Reply to Thread
Results 1 to 8 of 8

SUMIFS - Not Working as I would like

Hybrid View

  1. #1
    Registered User
    Join Date
    10-08-2013
    Location
    UK
    MS-Off Ver
    Excel 2013
    Posts
    26

    SUMIFS - Not Working as I would like

    I am trying to use the SUMIFS function for the first time in Excel 2013.



    =SUMIFS(Sheet1!D3:D10,Sheet1!F3:F10,"=>Sheet2!B3",Sheet1!G3:G10,"<Sheet2!C3")




    SUMIFS.png




    Sum_range - This currently has 2 figures in, £75 and £7152. It associates to monthly income.

    Criteria_range1 - This is the start date as to when the monthly income starts. It has 2 dates 01/05/2013 & 13/09/2013

    Criteria1 - This points at a cell with the date 01/05/2013

    Criteria_range2 - This is the date when the monthly income ends. It has 2 dates in so far, 01/05/2010 & 14/09/2013.




    I would expect that in May 2013 it would calculate £75 and in September 2013 £75 + £7152. I have played around with the syntax but the result always ends in £0.00. What am I doing wrong?




    Thank you in advance for your help.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: SUMIFS - Not Working as I would like

    hard to tell what the result should be from the picture as we can not see the values on sheet2


    =SUMIFS(Sheet1!D3:D10,Sheet1!F3:F10,"=>" & Sheet2!B3",Sheet1!G3:G10,"<" & Sheet2!C3")

    your critera values are not correct
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: SUMIFS - Not Working as I would like

    welcome to the forum, Chris.Wiliams. minor change:
    =SUMIFS(Sheet1!D3:D10,Sheet1!F3:F10,">="&Sheet2!B3,Sheet1!G3:G10,"<"&Sheet2!C3)

    the operators (>=, <) should be separated from the cell references (Sheet2!B3, Sheet2!C3)
    otherwise, it will mean that you are searching for a text that looks like this:
    =>Sheet2!B3

    the other thing is that the greater than sign or less than sign should be before the equals sign. if it doesn't work, I suggest you upload an Excel file in the thread. To do that, Click on GO ADVANCED and use the paperclip icon to open the upload window.
    View Pic
    and to illustrate your example better, click on How To Get Quick & Good Answers

    Edit:
    @AndyPope
    think you overlooked this part:
    =SUMIFS(Sheet1!D3:D10,Sheet1!F3:F10,"=>" & Sheet2!B3",Sheet1!G3:G10,"<" & Sheet2!C3")


    and also, Chris:
    http://answers.microsoft.com/en-us/o...5-2d1d54c89511
    do take note about cross-posting
    Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.
    Last edited by benishiryo; 10-08-2013 at 06:48 AM.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    Registered User
    Join Date
    10-08-2013
    Location
    UK
    MS-Off Ver
    Excel 2013
    Posts
    26

    Re: SUMIFS - Not Working as I would like

    Book2.xlsxBook2.xlsx
    Quote Originally Posted by benishiryo View Post
    welcome to the forum, Chris.Wiliams. minor change:
    =SUMIFS(Sheet1!D3:D10,Sheet1!F3:F10,">="&Sheet2!B3,Sheet1!G3:G10,"<"&Sheet2!C3)

    the operators (>=, <) should be separated from the cell references (Sheet2!B3, Sheet2!C3)
    otherwise, it will mean that you are searching for a text that looks like this:
    =>Sheet2!B3

    the other thing is that the greater than sign or less than sign should be before the equals sign. if it doesn't work, I suggest you upload an Excel file in the thread. To do that, Click on GO ADVANCED and use the paperclip icon to open the upload window.
    View Pic
    and to illustrate your example better, click on How To Get Quick & Good Answers

    Edit:
    @AndyPope
    think you overlooked this part:
    =SUMIFS(Sheet1!D3:D10,Sheet1!F3:F10,"=>" & Sheet2!B3",Sheet1!G3:G10,"<" & Sheet2!C3")


    and also, Chris:
    http://answers.microsoft.com/en-us/o...5-2d1d54c89511
    do take note about cross-posting
    Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.
    Thank you very much for your help. I am now getting figures in the selected cells, but not the correct figures that I am looking for.

    Sheet 1 - This is where I am starting to list our customers and the jobs that we are doing for them. Some jobs are 1 time jobs, others are invoiced monthly. Customer 2 Had a 1 time job for a new server and their monthly support was reduced by £35 at the end of May 2013. All this info is entered manually.

    Sheet 2 - I want sheet 2 to be fully automated as I make amendments to sheet1. I want the revenue column (Sheet 2 D:D) to be able to look at sheet 1 and include the revenue for all jobs (Sheet1 D:D) which took place during the month. So cell (Sheet2 D3)should include all revenue in column (Sheet1 D:D) as long as 01/05/2013 falls in between the start date and end date in columns (Sheet1 F:F) and (Sheet1 G:G). Once I have got the correct SUMIFS function for cell D3 on Sheet 2 I am pretty confident that I will be able to complete the workbook comfortably.

    I hope I have explained it clearly enough, thanks in advance for your help.

    Regards,

    Chris

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: SUMIFS - Not Working as I would like

    I also left the trailing quotes in there, so my bad.

    =SUMIFS(Sheet1!D3:D10,Sheet1!F3:F10,"=>" & Sheet2!B3",Sheet1!G3:G10,"<" & Sheet2!C3")

  6. #6
    Registered User
    Join Date
    10-08-2013
    Location
    UK
    MS-Off Ver
    Excel 2013
    Posts
    26

    Re: SUMIFS - Not Working as I would like

    Thanks guys, that seems to have done the trick. Much appreciated, my apologies for crossposting without reference

  7. #7
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: SUMIFS - Not Working as I would like

    =SUMIFS(Sheet1!$D$3:$D$999,Sheet1!$F$3:$F$999,"<="&Sheet2!C3,Sheet1!$G$3:$G$999,">="&Sheet2!B3)

  8. #8
    Registered User
    Join Date
    10-08-2013
    Location
    UK
    MS-Off Ver
    Excel 2013
    Posts
    26

    Thumbs up Re: SUMIFS - Not Working as I would like

    Quote Originally Posted by Andy Pope View Post
    =SUMIFS(Sheet1!$D$3:$D$999,Sheet1!$F$3:$F$999,"<="&Sheet2!C3,Sheet1!$G$3:$G$999,">="&Sheet2!B3)
    Brilliant. Your a star

    Many thanks

+ 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. sumifs not working
    By amartino44 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-07-2013, 08:31 PM
  2. [SOLVED] sumifs not working quite right
    By benoj2005 in forum Excel General
    Replies: 13
    Last Post: 09-19-2012, 10:41 AM
  3. Excel 2007 : SUMIFS not working completely
    By bjstaten in forum Excel General
    Replies: 2
    Last Post: 01-14-2012, 12:03 PM
  4. sumifs with dates not working
    By paualou76 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-30-2011, 08:33 PM
  5. Sumifs formula not working
    By todd.graff@gmail.com in forum Excel General
    Replies: 6
    Last Post: 09-21-2009, 02:26 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