Hi guys,
in attach a very simple file...
I need to sum the total of "Food" during March and during April.
The same for "Drinks"...
Any ideas?
thx in advance...
K.
Hi guys,
in attach a very simple file...
I need to sum the total of "Food" during March and during April.
The same for "Drinks"...
Any ideas?
thx in advance...
K.
hi unzmannn, welcome to the forum. try this in B8 & copy to C8:
=SUMPRODUCT(((TEXT($A$2:$A$5,"mmmm")=$A$7)+(TEXT($A$2:$A$5,"mmmm")=$A$8))*($B$2:$B$5=B$7)*($C$2:$C$5))
note that this ignores the year since A7 & A8 do not have it. also, both A7 & A8 must be months spelled in full.
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
Create a pivot table and group the dates by year and month. No formula required, just a few clicks. See attached.
regards, LMP
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks