Summing equations

Lenboy

New Member
Joined
Dec 17, 2018
Messages
8
Office Version
  1. 2019
Platform
  1. Windows
I want to form a running sum of lognormal functions illustrated in the attached spreadsheet image.
Cell C4=$B$3*LOGNORM.DIST(C2-$B2,mu,sigma,FALSE)

D4=$B$3*LOGNORM.DIST(D2-$B2,mu,sigma,FALSE)+$C$3*LOGNORM.DIST(D2-$C2,mu,sigma,FALSE)

E4=$B$3*LOGNORM.DIST(E2-$B2,mu,sigma,FALSE)+$C$3*LOGNORM.DIST(E2-$C2,mu,sigma,FALSE)+$D$3*LOGNORM.DIST(E2-$D2,mu,sigma,FALSE)

and so on. Is there a neater way of carrying out this operation in cells F4, G4 etc without having a enter an increasingly longer expression?

Thanks

screen.jpg
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
ABCDEFGHIJ
1
2x012345678
3Coefficient439278563
4f(x)0.000.0040.0440.1420.3310.5810.8721.2121.573
5
6mu2.5
7sigma0.7
Sheet1
Cell Formulas
RangeFormula
C4:J4C4=SUM($B3:B3*LOGNORM.DIST(C2-$B2:B2,mu,sigma,))
Named Ranges
NameRefers ToCells
mu=Sheet1!$B$6C4:J4
sigma=Sheet1!$B$7C4:J4

I'm using Excel365. It should work in older versions if you array-enter the formula.
 
Upvote 0
Solution
Thanks Stephen - an elegant and perfect solution to my problem. I’m using Excel 2019 and just array-entered the formula.
Brian
 
Upvote 0

Forum statistics

Threads
1,215,016
Messages
6,122,700
Members
449,092
Latest member
snoom82

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