[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now


Excel SUMIF for specific dates.

Posted on 2013-12-13
Medium Priority
Last Modified: 2013-12-13
I have 2 columns of data. Dates and currency.
I need a formula that will look for a specific month and year  in the date range and then sum up corresponding currency values.

The issue i have is that the date is not plain text, it comes from another formula. The same goes for currency on one of my sheets. I have a few sheets for apply this to.

If I replace the date as actual date text I can make this work with SUMIF but when the date comes from another formula my end result is always $0.00

How to do I specify a range of dates and have it pass the date values instead of the formula that generated those dates?
I attached an example of what I want it to look like.
I'd like each formula to reference the year 2014 in the corner and the month JAN.... above.
The purpose of my report is to go through a list of all the support contracts we have and add up the ammounts for each month of the year.

Question by:baysysadmin
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
LVL 11

Accepted Solution

Angelp1ay earned 2000 total points
ID: 39717243
Check attachment :)


Open in new window


Author Comment

ID: 39717291
Great start but your formula has the same issue as mine.
It only works if the date is text. But mine comes form another formula which looks like this..


and returns a value of


 So how do we pass that value as date text?

Expert Comment

ID: 39717297
Maybe record a macro to copy the formula results into a separate list of values then work from there? (or is that infeasible?)

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.


Author Comment

ID: 39717307
This sheet will be used by few people, im trying to keep it as simple as possible with as few extra columns as possible.

I already have a separate summary list of these date which is made by the big formula above.
Id hate to make another list from my list.

Is there no way to change how it passes that date value?

Author Comment

ID: 39717391
Im not sure why but I got it working.
I changed the date range to a Named range and now number values add up.
I guess it doesnt like $I$12:$I$15 way of doing it.

ill do some more testing before closing the question.

Thanks for your help.
LVL 11

Expert Comment

ID: 39717422
All of my cells are dates. Sorry should have pointed out even the month headers are now dates (with custom formatting).

Author Comment

ID: 39717508
Yes i saw that and it worked for me with named ranges.

I am not having another issue.
We use Atlassian confluence, and after I embedd the excel all my numbers show as $0.00
I think confluence excel plug in cant render SUMIFS formulas.
Ive had this issue with other formulas and conditional formating.

Is there a different way of doing this, using some more legacy formulas?
LVL 11

Expert Comment

ID: 39717552
You could add a column to your second table that gives the first of that month.

Open in new window

Then you could use SUMIF instead of SUMIFS (because you just match with equal instead of in the range).

Author Comment

ID: 39717648
didnt work, so I tried it this way and it worked and embeded fine with confluence BUT it didnt work for those dates that came from a formula only text dates, even after using named ranges.


Turns out that some of the forumals in my date range return a "."
The reason i put a . is so I can see that there is a fromula there rather than having a blank cell.
so I changed the . to a 0 and now dates evalute fine using above formula.

Author Closing Comment

ID: 39717698
LVL 11

Expert Comment

ID: 39717805
Glad you found a way!

Featured Post

What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question