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

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
A​
B​
C​
D​
1​
From
To
Fridays
2​
Fri 01 Jan 2016​
Sat 01 Oct 2016​
40​
C2: =SUM(INT((WEEKDAY(A2 - 6) + B2 - A2)/7))
 
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,214,920
Messages
6,122,269
Members
449,075
Latest member
staticfluids

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