Hello,
I'm working on an spreadsheet where i want to filled values with dates and summarize it by specific dates.
For example (Example file attached):
In A column there will be dates: 1/1/2017, 1/2/2017, etc
In B column there will be values: 95, 72, etc
Now for the custom summarize function?
in M3 there will be FROM DATE value: 1/1/2017
In M4 there will be TO DATE value: 3/2/2017
In M5 there will be my function:
=SUMIFS(B:B,
A:A,">="&M3,
A:A,"<"&M4)
Until here, it's all good.
Problem is, i want to be able to tell my function to ignore this criteria in some cases. Like when i want summarize all values from 1/1/2017 until the end of time.
So i want to be able to write asterisk in TO DATE cell (M5) and the SUMIFS function will calculate that everything is earlier than * and summarize all values.
I know it can work with COUNTIFS function, but i can't get it work here.
And i don't want to nest IFS, because in the original worksheet i have many criteria, and i don't want to getting lost in 8 rows formula...
Do you have any idea what can i do?
Thank you
Bookmarks