Summing for Date Ranges

pdvsa

Board Regular
Joined
Apr 22, 2010
Messages
61
Office Version
  1. 365
Platform
  1. Windows
Hello Excel Guru's,

I cant seem to sum the costs associated with these date ranges.
Grateful for your assistance.

thank you in advance. There are 2 sheets. Please scroll down for the date ranges.
I have this in one sheet:
1/2/2020​
11/29/2030​
1/31/2026​
1/31/2046​
$ 2.00$ 6.00$ 8.00$ 10.00
Totals:
Pre FC Date?this would be a sum from Pre FC Date up to but not including Financial Close Date as found on the Key Dates sheet
Financial Close Date?this would be a sum from Financial Close Date up to but not including Construction End Date as found on the Key Dates sheet
Construction End Date?this would be a sum from Construction End Date up to but not including Operations End Date as found on the Key Dates sheet
Operations End Date?this would be a sum from Construction End Date up to Operations End Date as found on the Key Dates sheet


In the Key Dates Sheet:
Pre FC Date
1/1/2020​
Financial Close Date
11/30/2023​
Construction End Date
1/31/2026​
Operations End Date
1/31/2046​
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Hi,

Is 11/29/2030 in your First row correct?
As it's not in "sync" with the way you have all your other dates, which are in chronological order.
 
Upvote 0
Hi,

Is 11/29/2030 in your First row correct?
As it's not in "sync" with the way you have all your other dates, which are in chronological order.
Hi, actually it as not correct. I dont know how that happened. It was a copy and paste.
11/29/2030 =11/29/2023. The others are correct. Sorry about that. That is odd indeed.
 
Upvote 0
Ok,

See if this does what you want.
Add Sheet Name, Change/Adjust Cell references/Range as needed.

Book3.xlsx
ABCDEF
11/2/202011/29/20231/31/20261/31/2046
2$2.00$6.00$8.00$10.00
3
4Totals:
5Pre FC Date8this would be a sum from Pre FC Date up to but not including Financial Close Date as found on the Key Dates sheet
6Financial Close Date0this would be a sum from Financial Close Date up to but not including Construction End Date as found on the Key Dates sheet
7Construction End Date8this would be a sum from Construction End Date up to but not including Operations End Date as found on the Key Dates sheet
8Operations End Date18this would be a sum from Construction End Date up to Operations End Date as found on the Key Dates sheet
9
10
11Pre FC Date1/1/2020
12Financial Close Date11/30/2023
13Construction End Date1/31/2026
14Operations End Date1/31/2046
Sheet925
Cell Formulas
RangeFormula
B5:B7B5=SUMIFS(C$2:F$2,C$1:F$1,">="&B11,C$1:F$1,"<"&B12)
B8B8=SUMIFS(C$2:F$2,C$1:F$1,">="&B13,C$1:F$1,"<="&B14)
 
Upvote 0
Dont have Excel at the moment, so UNTESTED
Excel Formula:
=SUMIFS(C4:F4,C3:F3,"> "&Key Dates!B2,C3:F3,"< "&Key Dates!B3)
 
Upvote 0
Nice. Since I have the Key Dates in another sheet, I need to reference that sheet. when I do this, I get an excel msg box that it wants to open a file. Do you know how to change the formula to reference the dates on another sheet named "Key Dates"? I might need quotes or something like that around the name of the sheet. I am not sure though. Appreciate your expert assistance.
 
Upvote 0
Not sure if you're talking to me, or Michael.

Book3.xlsx
ABCDEF
11/2/202011/29/20231/31/20261/31/2046
2$2.00$6.00$8.00$10.00
3
4Totals:
5Pre FC Date8this would be a sum from Pre FC Date up to but not including Financial Close Date as found on the Key Dates sheet
6Financial Close Date0this would be a sum from Financial Close Date up to but not including Construction End Date as found on the Key Dates sheet
7Construction End Date8this would be a sum from Construction End Date up to but not including Operations End Date as found on the Key Dates sheet
8Operations End Date18this would be a sum from Construction End Date up to Operations End Date as found on the Key Dates sheet
Sheet925
Cell Formulas
RangeFormula
B5:B7B5=SUMIFS(C$2:F$2,C$1:F$1,">="&'Key Dates'!B1,C$1:F$1,"<"&'Key Dates'!B2)
B8B8=SUMIFS(C$2:F$2,C$1:F$1,">="&'Key Dates'!B3,C$1:F$1,"<="&'Key Dates'!B4)


Book3.xlsx
AB
1Pre FC Date1/1/2020
2Financial Close Date11/30/2023
3Construction End Date1/31/2026
4Operations End Date1/31/2046
Key Dates
 
Upvote 0
Not sure if you're talking to me, or Michael.

Book3.xlsx
ABCDEF
11/2/202011/29/20231/31/20261/31/2046
2$2.00$6.00$8.00$10.00
3
4Totals:
5Pre FC Date8this would be a sum from Pre FC Date up to but not including Financial Close Date as found on the Key Dates sheet
6Financial Close Date0this would be a sum from Financial Close Date up to but not including Construction End Date as found on the Key Dates sheet
7Construction End Date8this would be a sum from Construction End Date up to but not including Operations End Date as found on the Key Dates sheet
8Operations End Date18this would be a sum from Construction End Date up to Operations End Date as found on the Key Dates sheet
Sheet925
Cell Formulas
RangeFormula
B5:B7B5=SUMIFS(C$2:F$2,C$1:F$1,">="&'Key Dates'!B1,C$1:F$1,"<"&'Key Dates'!B2)
B8B8=SUMIFS(C$2:F$2,C$1:F$1,">="&'Key Dates'!B3,C$1:F$1,"<="&'Key Dates'!B4)


Book3.xlsx
AB
1Pre FC Date1/1/2020
2Financial Close Date11/30/2023
3Construction End Date1/31/2026
4Operations End Date1/31/2046
Key Dates
Great! I was trying double quotes. I see its a single. Thank you. Excellent.

i didnt see the response from Michael. Sorry about that Michael.
 
Upvote 0
You're welcome.

Please note. the formula for "Operations End Date" is slightly different than the other 3, which is just copied down.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,636
Latest member
laura12345

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