Need Combo Box to select calendar quarter and year

psulion01

Board Regular
Joined
Sep 25, 2002
Messages
127
I'm building a report and I want to allow the user to select the quarter and year from combo boxes. The selected values should then be used in my SUMPRODUCT calculations to filter the data/calculations based on date ranges.

For example:

User Selects '1st Quarter' and '2005' from the two combo boxes.

Based on this selection, I need to include only rows of data where my 'date' column is between 1/1/05 and 3/31/05.

Is there a clean way to do this so that I don't have SUMPRODUCT formulas for both that start and end date, i.e. SUMPRODUCT((StartDate>="01/01/05")*(EndDate<"04/01/05")*(Sales))

My formulas are getting really hard to read, and I know that what I'm doing is better suited for VB or Access, but I don't know how enough about either to accomplish the task.

If I can get the add-in installed on this computer I'll go ahead and post the sheet I'm working on. In the meantime, if anyone has any suggestions it would be greatly appreciated.

Thanks,
Mike
 

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)
Hopefully this will help everyone better understand what i'm trying to do... thanks in advance!

Basically, I want combo boxes that allow the user to select the quarter and year (along with region, which I have working correctly), and then have these dates used in my SUMPRODUCT calcs to filter the resulting data. Also, if I could clean up the SUMPRODUCT formulas a bit it would be helpful.

Thanks!
EFS Regional Scorecard.xls
BCDEF
6Quarter:2ndQuarterYear:2007
7
8
9
10TransactionVolume
11
12Q2'07Q2'07Q2'06Q2'06
13CountValueCountValue
14TypeA2$4,577,4284$11,854,560
15TypeB31$36,316,71315$21,806,212
16TypeC118$44,044,122134$100,774,038
17TypeD25$77,963,74541$37,559,934
18TypeE3$106,068,4383$3,088,167
19TypeF26$3,035,90832$13,877,139
20Other/Gift12$11,224,88111$6,360,862
21
22Total217$283,231,235240$195,320,912
Scorecard
 
Upvote 0

Forum statistics

Threads
1,221,846
Messages
6,162,378
Members
451,760
Latest member
samue Thon Ajaladin

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