Formula/Solution for Summary Page

Lil Donnie

New Member
Joined
Mar 2, 2011
Messages
3
Hello,
I'm new to excel so my research has lead me to this site.
Love it! I've already learned so much but may be looking for more help.
I believe I am running 2007

I believe my ultimate goal is to have a summary sheet from the data I've put in from a different sheet although I've been having trouble finding the right function to use to populate the information.

I am looking for a formula that will count a specific amount of times a word or phrase occurs within a date range and if possible, a word or phrase from two different cells within a date range.

For Example:
"CarA" visited this track "x" amount of times in "January"

We have three cars that visit different tracks each month, I did have a separate sheet for each car for each month but I wanted to see if I could place all the data I have on one sheet and produce a summary for show.

Your help or suggestions is appreciated

Thanks
Lil Donnie
 
Last edited:

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Here is a small amount of data:
Raw.jpg


I would like to capture how many times each car/driver appeared at each track per month.

Summ.jpg


Thank you
 
Upvote 0
Maybe:
Excel Workbook
ABCDEFGH
1DateNameTrackDateDateNameTrack
21/1/2011Car 1Track 11/1/20111/31/2011Car 1Track 1
31/2/2011Car 3Track 3
41/3/2011Car 2Track 32003 or earlier2
51/4/2011Car 1Track 52007 or later2
61/5/2011Car 2Track 5
71/6/2011Car 1Track 1
82/1/2011Car 2Track 4
92/2/2011Car 2Track 4
102/3/2011Car 1Track 4
112/4/2011Car 3Track 1
122/5/2011Car 1Track 5
132/6/2011Car 3Track 1
...
Cell Formulas
RangeFormula
F2=EOMONTH(E2,0)
F4=SUMPRODUCT(--(A2:A13>=E2),--(A2:A13<=F2),--(B2:B13=G2),--(C2:C13=H2))
F5=COUNTIFS(A2:A13,">="&E2,A2:A13,"<="&F2,B2:B13,G2,C2:C13,H2)
 
Upvote 0
From post #2, with that data set, maybe try a PivotTable:

1) Click in data set
2) Alt + N + V + T + Enter (or other method to create PivotTable)
3) Drag Car/Driver field to row labels
4) Drag Track field to column label
5) Drag Track field to Values area
6) Drag Date to Row label
7) Right-click Date field in row label area and point to Group
8) Group by Month and Year, click OK
9) Drag Date Field to Report Filter Area
10) Then use the drop down arrow in Report Filter to show each month.
 
Upvote 0
PivotTable similar to MGirvin, but looks like your sample:

Car 1st in Row Labels
Track 2nd in Row Labels

Car also in Values (using COUNT)

Date in Column Labels & grouped by month & Collapsed (have to do this manually, or follow MGirvin's steps 6, 7 & 8 but drag to COLUMN Labels instead of Report Filter)

Remove Grand Totals for Rows & Columns if you don't want these.
 
Upvote 0
If you want formulas:
Excel Workbook
ABCDEFGH
1DateCarTrackDate
21/1/2011Car 1Track 11/1/2011Excel 2003 or earlier
31/2/2011Car 3Track 3Car 1Car 2Car 3
41/3/2011Car 2Track 3Track 1200
51/4/2011Car 1Track 5Track 2000
61/5/2011Car 2Track 5Track 3011
71/6/2011Car 1Track 1Track 4000
82/1/2011Car 2Track 4Track 5110
92/2/2011Car 2Track 4
102/3/2011Car 1Track 4Date
112/4/2011Car 3Track 11/1/2011Excel 2007 or later
122/5/2011Car 1Track 5Car 1Car 2Car 3
132/6/2011Car 3Track 1Track 1200
14Track 2000
15Track 3011
16Track 4000
17Track 5110
...




Formula in cell F4, then copied through table:

=SUMPRODUCT(--($A$2:$A$13>=$E$2),--($A$2:$A$13<=EOMONTH($E$2,0)),--($B$2:$B$13=F$3),--($C$2:$C$13=$E4))

if no EOMONTH:

=SUMPRODUCT(--($A$2:$A$13>=$E$2),--($A$2:$A$13<=DATE(YEAR($E$2),MONTH($E$2)+1,0)),--($B$2:$B$13=F$3),--($C$2:$C$13=$E4))

Formula in cell F13, then copied through table:

=COUNTIFS($A$2:$A$13,">="&$E$11,$A$2:$A$13,"<="&EOMONTH($E$11,0),$B$2:$B$13,F$12,$C$2:$C$13,$E13)
 
Upvote 0
This is fantastic, everything listed above worked out great when I tried it.

Thank you very much for everyone's help!
 
Upvote 0

Forum statistics

Threads
1,224,518
Messages
6,179,256
Members
452,901
Latest member
LisaGo

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