Sum Range using a drop down menu

DavosCH32

New Member
Joined
Jun 27, 2014
Messages
11
I'm having a problem using the sumif formula with a drop down menu selection. I can easily get the cell value based on the drop down selection however I cannot sum the range of the cells. The Day range would be the drop down containing the last 7 days, the last 15 days, the last 30 days etc. Based on what was selected, I would need to sum that date and back. Any help would be much appreciated!

Day RangeDay Range% Total
last 15 daysCurrent day
8.8%​
1-3 days
37.9%​
Sum of Range4-7 days
12.9%​
65.2%​
8-15 days
5.6%​
16-30 days
3.7%​
31-60 days
4.6%​
61-90
1.7%​
91+
3.7%​
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Hi,

Are you willing to make some changes to your set up like below?
Split the "Day Range" to 2 columns using Numbers Only.
Change your "Drop Down" to Numbers Only.

Book3.xlsx
ABCDEF
1Day RangeDay Range FromTo # Days% Total
2last # of days1508.80%
31337.90%
4Sum of Range4712.90%
565.20%8155.60%
616303.70%
731604.60%
861901.70%
9913.70%
Sheet886
Cell Formulas
RangeFormula
B5B5=SUMIF(D2:D9,"<="&B2,F2:F9)
 
Upvote 0

Forum statistics

Threads
1,224,735
Messages
6,180,640
Members
452,992
Latest member
TokugawaIesuma

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