formula that include variables to graph

bademployee

Board Regular
Joined
Aug 19, 2010
Messages
184
Hi all


I'm trying to come up with a suitable formula for the first cell for a 60 month period graph, according to input here:

input_zpsee3533db.jpg
[/IMG]




Number of contracts =J16*J11/(F21*N11)

Don't take any notice of the box labelled "Compound", this will apply from the 2 month period onwards, think I can work this out myself.

I got to: =SUM(B16*J11/(F21*N11))*(B6*F6*N11*B11*F11)-( need to subtract "MONTHLY WITHDRAWAL" if "MONTH TO START DRAWING" is greater than the row number the formula will live )

Basically want to plot the value after a months worth of trading according to the variables above.

Thanks for any help in advance

Mark
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
=SUM(B16*J11/(F21*N11))*(B6*F6*N11*B11*F11)-if(row()>MonthToStartDrawing,Monthly Withdrawal,0)

Row() will return the value of the row in which the formula resides. So, unless you're perfectly matched for rows/months, you'll need to do some minor maths against the value returned by Row() to deliver the desired number..

HTH,

slinky
 
Upvote 0
=SUM(B16*J11/(F21*N11))*(B6*F6*N11*B11*F11)-if(row()>MonthToStartDrawing,Monthly Withdrawal,0)

Row() will return the value of the row in which the formula resides. So, unless you're perfectly matched for rows/months, you'll need to do some minor maths against the value returned by Row() to deliver the desired number..

HTH,

slinky

Thanks Slinky
 
Upvote 0

Forum statistics

Threads
1,213,495
Messages
6,113,992
Members
448,538
Latest member
alex78

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