Sum with name criteria and date range>

destra1

New Member
Joined
Dec 28, 2005
Messages
3
Hi,
I am trying to create an array formula to sum totals if the name match criteria is met as well as being within certain dates.

=SUM(IF(G4:G10,"A26:A45",IF(C4:C10="Name",'F4:F10)))

G=date entered by user
A=My date list
C=Name of product
F=Dollar value (non constant)

Eg. I want to know the total dollars collected in a period of time for a given product. But with the above formaula I only get a zero return! Can anyone help me?!!!
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
As I ma at work, I am limited to do the add in for the HTML Maker to show you a copy of what I was looking for
 
Upvote 0
you should use sumproduct. Tips on sumproduct are all over this board.
 
Upvote 0
destra1 said:
As I ma at work, I am limited to do the add in for the HTML Maker to show you a copy of what I was looking for

When using HtmlMaker, one should not attempt to post as much data as possible. Rather, try to think in terms of a tiny sample that illustrates the problem you want solve. An example of how to go about it:

A1:A3 ==> Dan, Jon, Jon
B1:B3 ==> 5, 8, 9

Needed: Total for Jon, which is: 17.
 
Upvote 0

Forum statistics

Threads
1,214,639
Messages
6,120,679
Members
448,977
Latest member
dbonilla0331

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top