Number of Sundays between dates

chandrashekar

Well-known Member
Joined
Jul 15, 2005
Messages
529
Office Version
  1. 365
Platform
  1. Windows
Hello Team,

How to know number of Sundays between dates using formula

[TABLE="width: 297"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]SD[/TD]
[TD] ED[/TD]
[TD] No of Sundays[/TD]
[/TR]
[TR]
[TD="align: right"]4/6/2018 19:01[/TD]
[TD="align: right"]4/9/2018 23:01[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]4/1/2018 19:01[/TD]
[TD="align: right"]4/30/2018 22:01[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD="align: right"]4/6/2018 19:01[/TD]
[TD="align: right"]4/8/2018 21:01[/TD]
[TD="align: right"]1[/TD]
[/TR]
</tbody>[/TABLE]
Regards,

Chandru
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

Excel 2010
ABCD
1SDEDNo of Sundays
206-Apr-18 7:01 PM09-Apr-18 11:01 PM11
301-Apr-18 7:01 PM30-Apr-18 10:01 PM55
406-Apr-18 7:01 PM08-Apr-18 9:01 PM11
5
2a
Cell Formulas
RangeFormula
C2=NETWORKDAYS.INTL(A2,B2,"1111110")
D2=SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(INT(A2)&":"&INT(B2))))=1))
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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