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

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

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,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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