Excel formula to add with conditions

baidya91

Board Regular
Joined
Jun 1, 2016
Messages
147
Please tell me an excel formula to add in following manner:

If a1 = 1640, a2 = a1+65, a3=a2+65, a4=a3+65, a5=a4+65, a6=a5+65 until it reaches 2095
then a7=a6+80.........until it reaches 3135
then next cell=the previous result+100...................until it reaches 3635
 

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.
Ugly way...
Excel Workbook
A
11640
21705
31770
41835
51900
61965
72030
82095
92175
102255
112335
122415
132495
142575
152655
162735
172815
182895
192975
203055
213135
223235
233335
243435
253535
Sheet2
 
Last edited:
Upvote 0
=if(a1<2095,min(2095,sum(a1+65)),if(a1<3135,min(3135,sum(a1+80)),if(a1<3635,min(3635,sum(a1+100)),"")))
 
Upvote 0

Forum statistics

Threads
1,223,723
Messages
6,174,122
Members
452,545
Latest member
boybenqn

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