What formula can i have to get this

mahmed1

Well-known Member
Joined
Mar 28, 2009
Messages
2,302
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi

Say i had a start state and balance of 1000 i needed to pay and i was paying 200

I want a formula that will list me the dates of when this will be paid till based on weekly, fortnighly and monthly payments. Thank You

So the results should look like this


Monthly
01/01/2014
01/02/2014
01/03/2014
01/04/2014
01/05/2014

Weekly
01/01/2014
08/01/2014
15/01/2014
22/01/2014
29/01/2014
Fortnightly
01/01/2014
15/01/2014
29/01/2014
12/02/2014
26/02/2014

<colgroup><col></colgroup><tbody>
</tbody>
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Like this, format B7:D7 as dates and copy down.

<b>Sheet1</b><br /><br /><table border="1" cellspacing="0" cellpadding="0" style="font-family:Calibri,Arial; font-size:11pt; background-color:#ffffff; padding-left:2pt; padding-right:2pt; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:145px;" /><col style="width:92px;" /><col style="width:91px;" /><col style="width:75px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td >A</td><td >B</td><td >C</td><td >D</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >1</td><td >Balance</td><td style="text-align:right; "> $        1,000.00 </td><td > </td><td > </td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >2</td><td >Amount of Payment</td><td style="text-align:right; "> $           200.00 </td><td > </td><td > </td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >3</td><td ># of Payments:</td><td style="text-align:right; ">5</td><td > </td><td > </td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >4</td><td >1st Payment Date</td><td style="text-align:right; ">1/1/2014</td><td > </td><td > </td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >5</td><td > </td><td > </td><td > </td><td > </td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >6</td><td > </td><td >Monthly</td><td >Weekly</td><td >Fortnightly</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >7</td><td > </td><td style="text-align:right; ">01/01/2014</td><td style="text-align:right; ">01/01/2014</td><td style="text-align:right; ">01/01/2014</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >8</td><td > </td><td style="text-align:right; ">01/02/2014</td><td style="text-align:right; ">08/01/2014</td><td style="text-align:right; ">15/01/2014</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >9</td><td > </td><td style="text-align:right; ">01/03/2014</td><td style="text-align:right; ">15/01/2014</td><td style="text-align:right; ">29/01/2014</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >10</td><td > </td><td style="text-align:right; ">01/04/2014</td><td style="text-align:right; ">22/01/2014</td><td style="text-align:right; ">12/02/2014</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >11</td><td > </td><td style="text-align:right; ">01/05/2014</td><td style="text-align:right; ">29/01/2014</td><td style="text-align:right; ">26/02/2014</td></tr></table><br /><table style="font-family:Arial; font-size:10pt; border-style: groove ;border-color:#00ff00;background-color:#fffcf9; color:#000000; "><tr><td ><b>Spreadsheet Formulas</b></td></tr><tr><td ><table border = "1" cellspacing="0" cellpadding="2" style="font-family:Arial; font-size:9pt;"><tr style="background-color:#cacaca; font-size:10pt;"><td >Cell</td><td >Formula</td></tr><tr><td >B7</td><td >=IF(ROWS<span style=' color:008000; '>($A$1:A1)</span><=$B$3,EDATE<span style=' color:008000; '>($B$4,ROWS<span style=' color:#0000ff; '>($A$1:A1)</span>-1)</span>,"")</td></tr><tr><td >C7</td><td >=IF(ROWS<span style=' color:008000; '>($A$1:A1)</span><=$B$3,$B$4+<span style=' color:008000; '>(ROWS<span style=' color:#0000ff; '>($A$1:A1)</span>-1)</span>*7,"")</td></tr><tr><td >D7</td><td >=IF(ROWS<span style=' color:008000; '>($A$1:A1)</span><=$B$3,$B$4+<span style=' color:008000; '>(ROWS<span style=' color:#0000ff; '>($A$1:A1)</span>-1)</span>*14,"")</td></tr></table></td></tr></table> <br /><br /><span style="font-family:Arial; font-size:9pt; font-weight:bold;background-color:#ffffff; color:#000000; ">Excel tables to the web >> </span>
 
Upvote 0
Thank You, i managed to do it in 1 formula

Is there any way this code be done differently. shorter, different functions like choose, lookup etc?

I am trying to see other ways to get the same results as this will help me learning other functions and maybe shorter aswel

Thank You
 
Upvote 0
Thank You, i managed to do it in 1 formula

Is there any way this code be done differently. shorter, different functions like choose, lookup etc?

I am trying to see other ways to get the same results as this will help me learning other functions and maybe shorter aswel

Thank You
This is not greatly different but you may want to consider it.

Formula in B7 is copied across
Formulas in row 8 are copied down.

Excel Workbook
ABCD
1Balance1,000.00
2Amount of Payment200
3
41st Payment Date1/01/14
5
6MonthlyWeeklyFortnightly
71/01/141/01/141/01/14
81/02/148/01/1415/01/14
91/03/1415/01/1429/01/14
101/04/1422/01/1412/02/14
111/05/1429/01/1426/02/14
12
13
Payment dates
 
Upvote 0

Forum statistics

Threads
1,216,129
Messages
6,129,051
Members
449,484
Latest member
khairianr

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