How to calculate the number of Fridays so far this year...?

CatMadJulie

New Member
Joined
Apr 19, 2005
Messages
4
Hi,

I always struggle with dates and I'm having difficulty working out how many Fridays there are to date in the current year.

I have a weekly paying tenant who regularly skips payments (due on Fridays) and then sometimes pays extra to catch up but I'm always having to calculate the arrears and chase up when it falls behind. It would be great if I could have a formula to count how many rent due days there have been so far to date this year so I can then multiply that by the weekly rental amount and compare that against the rent payments actually received. Any help would be much appreciated.
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
[Table="width:, class:grid"][tr][td="bgcolor:#C0C0C0"][/td][td="bgcolor:#C0C0C0"]
A​
[/td][td="bgcolor:#C0C0C0"]
B​
[/td][td="bgcolor:#C0C0C0"]
C​
[/td][td="bgcolor:#C0C0C0"]
D​
[/td][/tr][tr][td="bgcolor:#C0C0C0"]
1​
[/td][td="bgcolor:#F3F3F3"]
From
[/td][td="bgcolor:#F3F3F3"]
To
[/td][td="bgcolor:#F3F3F3"]
Fridays
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
2​
[/td][td]
Fri 01 Jan 2016​
[/td][td]
Sat 01 Oct 2016​
[/td][td="bgcolor:#E5E5E5"]
40​
[/td][td]C2: =SUM(INT((WEEKDAY(A2 - 6) + B2 - A2)/7))[/td][/tr]
[/table]
 
Last edited:
Upvote 0
another option


Excel 2010
AB
21-Jan-1640
1c
Cell Formulas
RangeFormula
B2=SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(A2&":"&TODAY())))=6))
 
Upvote 0
Here is a fully dynamic version

<table cellpadding="4px" border="1" cellspacing="1">
<tr><td bgcolor="#DFE3E8"></td><td align="center" width="168" bgcolor="#DFE3E8">F</td><td align="center" width="76.8" bgcolor="#DFE3E8">G</td></tr>
<tr><td bgcolor="#DFE3E8">26</td><td bgcolor="#FFFFFF">So far this year</td><td bgcolor="#FFFFFF">=NETWORKDAYS.INTL(DATE(YEAR(TODAY()),1,1),TODAY(),"1111011")</td></tr>
<tr><td colspan="3"></td></tr>
<tr><td colspan="3" bgcolor="#D7E7F9">Sheet1</td></tr>
</table>
 
Upvote 0

Forum statistics

Threads
1,223,714
Messages
6,174,051
Members
452,542
Latest member
Bricklin

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