Date / Formula Help

Joneye

Well-known Member
Joined
May 28, 2010
Messages
785
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
  2. MacOS
Is there an easier way of doing this? Column D17 is my result and feeds of the data in column A with Column B showing how many trading days left in a financial year.

Im looking for one formula to complete this if possible?


<b>Excel 2003</b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #A6AAB6"><colgroup><col width="25px" style="background-color: #E0E0F0" /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: #E0E0F0;text-align: center;color: #161120"><th></th><th>A</th><th>B</th><th>C</th><th>D</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">1</td><td style=";">04/03/2011</td><td style=";">17</td><td style=";">todays Date</td><td style="text-align: right;;">04/03/2011</td></tr><tr ><td style="color: #161120;text-align: center;">2</td><td style=";">05/03/2011</td><td style=";">16</td><td style=";">Days Left</td><td style="text-align: right;;">17</td></tr><tr ><td style="color: #161120;text-align: center;">3</td><td style=";">06/03/2011</td><td style=";">16</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">4</td><td style=";">07/03/2011</td><td style=";">16</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">5</td><td style=";">08/03/2011</td><td style=";">15</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">6</td><td style=";">09/03/2011</td><td style=";">14</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">7</td><td style=";">10/03/2011</td><td style=";">13</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">8</td><td style=";">11/03/2011</td><td style=";">12</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">9</td><td style=";">12/03/2011</td><td style=";">11</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">10</td><td style=";">13/03/2011</td><td style=";">11</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">11</td><td style=";">14/03/2011</td><td style=";">11</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">12</td><td style=";">15/03/2011</td><td style=";">10</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">13</td><td style=";">16/03/2011</td><td style=";">9</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">14</td><td style=";">17/03/2011</td><td style=";">8</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">15</td><td style=";">18/03/2011</td><td style=";">7</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">16</td><td style=";">19/03/2011</td><td style=";">6</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">17</td><td style=";">20/03/2011</td><td style=";">6</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">18</td><td style=";">21/03/2011</td><td style=";">6</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">19</td><td style=";">22/03/2011</td><td style=";">5</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">20</td><td style=";">23/03/2011</td><td style=";">4</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">21</td><td style=";">24/03/2011</td><td style=";">3</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">22</td><td style=";">25/03/2011</td><td style=";">2</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">23</td><td style=";">26/03/2011</td><td style=";">1</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">24</td><td style=";">27/03/2011</td><td style=";">1</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">25</td><td style=";">28/03/2011</td><td style=";">1</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr></tbody></table><p style="width:3.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #A6AAB6;border-top:none;text-align: center;background-color: #E0E0F0;color: #161120">Sheet1</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: #FFFFFF" ><tr><td style="padding:6px" ><b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: #FFFFFF;border-collapse: collapse; border-color: #A6AAB6"><thead><tr style=" background-color: #E0E0F0;color: #161120"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">D1</th><td style="text-align:left">=TODAY(<font color="Blue"></font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">D2</th><td style="text-align:left">=LOOKUP(<font color="Blue">D1,A1:A25,B1:B25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B1</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A1,$A$25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B2</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A2,$A$25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B3</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A3,$A$25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B4</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A4,$A$25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B5</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A5,$A$25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B6</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A6,$A$25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B7</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A7,$A$25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B8</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A8,$A$25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B9</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A9,$A$25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B10</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A10,$A$25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B11</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A11,$A$25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B12</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A12,$A$25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B13</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A13,$A$25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B14</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A14,$A$25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B15</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A15,$A$25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B16</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A16,$A$25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B17</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A17,$A$25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B18</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A18,$A$25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B19</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A19,$A$25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B20</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A20,$A$25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B21</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A21,$A$25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B22</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A22,$A$25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B23</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A23,$A$25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B24</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A24,$A$25</font>)</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">B25</th><td style="text-align:left">=NETWORKDAYS(<font color="Blue">A25,$A$25</font>)</td></tr></tbody></table></td></tr></table><br />
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Many thanks, im kinda looking to not use the table and have one formula that uses today() and then my end date.
 
Upvote 0
Try

=NETWORKDAYS(TODAY(),DATE(2011,3,28))

If you want it to be dynamic so that after 28th March it starts counting down to 28th March 2012 then change to

=NETWORKDAYS(TODAY(),DATE(YEAR(TODAY()+278),3,28))

on 29th March that'll return 262
 
Upvote 0
Barry many thanks thats the gem,
 
Upvote 0

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

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