Excel 2007 / Sumproduct Help

cobra35y

New Member
Joined
May 27, 2010
Messages
8
Good day, I am using excel 07. I have a spreadsheet in which I have 3 columns that I need each row totaled from another sheet.
Situation: I need the total number of occurrences that "AT" appears on another sheet "sheet2" in column "B" within the designated rows "B3:B5000".
On "Sheet1" I have the reference date ranges in each row. The total occurrences will be in column "C" in which the cell "C1" has the referene text "AT*" that I need as the pre-text designator. The purpose in the asterisk * is to find all occurrences beginning with "AT" within each of the date ranges listed on "Sheet1" columns A and B.
Sheet1:
Column "A" header is "start date"
Column "B" header is "end date"
Column "C" header is "AT*"

Sheet2:
Column "B" header is "date Received" formatted as "6-Mar-11"
Column "C" header is "work order #" formatted as "general"

The workorder #'s consist of over 1000 rows each with different text/number combinations occurring on different dates. Example: "AV8654301", "AT8996532", etc...

On sheet 1 column "C" cells 1-52 equaling each date range total occurrences of "AT", etc...

Any help is appreciated.

This is one of the formulas I tried that works for obtaining the total number of rows occurring between dates.

=sumproduct(-('historical closed'!c3:c5000>b4), -('historical closed'!c3:c5000<c4))

Thanks in advance...
 
Last edited:

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)
Curious if this too complex? I have searched multiple sites the last few days have tried many combinations of formula with no success. I don't just post without researching my question in depth. I need help if anyone can take a try at this... I can post a sample if needed, however I am using my phone for the search.

Again thanks to everyone in advance for your help.
 
Upvote 0
Try using COUNTIFS, e.g. in C2 copied down

=COUNTIFS(Sheet2!B:B,">="&A2,Sheet2!B:B,"<="&B2,Sheet2!C:C,C$1)
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,762
Members
452,940
Latest member
rootytrip

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