Dynamic Average Formula Embedded in IF Statements - Finance Related Application

EvilBankster

New Member
Joined
Jun 6, 2011
Messages
6
So, I tried seeking help in my very first thread, but something tells me the title bored potential helpers. Here's the original thread:

http://www.mrexcel.com/forum/showthread.php?t=555178

And here's a summary of the problem:

I'm using an excel spreadsheet to help structure interest rate derivatives. I have run into an impenetrable problem. If you don't want to read the first thread, picture this:

Column A: represents the PPMT for a particular loan. These numbers will all be different and could be $0 if there is are X periods of interest only.

Column B: needs to be the average of every 12 corresponding cells in Column A (B1 maps to A1, etc), but if there are X periods of interest only, then the result needs to be $0 and average needs to begin at AX and map to BX, etc.

Right now, I'm using a MOD function to try and get the cells to average every 12 cells after all non-zero numbers but I can't make it work.

All help is appreciated. Images of the spreadsheet would probably help, but I can't figure out how to load/attach them.
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,224,608
Messages
6,179,872
Members
452,949
Latest member
Dupuhini

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