Formula help (lag cash pmnts based on various pmnt terms?)

ajmckenna

Board Regular
Joined
Oct 7, 2002
Messages
145
I have a P&L line item for an expense call it Myexpense by month on my P&L Spreadsheet.
There are different payment terms of this expense depending on which product I am working with, which will affect my cash flow P&L statment. I could use some help creating a formula that will work under these pmnt scenarios (I actually have 7 different pmnt terms to accomodate)
#1 net 30
#2 net 60
#3 staggered pmnt (i.e 25% net 30, 25% net 60, 50% net 90)

I added a column(column A) next to the cash statement for the MYexpense (row1) line item as the trigger code to determine which of the above to use
(i.e in cell A1. 1 means use net 30 , 2 means use net 60 etc)

I figured net 30 and 60 are easy to accomodate as follows (note column C= Jan etc used column F for April in formuala example below
=IF(OR(A1=1,A2=2),OFFSET('p&L'!F1,0,-A1))
now I need to add an if for pmnt terms #3 staggered pmnts as follows
=IF(OR(A1=1,A2=2),OFFSET('p&L'!F1,0,-A1),IF(A1=3,OFFSET('p&L'!F1,0,-3)*0.5+OFFSET('p&L'!F1,0,-2)*0.25+OFFSET('p&L'!F1,0,-1)*0.25,0))

I will have to add add'l pmtn term options (#4,#5etc & similar to #3) and formula may get large. I was hoping I could somehow create a table with all the info and have use a sumproduct formula somehow and will need to be able to copy formula across Any ideas?
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,215,730
Messages
6,126,529
Members
449,316
Latest member
sravya

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