Sum cells based on years in cells

Hydestone

Board Regular
Joined
Mar 29, 2010
Messages
137
Hi All:

I am trying to write a formula that sums up the values in columns I & J, if the date in column A falls with a particular year listed up in column G. Any ideas?

Solar Payback Calculator.xlsx
ABCDEFGHIJ
1System Size12.92kW DCavoided cost
2Total Cost25,866.672.002064242022
3Federal Incentive(8,000.00)check this2023
4State incentive(1,000.00)check this2024
5Other Incentive-2025
6Net Cost16,866.672026
7Savings to Date-2027
816,866.672028
9
10bill datenet usage (kWh)production (kWh)avoided (kWh)distribution ($/kWh)net meter ($/kWh)customer chargetotal billSMART creditavoided cost
119/1/2020889000.003410.000007.007.000.000.00
1210/1/2020773000.003410.000007.007.000.000.00
1311/1/2020869000.003410.000007.007.000.000.00
1412/1/20201,571000.003410.000007.007.000.000.00
151/1/20211,924000.003410.000007.007.000.000.00
162/1/20211,741000.003410.000007.007.000.000.00
173/1/20211,491000.003410.000007.007.000.000.00
184/1/20211,556000.003410.000007.007.000.000.00
195/1/20211,141000.003410.000007.007.000.000.00
206/1/20211,266000.003410.000007.007.000.000.00
217/1/2021872000.003410.000007.007.000.000.00
228/1/2021807000.003410.000007.007.000.000.00
239/9/2021994000.003410.233817.00239.410.000.00
2410/7/2021836000.003410.233827.00202.470.000.00
2511/8/20211,145000.003410.233817.00274.710.000.00
2612/9/20211,517000.003410.233827.00361.700.000.00
271/7/20221,533000.003410.244297.00381.500.000.00
282/8/20221,803000.003410.294517.00538.010.000.00
293/14/20221,544000.003410.294527.00461.740.000.00
304/7/20228791,0761,0760.003410.294527.00269.55(75.32)(316.90)
315/10/2022(54)1,1191,0650.003410.273337.00(4.13)(78.33)(291.10)
326/9/2022(686)1,5278410.003410.273477.00(177.73)(106.89)(229.99)
337/11/2022(520)1,4429220.003410.278447.00(134.64)(100.94)(256.72)
348/10/2022(256)1,4511,1950.003410.295477.00(64.57)(101.57)(353.09)
350000.000000.000000.000.000.000.00
360000.000000.000000.000.000.000.00
370000.000000.000000.000.000.000.00
380000.000000.000000.000.000.000.00
390000.000000.000000.000.000.000.00
400000.000000.000000.000.000.000.00
410000.000000.000000.000.000.000.00
420000.000000.000000.000.000.000.00
430000.000000.000000.000.000.000.00
440000.000000.000000.000.000.000.00
450000.000000.000000.000.000.000.00
460000.000000.000000.000.000.000.00
470000.000000.000000.000.000.000.00
480000.000000.000000.000.000.000.00
490000.000000.000000.000.000.000.00
500000.000000.000000.000.000.000.00
510000.000000.000000.000.000.000.00
520000.000000.000000.000.000.000.00
530000.000000.000000.000.000.000.00
54
55Warranty Information
56System Repairs20years
57Labor and Workmanship20years
58Solar panels12years
59Roof10years
60
61Estimated 1st year production10,818kWh
Sheet1
Cell Formulas
RangeFormula
D2D2=B2/(B1*1000)
B6B6=SUM(B2:B5)
B7B7=SUM(I36:J36)
B8B8=SUM(B6:B7)
H11:H53H11=G11+(D11*E11)+(B11*F11)
I11:I53I11=C11*-0.07
J11:J53J11=D11*-F11
F23F23=(239.41-7)/994
F24F24=(202.47-7)/836
F25F25=(274.71-7)/1145
F26F26=(361.7-7)/1517
F27F27=(381.5-7)/1533
F28F28=(538.01-7)/1803
F29F29=(461.74-7)/1544
F30F30=0.07056-0.00177+0.04437+0.00267+0.00341+0.0005+0.01714+0.15764
D11:D34D11=IF((B11>0),(C11),(B11+C11))
D35:D53D35=B35+C35
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B11:J53Cell Value=0textNO
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
trying to come up with a payback calculator. Any other sheet formulas or improvements would be appreciated!
 
Upvote 0

Forum statistics

Threads
1,214,943
Messages
6,122,370
Members
449,080
Latest member
Armadillos

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