Calculate number of days remaining but dont count on Sundays

sahar_sultana

New Member
Joined
Apr 1, 2009
Messages
2
Hi,
A1, B1, C1 and D1 are cell in Excel worksheet and values are 2, 4 and 6 in A1, b1 and c1 respectively.
A1 value is 2
B1 value is 4
C1 values is 6 --C1-Formula is: =sum(A1+B1)
Now I have written formula for D1-cell:
=SUM(C1/(32-DAY(TODAY()+31)-4))
Note: I substracted -4 in above formula because there are four sundays are in April, 2009 and I want to keep days only working days (Total days in April are 30 - sundays which are 4 = 26.)
This spreadsheet will divide c1/26 on Wed April 1, 2009 according to formula.
This spreadsheet will divide c1/25 on Thu April 2, 2009 according to formula.
This spreadsheet will divide c1/24 on Fri April 3, 2009 according to formula.
This spreadsheet will divide c1/23 on Sat April 4, 2009 according to formula.
This spreadsheet will divide c1/22 on Sun April 5, 2009 according to formula.
This spreadsheet will divide c1/21 on Mon April 6, 2009 according to formula.
The problem is in Sunday calculation because Sunday is a Holiday and on Sunday the formula should be same as Sat C/23. On Monday formula should be C1/22 because working day has been started. How can I avoid calculation on date on Sundays and ignore decrease number on sundays. At the end of month on April 30, 2009 the formula should be C1/1.

Please help in this situation/formula and advise about formula for cell-D4. Thanks.
 

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"
if your only pronlem is to find number of sundays in a month for e.g. january 2009m a number of formulas are availbale if your serarch in google with key words

"number of sundays in a month excel"
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,694
Members
448,979
Latest member
DET4492

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